Everything should be made as simple as possible, but not simpler. (Albert Einstein)
Showing posts with label chuck. Show all posts
Showing posts with label chuck. Show all posts

Friday, December 27, 2013

Basic Processing and Chuck Communication

A very basic example on how to establish communication between Processing and ChucK.
  • run oscProc.pde in Processing
  • run oscChuck.ck in ChucK
  • in the sketch, press "s" key to send message

Thursday, December 26, 2013

Fast Fourier Transform in ChucK to Get Spectrum

We can convert time domain to frequency domain by using Fast Fourier Transform, that's to calculate the discrete fourier transformation. http://chuck.cs.princeton.edu/doc/language/uana.html

This is the basic of finding the spectrum of an input signal, in this case I use a sinusoidal signal as example.
https://github.com/flyingdisc/music-chuck/tree/master/FFTSpectrum
This will display frequencies and power (in polar form of the complex number) at the FFT bin indices.

Tuesday, December 24, 2013

Electronics Music in ChucK

Following a course by CalArts ( instructors with their expertise on music and computer science: Ajay Kapur, Ge Wang and Perry R. Cook from Princeton ).
It uses ChucK programming language.

Sounds:
http://soundcloud.com/flyingdisc

Some ChucK codes:
https://github.com/flyingdisc/music-chuck

This is now in the Kadenze, as of 2015: ($600)
https://www.kadenze.com/courses/introduction-to-programming-for-musicians-and-digital-artists/info