Re: Voicenote - 3rd version - Can play wav files
El mié, 25-02-2009 a las 15:15 +0100, kimaidou escribió: > Hi list, > > I post here, again, to announce the release of the third version of > Voicenote. > Now > * you can play the wav files you have recorded with voicenote (or > other wav files) > * you go back the the 1st choice dialog (record or play?) after each > action. To quit the script, click on the Cancel button. > > The page to read for more detail : > http://wiki.openmoko.org/wiki/Voicenote > I put your code into a python script from this page : http://wiki.openmoko.org/wiki/GPS_Data_Logger ... > Kimaidou > ___ > 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: Voicenote - 3rd version - Can play wav files
El vie, 27-02-2009 a las 09:08 +0100, kimaidou escribió: > > @jorge : great news ! I have read to python code, and I don't see > where you specify the rate and quality of the recorded wav file ? begin cut & paste info def cbRecordStart(self, w): dbg("cbRecordStart") #os.system("arecord -r 8000 -c 1 -v -t wav `date +/home/root/rec-m-%Y%m%d%H%M%S.wav` &") os.system("arecord -D hw -f cd -v -r 8000 -t wav ~/voicenote_ $(date +%Y-%m-%d_%H-%M).wav &") os.system("alsactl -f /usr/share/openmoko/scenarios/voip-handset.state restore") def cbRecordStop(self, w): dbg("cbRecordStop") os.system("alsactl -f /usr/share/openmoko/scenarios/gsmhandset.state restore") os.system("killall -TERM arecord") end cut & paste info > Other question : have you followed the discussion to merge the 2 other > audio recording applications "Monologue" and "Dictator" ? > > Kimaidou > Note : English is not my native language ... ,be patient Some time ago I go to a small city of my country (vacations) . I plain to map this for openstreetmap .( there are a blank area) This city don't have good images from yahoo then I only can use gps traces from my Neo . I use voice recording for this job. When I return to home I join a lot o files and do the work. I can tell you some conclusions about using voice recording for mapping. 1) I drive my car and tap my Neo to set a POI ( point of intererest ) . But there is no map at all from the zone then I put a POI in ever cross of ways and I need to record (voice) the name of the streets and other info. This work needs a separate screen with only a big button because we can check the screen to often. 2) While I seting POIs tapping my neo I recording a big wav , but when I return to home I need to correlate this info with my GPS traces.Second recomendation : put full date and time to the filename of voice recording to better correlation including SECONDS. 3) I allway record my gps traces because I put this on inittab : gp2:2345:respawn:/usr/bin/cgpxlogger -i 1 > `date +/home/root/gps-%Y%m%d %H%M%S.gpx | tee /var/run/gpslog` But when I put all info into the openstreetmap editor (JOSM) the starting time from .gpx and .wav are different and I need to make adjustments . It's a lot more easy if we start at same time the recording of both info. I put a killall cgpxlogger when I start the recording of voice beacause in my config the process restart. 3b) additionally to previous recomendation if we don't have a GPS fix when we start to recording then we have problems later so check this before start an inform. I can check monologue because I make my try before but I like it. Saludos , Jorge ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Voicenote - 3rd version - Can play wav files
El vie, 27-02-2009 a las 10:12 -0200, Jorge Luis Chamorro escribió: . > > I can check monologue because I make my try before but I like it. > Errata : I can't check monologue because I make my trip before but I like it. > Saludos , Jorge > > > ___ > 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: Language of hardware keyboard
Helge Hafting escribió: Leonti Bielski wrote: Hello! Yesterday I tried to connect my hardware keyboard to Freerunner. I'm using SHR - testing and I used [1] to make it work. But the language of the keyboard is English. How do I change that? There are at least two ways: 1. Select a proper keyboard in /etc/X11/xorg.conf the file shoukld have a section like this for a Norwegian keyboard. For another language, replace "no" with whatever you need. Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "no" EndSection However, the FR ships without a xorg.conf file. So some experimentation is needed to see if it honors the file, and if you need to install extra keyboard files that not necessarily comes with the device. 2. Remap the keyboard using xmodmap The FR ships with xmodmap, so you can write a script that uses several xmodmap commands, one per key that differ from english layout. Then arrange so the script is executed whenever X starts on your freerunner. Helge Hafting With xmodmap : I configure the keyboard on my Desktop PC and run xmodmad -pke > keys-on-pc.txt and also run xmodmad -pke > keys-on-neo.txt on my neo. Then I put some info from keys-on-pc.txt to keys-on-neo.txt and create a modified version of keys-on-neo.txt So when I plug the external keyboard I run xmodmad keys-on-neo-modified.txt. If I put keys-on-pc.txt directly on Neo I have problems with some keys ( arrows ) Saludos , Jorge ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community