Recording audio

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Added Dictator link)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
== For the impatient ==
 
== For the impatient ==
  
Below is an alsa state file which can be used to put the device into voice recording mode.
+
In order to record audio you need a special alsa state file and we provide a link to one that works below (SHA1:55888a699e969c5e2c4690e6aff47ccad7ad0f3d). It can be used to put the device into voice recording mode.  
  
 
  alsactl -f [http://svn.arhuaco.org/svn/src/openmoko/misc-files/ALSA/voip-handset.state voip-handset.state] restore
 
  alsactl -f [http://svn.arhuaco.org/svn/src/openmoko/misc-files/ALSA/voip-handset.state voip-handset.state] restore
 
  arecord -D hw -f cd  -v -t wav rec-$(date +%Y-%m-%d-%H-%M).wav
 
  arecord -D hw -f cd  -v -t wav rec-$(date +%Y-%m-%d-%H-%M).wav
 +
 +
With these commands you should get a file in Waveform audio format (WAV) in the local directory.
  
 
== Applications that record audio ==
 
== Applications that record audio ==
Line 10: Line 12:
 
In alphabetical order.
 
In alphabetical order.
  
* http://wiki.openmoko.org/wiki/Guitartune
+
* [[Monologue]]
* http://wiki.openmoko.org/wiki/Voicenote
+
* [[Voicenote]]
 +
* [[Dictator]]
 +
 
 +
== Information for developers ==
 +
 
 +
Mixer settings for voice recording: It is required that DAI Mode (alsa control number 50) is "DAI 2". As of 23/Feb/2009 "DAI 1" mode is broken. Not all the DAI modes work and people are working on this.
  
== Hey, hey, here be dragons... I'm having lunch now.... ==
+
Here we have a list of relevant tickets that are open now:
  
Mixer settings for voice recording: It is required that DAI Mode (alsa control number 50) is "DAI 2". As of Feb/23 "DAI 1" is broken. Not all the DAI modes work and people are working on this (Check [https://docs.openmoko.org/trac/ticket/2073 #2073).
+
* [https://docs.openmoko.org/trac/ticket/2073 #2073]
  
 
[[Category:Audio]]
 
[[Category:Audio]]

Latest revision as of 23:04, 1 November 2010

[edit] For the impatient

In order to record audio you need a special alsa state file and we provide a link to one that works below (SHA1:55888a699e969c5e2c4690e6aff47ccad7ad0f3d). It can be used to put the device into voice recording mode.

alsactl -f voip-handset.state restore
arecord -D hw -f cd  -v -t wav rec-$(date +%Y-%m-%d-%H-%M).wav

With these commands you should get a file in Waveform audio format (WAV) in the local directory.

[edit] Applications that record audio

In alphabetical order.

[edit] Information for developers

Mixer settings for voice recording: It is required that DAI Mode (alsa control number 50) is "DAI 2". As of 23/Feb/2009 "DAI 1" mode is broken. Not all the DAI modes work and people are working on this.

Here we have a list of relevant tickets that are open now:

Personal tools

For the impatient

Below is an alsa state file which can be used to put the device into voice recording mode.

alsactl -f voip-handset.state restore
arecord -D hw -f cd  -v -t wav rec-$(date +%Y-%m-%d-%H-%M).wav

Applications that record audio

In alphabetical order.

Hey, hey, here be dragons... I'm having lunch now....

Mixer settings for voice recording: It is required that DAI Mode (alsa control number 50) is "DAI 2". As of Feb/23 "DAI 1" is broken. Not all the DAI modes work and people are working on this (Check [https://docs.openmoko.org/trac/ticket/2073 #2073).