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 | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
==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 | + | '''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.