[PD] Routing from tuner card into PD.

B. Bogart ben at ekran.org
Tue Aug 22 06:16:06 CEST 2006


ARG!!!!!!

That did it.

Damn, I would have never even considered that both those channels would
need to be marked.

So now I can get my tuner sound into PD!! woo hoo!

Thanks Claude.

I'm glad I don't have to buy a new soundcard just to do this part!

.b.

Claude Heiland-Allen wrote:
> Hi Ben,
> 
> alsamixer is a weird beast - let me describe how I set up to record from
> line input on my laptop, with onboard sound, starting from a totally
> muted alsamixer (haven't figured out how to load mixer settings on
> startup yet...).
> 
> 1:  start alsamixer in a terminal
> 2:  press F4 to go to the capture settings window
> 3:  select the line column and press space to enable capture
> 4:  select the capture column and press space to enable capture
> 5:  adjust the capture level, I record with Audacity as a level meter
> 
> The critical step on my system is enabling capturing on *both* the input
> I wish to capture *and* the column marked "Capture", otherwise only
> silence is recorded - it took me a long time to realize how it worked.
> 
> Hope this helps,
> 
> 
> Claude
> 
> 
> B. Bogart wrote:
> 
>> Hi Roman,
>>
>> Good news is that it looks like less and less of PDs problem, and more
>> and more alsa and/or the cheap onboard sound causing my problems.
>>
>> For example:
>>
>> Using gnomeradio I can listen to the radio on the tuner card. I can
>> control its volume using the "aux" capture channel. (The output of the
>> tuner card is connected to the "aux" on the sound board)
>>
>> Using gnome "CD player" I can hear the music from the dvdrom (which is
>> connected to the "CD" input on the sound board, right next to where the
>> tuner is connected). I can hear the CD player sound through the cards's
>> line out, even when all "capture" channels are muted!!! The "cd" input
>> in the mixer does not seem to have any effect when playing an audio cd
>> in the dvdrom.
>>
>> The kicker: I can't get gnusound or arecord to record anything on any
>> channel no matter what is marked as "capture" in the mixer. I can hear
>> the tuner output on "aux" but marking "aux" as "capture" and recording
>> gives me an empty sound-file.
>>
>> Comments on your suggestions:
>> #1. you can use a different device for input than for output right?
>> directly in PD or in jack it seems.
>>
>> #2. Yes I have a internal cable connecting the tuner to the sound-card.
>> and as you know I can't record on that channel, but I can hear what is
>> happening. FYI I can't record in gnomeradio either, just an empty
>> sound-file is what I get.
>>
>> #3. hmmm mplayer for just audio sounds awkward, I was barely able to get
>> mplayer to access the tv video on these cards already. Looks like
>> mplayer does not play with radio tuners, just video tuners.
>>
>> So any ALSA gurus out there have any ideas?
>>
>> One thing I did notice is that when mixing with the OSS drivers I can
>> only choose one capture device, but the alsamixer allows me to choose
>> multiple capture devices. I'm thinking this is a feature not a hint.
>>
>> Anyhow after more testing using OSS it seems to behave the same, the
>> only difference is that I can change the volume of the audiocd in dvdrom
>> playback, setting the "volume" capture device. I can't can't record the
>> sound I hear when I mark it for "capture".
>>
>> I guess I'll google for these cards not recording properly....
>>
>> time to upgrade to a new sound-card I guess, damn I'm running out of PCI
>> slots...
>>
>> Thanks for your help.
>>
>> .b.
>>
>> Roman Haefeli wrote:
>>
>>> i never tried it with radio, but with tv. there are actually at least
>>> three different approaches:
>>>
>>> 1. grab the sound directly from the tv-card with pd (the problem is that
>>> you may want a different output-card than input-card in pd. i don't know
>>> if this is possible)
>>>
>>> 2. often there is a cable between the audio-out of the tv-card and the
>>> built-in soundcard. you could grab the sound with pd from the soundcard
>>> by setting the according rec-input in 'alsamixer -V capture'.
>>> i must say, that i had no luck in finding it, so this approach didn't
>>> work for me.
>>>
>>> 3. let mplayer do all the dirty work. you need to run jack, then you can
>>> easily connect mplayer's output to pd's input. mplayer could be run in
>>> slave mode, so you can easily control it from pd. there is one problem
>>> with this approach (when doing video): since mplayer captures the video
>>> from the tv-card, you cannot capture it in pd/gridflow/pdp/gem.
>>>
>>> roman
>>>
>>>
>>>
>>>
>>> On Thu, 2006-08-17 at 17:29 -0700, B. Bogart wrote:
>>>
>>>> Hey all,
>>>>
>>>> Is/has anyone worked with those tv/radio tuner cards under linux?
>>>>
>>>> The idea is to use them to gather "found sounds" from the radio waves
>>>> and process them based on fitness (for example extracting human voice,
>>>> collecting individual words, etc..)
>>>>
>>>> #1. How can I tune the frequency from inside pd? (I suppose I could
>>>
>>> try
>>>
>>>> one of those cli utils and control it with shell, I guess there is no
>>>> external for tuning a radio card?)
>>>>
>>>> #2. How to get the radio into PD? There is a physical connection from
>>>> the tuner card to the aux of the mainboard (sound card) how can I get
>>>
>>> at
>>>
>>>> this "channel" from inside pd?
>>>>
>>>> I saw this post: anything anyone can add from further work?
>>>>
>>>> http://lists.puredata.info/pipermail/pd-list/2004-08/021717.html
>>>>
>>>> Thanks!
>>>> ..b..
>>>>
>>>> _______________________________________________
>>>> PD-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management ->
>>>
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>>
>>>        
>>> ___________________________________________________________
>>> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>>>
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
> 
> 





More information about the Pd-list mailing list