RSound icon indicating copy to clipboard operation
RSound copied to clipboard

Sound Recording on Non-default Device

Open lehitoskin opened this issue 10 years ago • 3 comments

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?

lehitoskin avatar Nov 16 '14 08:11 lehitoskin

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

jbclements avatar Nov 16 '14 18:11 jbclements

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

lehitoskin avatar Dec 10 '15 23:12 lehitoskin

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.

jbclements avatar Dec 11 '15 00:12 jbclements