[SLUG] alsa, jackd, recording radio, Amarok

2007-10-17 Thread Sonia Hamilton
I'm trying to record from a radio plugged in to the line-in jack on my
pc, whilst listening to music files playing on Amarok. To do this, I've
started playing with jackd, but whenever I start it up with 'jackd -d
alsa' I get errors: the playback device hw:0 is already in use.
Please stop the application using it and run JACK again. And if I start
up jackd, Amarok won't start - obviously both wanting to exclusive
control over alsa.

Can I use jackd at the same time as something like Amarok?

Is jackd the right way to do something like this?

(BTW, I can hear and toggle on/off sound input from both pcm (ie Amarok)
and line using alsactl. My sound devices are:

% cat /proc/asound/devices
  2:: timer
  3:: sequencer
  4: [ 0- 4]: digital audio playback
  5: [ 0- 3]: digital audio capture
  6: [ 0- 2]: digital audio capture
  7: [ 0- 1]: digital audio capture
  8: [ 0- 0]: digital audio playback
  9: [ 0- 0]: digital audio capture
 10: [ 0]   : control
-- 
Sonia Hamilton

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] alsa, jackd, recording radio, Amarok

2007-10-17 Thread Steve Lindsay
On 10/17/07, Sonia Hamilton [EMAIL PROTECTED] wrote:

 Can I use jackd at the same time as something like Amarok?


Don't know about amarok but.

- Aqualung (http://aqualung.sourceforge.net/) claims jack support,
never used it so I can't vouch for it's quality compared to Amarok (I
don't use amarok either :)
- Gstreamer can hook into Jack now, so I've had Banshee playing
through Jack (a bit of fiddling around though).

So it's possible to get a media player to output to Jack (which is
mostly used by the pro type apps, DAW's, midi sequencers etc.).
Assuming your card supports simultaneous capture/playback then you
should be able to record the radio at the same time as playing music
through your media player.

If you are using jack, I'd recommend using qjackctl to
start/stop/configure, it lets you hook apps up to each other and to
playback/capture devices using the mouse (so for example you'd connect
aqualung to the playback device, and jack time machine to the capture
device to record the radio).

CheersSteve
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html