Pisano mod 7 and 12 as 4th notes and triplet eigth notes respectively
Log in to post a comment.
// // Pisano mod 7 and 12 as 4th notes and triplet eigth notes respectively // Notes are descending and Pisano zero terms are taken as the tonic // // It doesn't sound... good. But spiralesque, and hypnotic // ditty.bpm = 60; fibo = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657]; p7notes = [12, 11, 9, 7, 5, 4, 2] // C to B descending (white keys), Pisano 0 is the tonic p12notes = [12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] // C to B descending, " p7notesasc = [0, 2, 4, 5, 7, 9, 11] // C to B ascending p12notesasc = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] // C to B ascending loop( () => { for (let i=0; i<24; i++) { sine.play(p12notes[fibo[i] % 12] + 48, { attack: 0.01, release: 0.25, duration: 0.125, pan: ((i + 1) / 24) * 2 - 1, amp: 1.0 }); if(i % 3 == 0){ sine.play(p7notes[fibo[i] % 7] + 36, { attack: 0.01, release: 0.25, duration: 0.375, pan: (25 - (i + 1) / 24) * 2 - 1, amp: 1.0 }); } sleep( tick_to_second(1 / 3)); } }, { name: 'Pisano 7 & 12' });