Talk:Neo 1973 audio subsystem

From Openmoko

Jump to: navigation, search

It is possible to do stereo recording? At least, there are unsoldered pin's for stereo microphone on PCB?

[jOERG 2009-02-23] There are two testpoints H-TP3001/2 or (on later PCB revisions) 2 pcs 0R resistors for LINE1/2 input.


Output at Headset and Speaker at the same time

Is it possible to output some audio stream on the headset and in case of an incoming call to (optionally) lower this output, and additionally output the ringtone on the stereo speaker? Or is this not possible due to hardware limits (guess this would require full-duplex output)?

Look at the block diagram for the wolfson codec. It looks like this is not possible. You could eventually do it by using a bluetooth a2dp headset or with some hacking with a bluetooth voice headset.
[jOERG 2009-02-23] output to headphones and speaker is mutually exclusive. See schematics p.6 "SPK LOCATION:41XX". When you switch to speaker mode, EP_R will be muted while EP_L gets signal intended for speaker. Both speaker (aka "stereo"speaker / sounder / speakerphone-out / ringer speaker) and headphones share same ADC and path incl level controls associated to LOUT1/ROUT1, so you can't operate them independently. Of course it's no problem to do any mangeling of audio like adding streams via ALSA DMIX plugin or leveling down some (MP3) audio stream by using ALSA softvol plugin, at digital side prior to DAC conversion.




Is it possible to: - record my sound from MIC , put it to a system audio_in, do some DSP on PCM data stream, then pass it to GSM_in (analog or digital whatever), and vice versa

- get analaog GSM_out (or prefered digital) in system as another audio_in (separate audio stereo channel - duplex prefered) do DSP on recorded PCM from GSM (for example modify) and get it out to speaker

I suppose that for full duplex this will require some audio subsystem that can have 2x in/out processing, unless there is some way to process each stereo channel for separate direction of communication ? will this require some soldering on board ?

[jOERG 2009-05-01] See http://people.openmoko.org/joerg/ALSA/doc/WM8753_control_diag__gsmhandset_tx+rx-processed.png It's done via left/right channel as you supposed

Personal tools