Showing posts with label music. Show all posts
Showing posts with label music. Show all posts

Monday, June 4, 2012

Beat Experimentation

I was reading about beats and interference, so I thought I'd try it out.

I created this infinite time loop program, and it plays around with beats. Try it out, it's pretty cool, and doesn't completely give you a headache.

Disclaimer: I owe most of the coolness of the output to the JCRev...


Friday, June 1, 2012

Songs for the keyboard piano

Twinkle Twinkle:

nnhhkkhffddaanhhhhffddahhffddannhhkkhffddaan

Ode To Joy:

ddfhhfdannaddaaddfhhfdannadann

Harry Potter:


dhgd;kgdhgagc

Thursday, May 31, 2012

Hardcoded class of musical notes

Here is a class I've written using the chart located on this page: http://www.zytrax.com/tech/audio/audio.html#notes. The explanation in the comments should hopefully be sufficient to understand how to use it. It should be helpful for anyone wanting to work with creating music in ChucK. I may in the future add some scales to it, but since there is such a wide variety
of scales available in music it would probably be more efficient for those to be added by the individual. For scales, using an array would probably be the best way to go. The code is below the jump.