Skip to content

Instantly share code, notes, and snippets.

View mikkel's full-sized avatar

mikkel mikkel

View GitHub Profile
@mikkel
mikkel / taint-dispatch.json
Created June 14, 2026 17:38
The Taint on Saidin - WoT/AI album dispatch config
{
"album": "the-taint-on-saidin",
"album_title": "The Taint on Saidin",
"voice_instruct": "A man in his mid-40s with a low, haunted voice. He speaks with the weight of someone who destroyed everything he loved and remembers every detail. Quiet authority that cracks into grief or barely-contained rage. Measured pacing with sudden intensity on key phrases. Think Leonard Cohen meets a war criminal giving final testimony. Not singing, rhythmic spoken-word with enough gravitas and pitch to feel musical.",
"genre_prompt": "dark cinematic industrial, haunted male vocals, heavy atmospheric synths, crushing bass, Nine Inch Nails meets Leonard Cohen meets Godspeed You Black Emperor, C minor, 68 BPM, epic and apocalyptic, spoken-word over dark orchestral-electronic production",
"bpm": 68,
"key_scale": "C minor",
"min_tts_duration": 150,
"tracks": [
{
@mikkel
mikkel / svgImage.js
Last active September 12, 2019 05:16
Import an SVG file into your DOM with React and ES6. Useful for manipulating internal path elements. Only use trusted sources.
var React = require('react');
class SvgImage extends React.Component {
constructor(props) {
super(props);
this.state = {};
}
componentDidMount() {
$.get(this.props.url, (svg) => {
this.setState({icon: svg.documentElement.outerHTML});
});