Editing ALARMED Commands List

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 18: Line 18:
  dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:http://www.bbc.co.uk/radio/listen/live/r1.asx > /dev/null
  dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:http://www.bbc.co.uk/radio/listen/live/r1.asx > /dev/null
-
 
-
==Internet Radio Alarm Clock using KMPlayer==
 
-
 
-
If you have KMPlayer installed, you may find it less prone to halting from buffering issues than the stock Media Player.  Add this as a Command Execution string in Alarmed to play an internet radio stream's URL (in this case, the stream for WCLV):
 
-
 
-
/opt/kmplayer/bin/kmplayer http://auggie.wclv.com/wclvmp3
 
-
 
-
==Set Speaker Volume==
 
-
 
-
You may want to set the speaker volume to a certain level before starting an internet radio station.  50 in the command below sets the volume level to 50%, replace 50 with whatever % volume is desired (0 - 99).
 
-
 
-
dbus-send --type=method_call --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.extension.set_extension_property string:volume variant:uint32:50
 
==Play a sound file==
==Play a sound file==
Line 35: Line 23:
This uses the play-sound command to play a sound file.
This uses the play-sound command to play a sound file.
-
'''Important note:  play-sound always plays a sound file at full volume, regardless of the volume set by command or by use of the volume rocker.'''  Therefore it is essential when calling a file with play-sound to be sure the file is recorded at the volume that is desired for playback.  Typical sound files will be at the level of 0 or -3 dB attenuation, which can blow speakers at full volume.  If you call a sound file with play-sound, it's best to make a new copy of the file at much lower volume using sound editing software such as GoldWave (or audacity on Linux+Mac+Windows, or 'sox' on the command line for any of those systems with "-v <ratio>" option)
+
'''Important note:  play-sound always plays a sound file at full volume, regardless of the use of the volume rocker.'''  Therefore it is essential when calling a file with play-sound to be sure the file is recorded at the volume that is desired for playback.  Typical sound files will be at the level of 0 or -3 dB attenuation, which can blow speakers at full volume.  If you call a sound file with play-sound, it's best to make a new copy of the file at much lower volume using sound editing software such as GoldWave (or audacity on Linux+Mac+Windows, or 'sox' on the command line for any of those systems with "-v <ratio>" option)
  play-sound ''/path/filename.wav''
  play-sound ''/path/filename.wav''
[[Category:Beginners]]
[[Category:Beginners]]
[[Category:Software]]
[[Category:Software]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)