jbclements / RSound

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

Sound Recording on Non-default Device #16

Open lehitoskin opened 9 years ago

lehitoskin commented 9 years ago

I have many different devices listed when I run (display-device-table) and I have found my USB webcam, but it doesn't seem like (record-sound frames) is using the microphone, so I can only assume it isn't being detected as my default device. Is there a way for the library to choose a recording device from the displayed device table?

jbclements commented 9 years ago

Yep, should be possible... need to add code for it, though. It's a feature request. Keep bugging me!

lehitoskin commented 8 years ago

@jbclements Has there been any progress on this? Perhaps I could help in some way.

jbclements commented 8 years ago

Well, let's ...

okay, an hour passed between those last three dots and here; I've just disappeared down into the rabbit-hole surrounding Portaudio issues and cleanup. Ugh.

It still doesn't look too hard. We'd start by generalizing devices.rkt a bit, to build parallel structure for input devices. Then, we'd probably add a parameter to allow selecting an input device. I just can't stand how crashy this is on Windows.