OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Sound Input And Output And Debian Eabi, Ham-Radio on Zaurus
radiochickenwax
post Sep 11 2008, 12:42 AM
Post #16





Group: Members
Posts: 158
Joined: 21-November 04
Member No.: 5,548



Found a 2.5mm -> 3.5mm plug laying around tonight. Recording worked okay by default, but I made the mistake of trying to "make it better", and broke the recording functionality with alsamixer.

Took me about an hour or so to get it back, and this page was one of the first to show up in my google search. For the record, as of now, I couldn't really find anything helpful on google, so I thought I'd post my settings below.

I'm using sox/rec/play for recording through a cell-phone microphone/headset. By default debian's precompiled "sox" won't record direct to mp3 I don't think... so I've started to rebuild that. ./configure shows that it can't find the "lame mp3 writer"... oh well, that's off-topic.


The alsamixer-controls:

Headphone 100 (just headphone volume, doesn't matter)
Headphone Playback ZC (00)
Bass0 <--------> 100 (doesn't matter)
Bass Boost (Adaptive Boost)
Bass Filter (200Hz)
Treble 100
Treble Cut-off (4kHz)
PCM 100
Mic Boost 100
Mono 100
Mono Mixer Left (0ff)
Mono Mixer Left Bypass (Off)
Mono Mixer Right Bypass (Off)
Mono Mixer Right Playback Switch (Off)
Mono Playback ZC (Off)
Playback 6dB Attenuate (Off)
Playback De-emphasis (44,1kHz)
Playback Invert (off)
===================
Capture 100 [[ NEEDS TO BE ENABLED WITH SPACE BAR TO RECORD ]]
===================
Capture 6dB Attenuate (Off)
Capture Polarity (Normal)
Capture ZC (Off)
3D 100
3D Lower Cut-off (200Hz)
3D Mode (Capture, Playback)
3D Upper Cut-off (1,5kHz, 2,2kHz)
ALC Capture Attack Time 60
ALC Capture Decay Time 60
ALC Capture Function (Off)
ALC Capture Hold Time 100
ALC Capture MAX 100
ALC Capture NG (on)
ALC Capture NG Threshold 90
ALC Capture NG Type (2,2kHz)
ALC Capture Target 100
ALC Capture ZC (On)
Bypass Left 100
Bypass Mono 100
Bypass Right 100
Differential Mux (Line1)
===================
Jack Function (Headset) [[ line/mic don't work for cell-phone headset ]]
===================
Left ADC 100
Left ADC Mux (Stereo)
Left Line Mux (Line 1)
Left Mixer (on)
Left Mixer Left Bypass (off)
Left Mixer Right Bypass (off)
Left Mixer Right Playback Switch (off)
Left PGA Mux (Line 1)
Out3 Mux (ROUT1)
Right ADC 90
Right ADC Mux (Stereo)
Right Line Mux (Line 1)
Right Mixer (on)
Right Mixer Left Bypass (Off)
Right Mixer Left Playback Switch (off)
Right Mixer Right Bypass (off)
Right PGA Mux (Line 1)
Right Speaker Playback invert (off)
Speaker 100
Speaker Function (Off) [ doesn't need to be ]
Speaker Playback ZC (on)
ZC Timeout (on)


I'm using "rec -r 24k -c 1 filename.aiff" to record an aiff sampled at 24kHz. The default of 8kHz is really poor quality haven't tried higher sample rates, 'cause I don't really need them yet.

It's late at night, so I could be wrong, but I think some of those switches will disable the recording; the bypasses can enable monitoring, but not sure if that works whilst recording. I didn't get the latter to work.

This is pretty much the first time I've managed to record audio since I was using the sharp rom, and this works a lot better.
Go to the top of the page
 
+Quote Post
speculatrix
post Sep 11 2008, 05:24 AM
Post #17





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(radiochickenwax @ Sep 11 2008, 09:42 AM) *
By default debian's precompiled "sox" won't record direct to mp3


debian is so dedicated to pure OSS that the mp3 codec isn't included because it requires a license from sisvel. none of the other distros take notice of that :-)

thanks for the useful info.
Go to the top of the page
 
+Quote Post
maemorandum
post Feb 26 2009, 10:08 AM
Post #18





Group: Members
Posts: 57
Joined: 12-March 08
From: North Pole
Member No.: 21,496



QUOTE(radiochickenwax @ Sep 11 2008, 09:42 AM) *
Found a 2.5mm -> 3.5mm plug laying around tonight. Recording worked okay by default, but I made the mistake of trying to "make it better", and broke the recording functionality with alsamixer.

Took me about an hour or so to get it back, and this page was one of the first to show up in my google search. For the record, as of now, I couldn't really find anything helpful on google, so I thought I'd post my settings below.

I'm using sox/rec/play for recording through a cell-phone microphone/headset. By default debian's precompiled "sox" won't record direct to mp3 I don't think... so I've started to rebuild that. ./configure shows that it can't find the "lame mp3 writer"... oh well, that's off-topic.


The alsamixer-controls:

Headphone 100 (just headphone volume, doesn't matter)
Headphone Playback ZC (00)
Bass0 <--------> 100 (doesn't matter)
Bass Boost (Adaptive Boost)
Bass Filter (200Hz)
Treble 100
Treble Cut-off (4kHz)
PCM 100
Mic Boost 100
Mono 100
Mono Mixer Left (0ff)
Mono Mixer Left Bypass (Off)
Mono Mixer Right Bypass (Off)
Mono Mixer Right Playback Switch (Off)
Mono Playback ZC (Off)
Playback 6dB Attenuate (Off)
Playback De-emphasis (44,1kHz)
Playback Invert (off)
===================
Capture 100 [[ NEEDS TO BE ENABLED WITH SPACE BAR TO RECORD ]]
===================
Capture 6dB Attenuate (Off)
Capture Polarity (Normal)
Capture ZC (Off)
3D 100
3D Lower Cut-off (200Hz)
3D Mode (Capture, Playback)
3D Upper Cut-off (1,5kHz, 2,2kHz)
ALC Capture Attack Time 60
ALC Capture Decay Time 60
ALC Capture Function (Off)
ALC Capture Hold Time 100
ALC Capture MAX 100
ALC Capture NG (on)
ALC Capture NG Threshold 90
ALC Capture NG Type (2,2kHz)
ALC Capture Target 100
ALC Capture ZC (On)
Bypass Left 100
Bypass Mono 100
Bypass Right 100
Differential Mux (Line1)
===================
Jack Function (Headset) [[ line/mic don't work for cell-phone headset ]]
===================
Left ADC 100
Left ADC Mux (Stereo)
Left Line Mux (Line 1)
Left Mixer (on)
Left Mixer Left Bypass (off)
Left Mixer Right Bypass (off)
Left Mixer Right Playback Switch (off)
Left PGA Mux (Line 1)
Out3 Mux (ROUT1)
Right ADC 90
Right ADC Mux (Stereo)
Right Line Mux (Line 1)
Right Mixer (on)
Right Mixer Left Bypass (Off)
Right Mixer Left Playback Switch (off)
Right Mixer Right Bypass (off)
Right PGA Mux (Line 1)
Right Speaker Playback invert (off)
Speaker 100
Speaker Function (Off) [ doesn't need to be ]
Speaker Playback ZC (on)
ZC Timeout (on)


I'm using "rec -r 24k -c 1 filename.aiff" to record an aiff sampled at 24kHz. The default of 8kHz is really poor quality haven't tried higher sample rates, 'cause I don't really need them yet.

It's late at night, so I could be wrong, but I think some of those switches will disable the recording; the bypasses can enable monitoring, but not sure if that works whilst recording. I didn't get the latter to work.

This is pretty much the first time I've managed to record audio since I was using the sharp rom, and this works a lot better.


Thank you, radiochickenwax

i tested your settings and had no problems recording voices.
Somehow it seems, that there might be a frequency-shift in the recordings.

Anyway i also tested another amateur-radio software called "gmfsk" over a mircophone/headphone.
It looks like that debian-eabi has performance-problems decoding the alsa-sound.
In the monitoring window all processes appear delayed.

So it seems, that there might be a disharmony between the sound-hardware and the system or the graphic.
A 400Mhz processor should not have any problems decoding a simple 50 baud rtty signal!

-------------------------------------------------------------------------------------------------------
Updated 03-04-2009:

I also tested fldigi, hamfax, acfax, gmfsk:
This slow processor and the lack of ram is the reason for the problems decoding hamradio-sounds.

-------------------------------------------------------------------------------------------------------
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 29th August 2014 - 06:17 AM