Voicenote

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Voicenote, small soft to record audio from mic into wav file)
 
m (Futur improvement / To do list)
Line 50: Line 50:
  
 
== Futur improvement / To do list ==
 
== Futur improvement / To do list ==
 +
* add the GPL license
 +
* add a README text file
 
* package it for debian
 
* package it for debian
 
* allow the user to choose the microphone source (headset or handset)
 
* allow the user to choose the microphone source (headset or handset)

Revision as of 15:15, 20 February 2009

This page is a draft description / to-do list for my 1st application "voicenote"

Contents

Voicenote

Voicenote.png

Presentation

Voicenote is a software which allows to record any sound from the microphone into a wav file. It is intended to be an easy and quick way to do so.

It is based on the arecord / aplay librairy and use the alsactl to change the audio scenario ( /usr/share/openmoko/scenarios/voip-handset.state restore is used)

Installation

OM / SHR

You need zenity to make it work. So to install it, you can do :

opkg install http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_2.20.1-r0_armv4t.ipk 
opkg install http://kimaidou.kilu.de/openmoko/voicenote/voicenote_0.1_arm.ipk

For SHR user, you might use the -force-depends option to avoid the error with gtk+fastscaling

Debian base distributions

I have not made a package yet. So if you want to try it, you have to use the script alone :

apt-get install zenity
cd ~
wget http://kimaidou.kilu.de/openmoko/voicenote/voicenote.sh
chmod +x voicenote.sh

To launch it, do

cd ~
./voicenote.sh

Using voicenote

  • Click on the desktop icon Voicenote.png called "Voicenote" to load the software
  • 1st window
Click Validate to start recording.
Then wait for the next window to start speaking

You validate then wait for the 2nd window to show up before talking to your phone

  • 2nd window:
Click Validate to STOP recording

Just click when you have recorded what you want

  • 3rd window:
Your voice-note has been recorded under the filename

It just confirms that the voice note has been recorded, and display the name of the file.

For now, the wav files are saved in the ~/ folder, with a "voicenote_" prefix and the date and time (YYYY-MM-DD_HH-MI)

For example: voicenote_2009-02-20_12-34.wav means a this voice note has been recorded at 12:34 the 20th of feb 2009.

Changelog

2009-02-19 - v0.1

initial version


Futur improvement / To do list

  • add the GPL license
  • add a README text file
  • package it for debian
  • allow the user to choose the microphone source (headset or handset)
  • config file to choose the target folder and the filename (+ other things)
  • find a solution to double the sound to the left side (it is now in mono, but only on the right)
  • propose an after (or real-time) ogg compression to save space. (any idea ?)
  • a front-end listing all the recorded voice notes, with a button to play one of them
  • more language
  • replace zenity by a real frontend ?
Personal tools

This page is a draft description / to-do list for my 1st application "voicenote"

Voicenote

Voicenote.png

Presentation

Voicenote is a software which allows to record any sound from the microphone into a wav file. It is intended to be an easy and quick way to do so.

It is based on the arecord / aplay librairy and use the alsactl to change the audio scenario ( /usr/share/openmoko/scenarios/voip-handset.state restore is used)

Installation

OM / SHR

You need zenity to make it work. So to install it, you can do :

opkg install http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_2.20.1-r0_armv4t.ipk 
opkg install http://kimaidou.kilu.de/openmoko/voicenote/voicenote_0.1_arm.ipk

For SHR user, you might use the -force-depends option to avoid the error with gtk+fastscaling

Debian base distributions

I have not made a package yet. So if you want to try it, you have to use the script alone :

apt-get install zenity
cd ~
wget http://kimaidou.kilu.de/openmoko/voicenote/voicenote.sh
chmod +x voicenote.sh

To launch it, do

cd ~
./voicenote.sh

Using voicenote

  • Click on the desktop icon Voicenote.png called "Voicenote" to load the software
  • 1st window
Click Validate to start recording.
Then wait for the next window to start speaking

You validate then wait for the 2nd window to show up before talking to your phone

  • 2nd window:
Click Validate to STOP recording

Just click when you have recorded what you want

  • 3rd window:
Your voice-note has been recorded under the filename

It just confirms that the voice note has been recorded, and display the name of the file.

For now, the wav files are saved in the ~/ folder, with a "voicenote_" prefix and the date and time (YYYY-MM-DD_HH-MI)

For example: voicenote_2009-02-20_12-34.wav means a this voice note has been recorded at 12:34 the 20th of feb 2009.

Changelog

2009-02-19 - v0.1

initial version


Futur improvement / To do list

  • package it for debian
  • allow the user to choose the microphone source (headset or handset)
  • config file to choose the target folder and the filename (+ other things)
  • find a solution to double the sound to the left side (it is now in mono, but only on the right)
  • propose an after (or real-time) ogg compression to save space. (any idea ?)
  • a front-end listing all the recorded voice notes, with a button to play one of them
  • more language
  • replace zenity by a real frontend ?