forked from KolibriOS/kolibrios
Andrew Dent
db1cb66d35
- Correct spellings for en_US. - Minimal tweaks for fluency. git-svn-id: svn://kolibrios.org@10047 a494cfbc-eb01-0410-851d-a64ba20cac60
29 lines
859 B
Plaintext
29 lines
859 B
Plaintext
PlayNote (release date 2020.05.17)
|
|
|
|
PlayNote is a program to play a note. Sound plays through a sound driver.
|
|
|
|
Usage: PlayNote <path>
|
|
path - path to a file to be played.
|
|
|
|
Examples:
|
|
PlayNote note.raw
|
|
PlayNote /tmp0/1/note.raw
|
|
|
|
===========================
|
|
To generate a note in a .wav format with a sox (to listening):
|
|
sox -n -L -c 1 -b 16 -r 48000 Note_C6.wav synth 1 sine 1046.4
|
|
To generate a note in a .raw format with a sox (to PlayNote):
|
|
sox -n -L -c 1 -b 16 -r 48000 Note_C6.raw synth 1 sine 1046.4
|
|
|
|
To install a sox in Ubuntu:
|
|
sudo apt install sox
|
|
===========================
|
|
|
|
//--------------------------------------//
|
|
The program:
|
|
- Compiled with KTCC compiler.
|
|
- Written in KolibriOS NB svn7768.
|
|
- Designed and written by JohnXenox
|
|
aka Aleksandr Igorevich.
|
|
//--------------------------------------//
|