Skip to content

Instantly share code, notes, and snippets.

View ltpour's full-sized avatar

ltpour

  • Finland
View GitHub Profile
@ltpour
ltpour / gist:665b34829284a8fb13cddf96fb88130b
Created February 1, 2026 02:15
Code Llama's vision for a twelve-tone composition in Csound
Here is an example of a simple twelve-tone composition written for Csound:
```
// Define the twelvths
a = 0.5 * sin(2 * pi * 1.0 / 12);
b = 0.5 * sin(2 * pi * 2.0 / 12);
c = 0.5 * sin(2 * pi * 3.0 / 12);
d = 0.5 * sin(2 * pi * 4.0 / 12);
e = 0.5 * sin(2 * pi * 5.0 / 12);
f = 0.5 * sin(2 * pi * 6.0 / 12);
g = 0.5 * sin(2 * pi * 7.0 / 12);