jbclements / RSound

A cross-platform sound library for DrRacket
http://www.brinckerhoff.org/clements
Other
45 stars 11 forks source link

record-sound optional amount of channels #17

Open lehitoskin opened 9 years ago

lehitoskin commented 9 years ago

I was considering appending this to #16, but I figured this is different enough to warrant a new issue.

Through uncouth means, I wrangled my webcam as the default recording device but now record-sound complains because it's trying to record with two channels and the webcam can only record with one channel.

Would you consider modifying record-sound to allow an optional amount of channels? Something like (record-sound frames [channels 2])?

jbclements commented 9 years ago

Ah! In fact, this is much harder, but I've already written this code. The problem is that it requires recompiling C code for Windows, and I keep messing it up, which makes my whole class weep. I'd be happy to publish it as a branch... in fact, I think it already is on a branch. After my class is done, in the second week of December, I expect to push this to the master branch.

lehitoskin commented 9 years ago

Ah, I see. Thanks for the info, I'll take a look around, then.

lehitoskin commented 9 years ago

@jbclements Is there an update on this? I'm still really interested in using this library. For science.