Skip to content

Instantly share code, notes, and snippets.

@eira-fransham
Created February 6, 2020 10:25
Show Gist options
  • Save eira-fransham/a8e5b6de935483a9930754d8db9b544b to your computer and use it in GitHub Desktop.
Save eira-fransham/a8e5b6de935483a9930754d8db9b544b to your computer and use it in GitHub Desktop.
def fn::61800aab { .. } -> { Output0 }:
%87fc4ed5: { Sine, Saw, Square } = Synth {
$Freq = 0.5Hz,
}
return {
Output0 = %87fc4ed5->Saw,
}
def fn::bbd34d0d { .. } -> { Output0 }:
%28796f51: { Output0 } = fn::61800aab { }
%8bd473b: { Sine, Saw, Square } = Synth {
$Freq = lerp(%28796f51->Output0, 220Hz..55Hz),
}
return {
Output0 = %8bd473b->Sine,
}
def fn::dab6374 { .. } -> { Output0 }:
%f1423eff: { Output0 } = fn::bbd34d0d { }
%e579844f: { Sine, Saw, Square } = Synth {
$Freq = lerp(%f1423eff->Output0, 440Hz..1760Hz),
}
return {
Output0 = %e579844f->Square,
}
def Main { OneChannel } -> { OneChannel }:
%bb1e147c: { Output0 } = fn::dab6374 { }
return {
OneChannel = %bb1e147c->Output0,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment