2020-05-17 22:07:05 +02:00
|
|
|
PlayNote (release date 2020.05.17)
|
|
|
|
|
2024-05-21 20:17:37 +02:00
|
|
|
PlayNote is a program to play a note. Sound plays through a sound driver.
|
2020-05-17 22:07:05 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
===========================
|
|
|
|
|
|
|
|
//--------------------------------------//
|
2024-05-21 20:17:37 +02:00
|
|
|
The program:
|
2020-05-17 22:07:05 +02:00
|
|
|
- Compiled with KTCC compiler.
|
|
|
|
- Written in KolibriOS NB svn7768.
|
|
|
|
- Designed and written by JohnXenox
|
|
|
|
aka Aleksandr Igorevich.
|
|
|
|
//--------------------------------------//
|