tidalcycles / Dirt

Experimental sample playback
GNU General Public License v3.0
85 stars 24 forks source link

Add -c/--channels option to enable multichannel mode #14

Closed munshkr closed 10 years ago

munshkr commented 10 years ago

Hallo, I added an additional command-line option to define the number of output channels. So the CHANNELS macro was removed, as this option replaces it.

Some statically defined arrays and structures are now defined dynamically, based on the number of channels specified, for example:

I checked with Valgrind for memory leaks or invalid reads. Also fixed an old leak related to sndfile and sample data allocation (there was an old TODO comment :)

munshkr commented 10 years ago

If this looks good to you, I'll update this page.

yaxu commented 10 years ago

Thanks!

munshkr commented 10 years ago

Are you sure? I didn't change the defaults, running ./dirt should work as always

yaxu commented 10 years ago

Ok sorry, tired..