Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. PlayNote (release date 2020.05.17)
  2.  
  3. PlayNote is a programme to play a note. Sound plays through a sound driver.
  4.  
  5. Usage: PlayNote <path>
  6.  path - path to a file to be played.
  7.  
  8. Examples:
  9.  PlayNote note.raw
  10.  PlayNote /tmp0/1/note.raw
  11.  
  12. ===========================
  13. To generate a note in a .wav format with a sox (to listening):
  14.  sox -n -L -c 1 -b 16 -r 48000 Note_C6.wav synth 1 sine 1046.4
  15. To generate a note in a .raw format with a sox (to PlayNote):
  16.  sox -n -L -c 1 -b 16 -r 48000 Note_C6.raw synth 1 sine 1046.4
  17.  
  18. To install a sox in Ubuntu:
  19.  sudo apt install sox
  20. ===========================
  21.  
  22. //--------------------------------------//
  23.   The programme:
  24.    - Compiled with KTCC compiler.
  25.    - Written in KolibriOS NB svn7768.
  26.    - Designed and written by JohnXenox
  27.      aka Aleksandr Igorevich.
  28. //--------------------------------------//
  29.  
  30.