ChucK and Pulseaudio (Ubuntu 10.04)
Hey guys. I've recently crafted some fun stuff with chuck and I'd like to make a recording of my desktop together with the sound I'm generating. I'm on Ubuntu, using gtk-recordmydesktop for this purpose and everything is fly until I try to capture the audio.... It seems that ChucK is not sending it directly to pulse, so when I try to record from it I get no sound. Notice that other apps, like my music player, do get recorded correctly. I'm using chuck-alsa, but I tried chuck-oss too with no success. I even tried chuck-jack and then things went pretty bad, but I suspect it's recordmydesktop fault. All in all I need some help here... is there a reason why chuck-alsa is not routing through pulse? Thanks in advance.
Lucas;
All in all I need some help here... is there a reason why chuck-alsa is not routing through pulse?
Probably :-) What is not clear to me though is that this is a ChucK issue. ChucK itself doesn't support PortAudio as such and I think few programs do. As I understand things PortAudio is meant to try to unify the rather baroque situation in Linux audio drivers and tries to catch and mix signals. ChucK doesn't send things directly to PortAudio (and we don't require it, probably partially because not everyone likes or uses PortAudio...) I don't know why PA fails to catch ChucK's signal or ChucK sends it in some uncatchable way. Likely this is the result of the used library (RTAudio). Of course as a answer that's no good to you (maybe others have better explanations?). Have you considered trying Jack for routing signals instead? Jack is meant for that; for routing and recording signals, and is quite good at it. You could also do it internally, by chucking the dac to WvOut and so having ChucK record all that ChucK does. That last option might be the most simple one. There is a example file that demonstrates this, have a look whether it suits your needs. Yours, Kas.
What is not clear to me though is that this is a ChucK issue.
Yeah, I'm pretty sure it's not a chuck issue per se.
You could also do it internally, by chucking the dac to WvOut and so having ChucK record all that ChucK does. That last option might be the most simple one. There is a example file that demonstrates this, have a look whether it suits your needs.
Recording the audio is not a problem, I know how to do it using ChucK. I really just wanted to get a video of my desktop with chuck running. An option would be recording audio and video separately and mixing them afterwards but that is not so nice and I'd like to avoid it. Anyway I know this is kind of a complex question... I'll try jack again later and report the results (if I come back alive :)
participants (2)
-
Kassen
-
Lucas Zawacki