Ok. thanks for your great help.
For now, I choose the simplicity and
* use the state files provided with the fr
* use the -D plughw:0,0 option to record only a mono file and use -r 8000 to
record at 8khZ
So my line becomes:
arecord -D plughw:0,0 -r 8000 $userfolder/$myname
This saves a lot of
Charles-Henri Gros charles-henri.gros+openm...@m4x.org writes:
arecord -D hw -f cd -v -t raw | speexenc --stereo --rate 44100 --16bit
--le - a.speex
Thanks. Speex would prefer 8, 16 or 32 Hz. Were you able to it to work with 32
Hz?
___
Openmoko
Hi guys
I have a question : why not just pass the good parameters to arecord so that
it recors in 8bit, Mono, 8kHz as :
arecord -D hw -f S16_LE -t wav -c 1 -r 8000 myfile.wav
Then we play it with aplay, and this way :
* no need for speex, so the app is more portable
* less job to do, so the app
kimaidou kimai...@gmail.com writes:
Then we play it with aplay, and this way :
* no need for speex, so the app is more portable
* less job to do, so the app consumes less battery
What do you think ?
But the quality is worse?
___
Openmoko
Hum, is it a question, or a statement ? I personally don't know. If it is
worse, is it much worse ? I recall this is to record voice, not a concerto.
So a phone quality is enough (from my point of view).
2009/2/22 Timo Juhani Lindfors timo.lindf...@iki.fi
kimaidou kimai...@gmail.com writes:
On Sat, Feb 21, 2009 at 11:40:18AM +0100, kimaidou wrote:
Hi !
I totally agree with you, i will implement this for the 0.2 version
For the mono thing, I would like it but I don't know yet how to do it. This
is why when you open a wav recorded file with audacity, you can see the 2
left and
On Sun, Feb 22, 2009 at 02:33:09PM +0100, Rask Ingemann Lambertsen wrote:
I have attached two state files,
this time around.
Btw, the state files have the speaker/headphone output and amplifier
turned on (controls 87 and 93) for ease of testing. Just turn them off if
you don't need
On Sun, Feb 22, 2009 at 01:30:52PM +0100, kimaidou wrote:
Hi guys
I have a question : why not just pass the good parameters to arecord so that
it recors in 8bit, Mono, 8kHz as :
arecord -D hw -f S16_LE -t wav -c 1 -r 8000 myfile.wav
$ arecord -D hw -f S16_LE -t wav -c 1 -r 8000 myfile.wav
Hi !
I totally agree with you, i will implement this for the 0.2 version
For the mono thing, I would like it but I don't know yet how to do it. This
is why when you open a wav recorded file with audacity, you can see the 2
left and right side, but only the right has data... This is not good. So
Try this:
arecord -D hw -f S16_LE -t wav -c 1 -r 8000 ~/rec-$(date
+%Y-%m-%d-%H-%M).wav
should work. -c is for the channels.
Matthias
kimaidou schrieb:
Hi !
I totally agree with you, i will implement this for the 0.2 version
For the mono thing, I would like it but I don't know yet how to
matthias matthiasfels...@web.de writes:
arecord -D hw -f S16_LE -t wav -c 1 -r 8000 ~/rec-$(date
+%Y-%m-%d-%H-%M).wav
How about using speex compression? I recorded a few words with
arecord -f S16_LE -r 44100 a.wav
and ended up with a 1089580-byte file.
speexenc a.wav a.speex
reduced the
Great idea !
Thanks for both of you, I will -soon- put this in the 0.2 version.
One question : on which package depends speexenc and speexdec ?
kimaidou
2009/2/21 Timo Juhani Lindfors timo.lindf...@iki.fi
matthias matthiasfels...@web.de writes:
arecord -D hw -f S16_LE -t wav -c 1 -r 8000
kimaidou kimai...@gmail.com writes:
One question : on which package depends speexenc and speexdec ?
$ find-package-by-file bin/speexenc
You have searched for paths that end with bin/speexenc in suite etch, all
sections, and all
/usr/bin/speexenc speex
You have searched for paths that end with
Timo Juhani Lindfors wrote:
matthias matthiasfels...@web.de writes:
arecord -D hw -f S16_LE -t wav -c 1 -r 8000 ~/rec-$(date
+%Y-%m-%d-%H-%M).wav
How about using speex compression? I recorded a few words with
arecord -f S16_LE -r 44100 a.wav
and ended up with a 1089580-byte file.
Charles-Henri Gros charles-henri.gros+openm...@m4x.org writes:
In this case I suggest using something like
arecord -f S16_LE -r 44100 | speexenc - a.speex
I was going to suggest it too but it does not work:
$ time arecord -f S16_LE -r 44100 | speexenc - a.speex
Recording WAVE 'stdin' : Signed
Timo Juhani Lindfors wrote:
Charles-Henri Gros charles-henri.gros+openm...@m4x.org writes:
In this case I suggest using something like
arecord -f S16_LE -r 44100 | speexenc - a.speex
I was going to suggest it too but it does not work:
I looked into it.
What I did to get it to work:
arecord
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Timo Juhani Lindfors ha scritto:
kimaidou kimai...@gmail.com writes:
arecord -D hw -f cd -v -t wav ~/rec-$(date +%Y-%m-%d-%H-%M).wav
Btw, it's useful to add GSM cell information and GPS location
information to the filename when it is
This is a great idea. I personnaly try to add data into OSM when I have
time. I will add this in high priority in my to-do list.
By the way, I create a package called voicenote, and:
a wiki page : http://wiki.openmoko.org/wiki/Voicenote
a opkg page : http://www.opkg.org/package_140.html
As you
kimaidou wrote:
I am answering myself here : I found the solution :you have to add a
at the end of the arecord line
So the file content is now :
#!/bin/bash
zenity --question --title=Voice-note --text=Click Validate to START
recording; gostart=$?
if [ $gostart = 1 ]
then
Thanks a lot for your comments . It is my first bash script, so I have a lot
to learn. I will integrate thoses changes !
2009/2/21 Charles-Henri Gros
charles-henri.gros+openm...@m4x.orgcharles-henri.gros%2bopenm...@m4x.org
kimaidou wrote:
I am answering myself here : I found the solution
Sorry I forgot the link to ecasound example page :
http://eca.cx/ecasound/Documentation/examples.html#rtrecording
2009/2/19 kimaidou kimai...@gmail.com
Hi community
I am running the Hackable1 , and try to find a lightweight and simple way
to record and play voice notes. I discovered ecasound
kimaidou kimai...@gmail.com writes:
*ecasound -i /dev/dsp -o mynotes.wav -c*
Pressing on t will start recording. When finished, press on s to stop
then q to quit.
/dev/dsp is OSS interface. Just use ALSA instead:
alsactl -f voip-handset.state restore
arecord -r 44100 -f S16_LE notes.wav
Hi both
Thanks for you replies. I dumly forgot to search for voice recording among
the wiki :(
Before I try it, could you please tell if the following order and commands
are ok (don't want to break my kernel**
cd /usr/share/openmoko/scenarios/
wget
2009/2/19 kimaidou kimai...@gmail.com
Hi community
I am running the Hackable1 , and try to find a lightweight and simple way
to record and play voice notes. I discovered ecasound via a google search.
(
Come back here to give some feedback :
1/ to restore one state file, you must specify the complete adress e.g.
alsactl -f /usr/share/openmoko/scenarios/gsmhandset.state restore
2/ I tried once to record via arecord and it worked (no sound because I have
not done the 1/ ). Then I killed it by
kimaidou kimai...@gmail.com writes:
wget http://wildsau.enemy.org/~moko/voice-recording.state
Do not use voice-recording.state if you don't want your kernel to
crash [1]. Use voip-handset.state
[1] http://docs.openmoko.org/trac/ticket//2073
___
kimaidou kimai...@gmail.com writes:
How can I de-busy the audio device ?
dmesg probably shows that your kernel OOPSed since hit
http://docs.openmoko.org/trac/ticket//2073
___
Openmoko community mailing list
community@lists.openmoko.org
On 2009.02.19.12.21, kimaidou wrote:
| not done the 1/ ). Then I killed it by CTRL+Z
CTRL+Z backgrounds the process, not freeing any resources. Go for CTRL+C
--Brock
___
Openmoko community mailing list
community@lists.openmoko.org
Hi All. My feedback : the process is working. Now I would like to create a
small bash + zenity tool. I need anyone's help to make it work.
For now, I have :
#!/bin/bash
zenity --question --title=Voice-note --text=Click Validate to START
recording; gostart=$?
if [ $gostart = 1 ]
then
I am answering myself here : I found the solution :you have to add a at
the end of the arecord line
So the file content is now :
#!/bin/bash
zenity --question --title=Voice-note --text=Click Validate to START
recording; gostart=$?
if [ $gostart = 1 ]
then
echo Operation canceled
kimaidou kimai...@gmail.com writes:
arecord -D hw -f cd -v -t wav ~/rec-$(date +%Y-%m-%d-%H-%M).wav
Btw, it's useful to add GSM cell information and GPS location
information to the filename when it is available.
___
Openmoko community mailing list
good idea. Btw, I have made an ipk and a debian tar file to install my
voicenote software.
I have other idea to implement but I will try to add these info if possible.
kimaidou
2009/2/19 Timo Juhani Lindfors timo.lindf...@iki.fi
kimaidou kimai...@gmail.com writes:
arecord -D hw -f cd -v -t
32 matches
Mail list logo