Skip to content

Java cell text midi player. 🎶🎶🎶🎶🎶🎶🎶🎶🎶🎶🎶🎶🎶

License

Notifications You must be signed in to change notification settings

Plasmoxy/Schmietnik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schmietnik java cell text midi player

amazing. 👏👏👏👏👏👏👏 c h e c c the release page for java binaries xD
version : v1.1 Lux

Usage

java -jar schmietnik.jar <file> <tempo>
  • file - name of file with cell data ( default = notes.txt )
  • tempo - tempo in BPM ( default = 80 )

Examples of usage :

java -jar schmietnik.jar harrypotter.txt 100
  • plays harrypotter.txt cell file with tempo 100
java -jar schmietnik.jar
  • plays notes.txt with default tempo

Cell file syntax

The cell files are designed to be symetrical, it is recommended to use monospace font when editing.
A song consists of at least one track, each track has at least one cell.
Each track is separated by newline, so one line per track.
Simultaneous note cells are separated by spaces.
Each cell consists of 3 characters :

  1. note letter ( CDEFGAB ), for empty note use -
  2. note shift ( # or b ), for no shift again just use -
  3. note octave -> 0 to 10, for tenth octave use letter A

You can also use the extender - ...
Extender extends the note after which it is written so it plays longer.
for example : C-4 ... ... ... will play C-4 for length of 4 cells.

Example :

C-4 ... D-4 --- Eb4 E#6
E-6 --- Bb0 ...

Also note that the code is poorly programmed so a lot of errors may appear but its still fun lol xD