View source for Voicenote

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to Voicenote.

Personal tools

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

Voicenote 0.4



Voicenote is a script which allows to record any sound from the microphone into a wav file. It can play the created files too. 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) .

It uses zenity as a basic graphical gui.



You need zenity and alsa-utils-aplay to make it work.


So to install it, you can do :

opkg install alsa-utils-aplay


You have to install some more librairies :

opkg -force-depends install


opkg install alsa-utils-aplay

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 alsa-utils-aplay
cd ~
chmod +x voicenote

To launch it, do

cd ~

Using voicenote

  • Just click on the desktop icon Voicenote.png called "Voicenote" to load the software
  • Then you have to choose between recording or playing a voice note (a wav file). When finished recording or playing, you go back to this first window. Click "Cancel" to quit the application.
  • For now the wav files are saved 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.


2009-03-09 - v0.4

  • Added the seconds to each wav file name, eg "voicenote_2009-02-20_12-34-58.wav"
  • Repackaged so that it is not broken in repository
  • Changed /usr/share/voicenote.desktop file = removed "Office" category, so that only one icon appears on the desktop

2009-02-25 - v0.3

  • Now you can play the wav files from Voicenote
  • You go back to the 1st choice window after recording or playing a file. To quit the software, click on the button "Cancel".

2009-02-24 - v0.2

2nd version:

  • GPL license added
  • the user can select the wave files destination folder at the first startup (and then modify it in the file ~/.voicenote/voicenote.cfg
  • the wave file is now recorded in mono at 8000 kHz (which saves a lot of CPU and bytes)
  • addition of comments in the script
  • the script is called "voicenote", and not anymore ""

2009-02-19 - v0.1

initial version

Future improvements / To do list

  • add the GPS date and time information (+/- latitude and longitude) so that each wav file can be used for OpenStreetMap mapping.
  • improve the quality of the sound
  • add a README text file
  • package it for debian
  • allow the user to choose the microphone source (headset or handset)
  • allow the user to choose the state file for playing the wave files.
  • enable job control (set -m in th script)
  • more language
  • replace zenity by a real frontend as EFL ?