Re: Record call.
I've had problems to record sound on SHR unstable for a couple of days. Thanks PaulFertser who helped a lot especially how to test compatibility. I just tried state files in dir /usr/share/shr/scenarii/, in stread of /usr/share/openmoko/scenarios/. # cd /usr/share/shr/scenarii # alsactl -f voip-handset.state restore # arecord -D hw -f cd -d 5 -t wav rec.wav # alsactl -f stereoout.state restore # aplay -t wav rec.wav It works like a charm (with a bit noise), with both built-in mic and Motorola A1200 headset :) -- mqy Ed Kapitein wrote: > > Hi all, > > I would like to automatically record each call i receive. > I did try to run arecord, but that doesn't record any sound (neo side or > other side) > I allready took a look at dictator, but that seems to be toying with the > state files, if i read the source code corectly ( probably not...) > > Is there a simple way to record an ongoing conversation? what would be > the input? can it be done with arecord (alsa)? > > Kind regards, > Ed > > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > > -- View this message in context: http://n2.nabble.com/Record-call.-tp3239280p3255030.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Record call.
On Mon, 2009-07-13 at 01:39 +0200, Rask Ingemann Lambertsen wrote: > On Fri, Jul 10, 2009 at 03:10:13PM +0200, David Fokkema wrote: > > > And, in addition, if this works, will it be able to pick up GSM buzz on > > the outgoing signal? Or is that really happening way after wolfson, > > inside, or even after calypso? Probably the latter... > >The buzz is present all the way from the mic, so it should be perfectly > possibly to record it. I've tried to do so but AFAIK not yet had GSM buzz. Ah, great! The thing is: with all the talk about buzz, bass, clipping due to alsa settings and stuff like that I always wonder: if it is possible to record it, why didn't someone put up some files so that you can really hear the difference between buzz, bass, background, clipping and all those things (including, of course, a best we can manage clear as a bell audio file). Maybe that'll end the confusion about whether alsa or the buzz fix will fix certain issues. Related: it appears that every freerunner is unique and needs it's own unique alsa settings. Why doesn't Nokia or Apple suffer from that? Those phones simply work out of the box, even after software upgrades. I'll try to answer my own question: those phones are unique as well (due to component tolerances), but are calibrated in the factory and the settings are preloaded in the phone somewhere software updates can't touch them (EPROM?). Thanks, David > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Record call.
On Fri, Jul 10, 2009 at 03:10:13PM +0200, David Fokkema wrote: > And, in addition, if this works, will it be able to pick up GSM buzz on > the outgoing signal? Or is that really happening way after wolfson, > inside, or even after calypso? Probably the latter... The buzz is present all the way from the mic, so it should be perfectly possibly to record it. I've tried to do so but AFAIK not yet had GSM buzz. -- Rask Ingemann Lambertsen Danish law requires addresses in e-mail to be logged and stored for a year ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Record call.
Try the state-file attached to this mail. You have to set these two switches to these values (even within the stat-file above, without these changes you will only record your own voice and not hear the other one): Capture Right Mux --> "PGA" Capture Left Mux --> "Line or RXP-RXN" Matthias Ed Kapitein schrieb: > Thanks Matthias, > > Seems like a fine solution to me, what switches are set to what value? > I would like to record both the incomming voice and my own voice. > Implementing this in a script seems not to difficult too. > > Kind regards, > Ed > > On Fri, 2009-07-10 at 15:15 +0200, Matthias Felsche wrote: > >> Actually Dictator does not manipulate any state-file. >> It provides its own. One for playing files that has been recorded, one for >> recording. >> It loads the recording-state and changes two switches, depending on what >> you'd like to record. >> It backups the previous state and reloads it when it is done. >> >> You have to change the state of alsa if you want to record a phonecall. I >> think there is no alternative! >> It's easier to do with a ready state-file than by manipulating every single >> switch! >> >> At all, if you want something working automatically, you just have to listen >> for incoming calls (via dbus?) and when one is coming, you have to start >> (e.g.) a script >> which loads a state with which you can record a call simultaneously and >> start arecord and end when you hang up. >> >> Matthias >> >> -Ursprüngliche Nachricht- >> Von: "The Digital Pioneer" >> Gesendet: 10.07.09 15:03:31 >> An: List for Openmoko community discussion >> Betreff: Re: Record call. >> >> I would think it would be easy, but given how many people have tried >> to do it and ended up with rather unsatisfactory solutions (sorry >> Dictator folks, but manipulating the statefiles just doesn't feel >> like a clean solution...), I think it is not as easy as it sounds. >> But then, what in the Freerunner is?... Apparently, no-one has >> figured out how to reliably do bluetooth calls yet either. :( >> >> Also beware, if you're in the US, it's illegal to record calls >> without warning the other party. >> ___ Openmoko community >> mailing list community@lists.openmoko.org http://lists.openmoko.org/ >> >> mailman/listinfo/community >> >> >> >> Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate >> für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/ >> >> >> ___ >> Openmoko community mailing list >> community@lists.openmoko.org >> http://lists.openmoko.org/mailman/listinfo/community >> >> > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > > state.neo1973gta02 { control.1 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 255' iface MIXER name 'PCM Volume' value.0 235 value.1 235 } control.2 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 255' iface MIXER name 'ADC Capture Volume' value.0 240 value.1 240 } control.3 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 127' iface MIXER name 'Headphone Playback Volume' value.0 127 value.1 127 } control.4 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 127' iface MIXER name 'Speaker Playback Volume' value.0 127 value.1 127 } control.5 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 127' iface MIXER name 'Mono Playback Volum
Re: Record call.
You can user siglaunchd for running your script on each incomming or outgoing call: http://wiki.openmoko.org/wiki/Siglaunchd It is very simple and made for :D 2009/7/10 Ed Kapitein > Thanks Matthias, > > Seems like a fine solution to me, what switches are set to what value? > I would like to record both the incomming voice and my own voice. > Implementing this in a script seems not to difficult too. > > Kind regards, > Ed > > On Fri, 2009-07-10 at 15:15 +0200, Matthias Felsche wrote: > > Actually Dictator does not manipulate any state-file. > > It provides its own. One for playing files that has been recorded, one > for recording. > > It loads the recording-state and changes two switches, depending on what > you'd like to record. > > It backups the previous state and reloads it when it is done. > > > > You have to change the state of alsa if you want to record a phonecall. I > think there is no alternative! > > It's easier to do with a ready state-file than by manipulating every > single switch! > > > > At all, if you want something working automatically, you just have to > listen for incoming calls (via dbus?) and when one is coming, you have to > start (e.g.) a script > > which loads a state with which you can record a call simultaneously and > start arecord and end when you hang up. > > > > Matthias > > > > -Ursprüngliche Nachricht----- > > Von: "The Digital Pioneer" > > Gesendet: 10.07.09 15:03:31 > > An: List for Openmoko community discussion > > > Betreff: Re: Record call. > > > > I would think it would be easy, but given how many people have tried > > to do it and ended up with rather unsatisfactory solutions (sorry > > Dictator folks, but manipulating the statefiles just doesn't feel > > like a clean solution...), I think it is not as easy as it sounds. > > But then, what in the Freerunner is?... Apparently, no-one has > > figured out how to reliably do bluetooth calls yet either. :( > > > > Also beware, if you're in the US, it's illegal to record calls > > without warning the other party. > > ___ Openmoko community > > mailing list community@lists.openmoko.org http://lists.openmoko.org/ > > > > mailman/listinfo/community > > > > > > > > Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate > > für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/ > > > > > > ___ > > Openmoko community mailing list > > community@lists.openmoko.org > > http://lists.openmoko.org/mailman/listinfo/community > > > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Record call.
Thanks Matthias, Seems like a fine solution to me, what switches are set to what value? I would like to record both the incomming voice and my own voice. Implementing this in a script seems not to difficult too. Kind regards, Ed On Fri, 2009-07-10 at 15:15 +0200, Matthias Felsche wrote: > Actually Dictator does not manipulate any state-file. > It provides its own. One for playing files that has been recorded, one for > recording. > It loads the recording-state and changes two switches, depending on what > you'd like to record. > It backups the previous state and reloads it when it is done. > > You have to change the state of alsa if you want to record a phonecall. I > think there is no alternative! > It's easier to do with a ready state-file than by manipulating every single > switch! > > At all, if you want something working automatically, you just have to listen > for incoming calls (via dbus?) and when one is coming, you have to start > (e.g.) a script > which loads a state with which you can record a call simultaneously and start > arecord and end when you hang up. > > Matthias > > -Ursprüngliche Nachricht- > Von: "The Digital Pioneer" > Gesendet: 10.07.09 15:03:31 > An: List for Openmoko community discussion > Betreff: Re: Record call. > > I would think it would be easy, but given how many people have tried > to do it and ended up with rather unsatisfactory solutions (sorry > Dictator folks, but manipulating the statefiles just doesn't feel > like a clean solution...), I think it is not as easy as it sounds. > But then, what in the Freerunner is?... Apparently, no-one has > figured out how to reliably do bluetooth calls yet either. :( > > Also beware, if you're in the US, it's illegal to record calls > without warning the other party. > ___ Openmoko community > mailing list community@lists.openmoko.org http://lists.openmoko.org/ > > mailman/listinfo/community > > > > Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate > für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/ > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Record call.
Actually Dictator does not manipulate any state-file. It provides its own. One for playing files that has been recorded, one for recording. It loads the recording-state and changes two switches, depending on what you'd like to record. It backups the previous state and reloads it when it is done. You have to change the state of alsa if you want to record a phonecall. I think there is no alternative! It's easier to do with a ready state-file than by manipulating every single switch! At all, if you want something working automatically, you just have to listen for incoming calls (via dbus?) and when one is coming, you have to start (e.g.) a script which loads a state with which you can record a call simultaneously and start arecord and end when you hang up. Matthias -Ursprüngliche Nachricht- Von: "The Digital Pioneer" Gesendet: 10.07.09 15:03:31 An: List for Openmoko community discussion Betreff: Re: Record call. I would think it would be easy, but given how many people have tried to do it and ended up with rather unsatisfactory solutions (sorry Dictator folks, but manipulating the statefiles just doesn't feel like a clean solution...), I think it is not as easy as it sounds. But then, what in the Freerunner is?... Apparently, no-one has figured out how to reliably do bluetooth calls yet either. :( Also beware, if you're in the US, it's illegal to record calls without warning the other party. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/ mailman/listinfo/community Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Record call.
On Fri, 2009-07-10 at 14:48 +0200, Ed Kapitein wrote: > Hi all, > > I would like to automatically record each call i receive. > I did try to run arecord, but that doesn't record any sound (neo side or > other side) > I allready took a look at dictator, but that seems to be toying with the > state files, if i read the source code corectly ( probably not...) > > Is there a simple way to record an ongoing conversation? what would be > the input? can it be done with arecord (alsa)? And, in addition, if this works, will it be able to pick up GSM buzz on the outgoing signal? Or is that really happening way after wolfson, inside, or even after calypso? Probably the latter... David ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Record call.
I would think it would be easy, but given how many people have tried to do it and ended up with rather unsatisfactory solutions (sorry Dictator folks, but manipulating the statefiles just doesn't feel like a clean solution...), I think it is not as easy as it sounds. But then, what in the Freerunner is?... Apparently, no-one has figured out how to reliably do bluetooth calls yet either. :( Also beware, if you're in the US, it's illegal to record calls without warning the other party. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Record call.
Hi all, I would like to automatically record each call i receive. I did try to run arecord, but that doesn't record any sound (neo side or other side) I allready took a look at dictator, but that seems to be toying with the state files, if i read the source code corectly ( probably not...) Is there a simple way to record an ongoing conversation? what would be the input? can it be done with arecord (alsa)? Kind regards, Ed ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community