|Phyks (Lucas Verney) a62759297c Live player in python added||6 years ago|
|Live player||6 years ago|
|examples||6 years ago|
|.gitignore||6 years ago|
|README.md||6 years ago|
|generateur.c||6 years ago|
|generateur_partition.py||6 years ago|
|makefile||6 years ago|
|wave_stuff.c||6 years ago|
|wave_stuff.h||6 years ago|
This is just a simple C code to handle wave files (see files wave_stuf.* for the functions) and a simple application to generate purely artificial sounds (just by creating a wave file with values from a sine wave at the good frequency to make a note).
The main program should be compiled using the makefile.
To use it, just run from command line :
./generateur.out options where
options are amongst :
This program allows you to write a simple music sheet without always looking for the correspondance between note and frequency. It is very basic and only allows you to use notes amongst :
or the english corresponding notations :
Length is any integer you want. It will define the length of the note (play with both length and bpm (during playback) params to get what you want).
You can use the -o (--output) option with a filename as argument to store the generated music sheet to this specific file.
I don't give a damn to anything you can do using this code. It would just be nice to quote where the original code comes from.
"THE NO-ALCOHOL BEER-WARE LICENSE" (Revision 42): Phyks (firstname.lastname@example.org) wrote this file. As long as you retain this notice you can do whatever you want with this stuff (and you can also do whatever you want with this stuff without retaining it, but that's not cool... :/ ). If we meet some day, and you think this stuff is worth it, you can buy me a <del>beer</del> soda in return. Phyks