chrislo / brain

Use a Raspberry Pi to control my "studio"
GNU General Public License v3.0
5 stars 0 forks source link

Handle stereo as well as mono samples #9

Closed chrislo closed 4 years ago

chrislo commented 4 years ago

The sampler will read all of the WAV files in the samples directory but doesn't check if they're 1- or 2-channel.

When I play a stereo sample the SC process gives the warning

Buffer UGen channel mismatch: expected 1, yet buffer has 2 channels

The sound plays (I think only out of one speaker), but it would be better to do the right thing!

chrislo commented 4 years ago

Closed with a7544f0 and 3ac8602.