Show HN: AtomicNote. A language for MIDI that uses decimal numbers as basis
I was having trouble making a non-chromatic scale with the current midi due to all the halfstep calculations. Why should the programmer have to worry about those things? Instead of 24,26,28,29,31,33,35,36 for a c scale, I made it so you can do 1 2 3 4 5 6 7 8 and set the scale, major, minor, offset, in the numbers - I find that easier to program.
Current implementation https://github.com/fornof/atomicnotejs or you can try the alpha-version here- https://geometricfigure.com/atomic/
something didn't map so while the notes shown in the stave slightly off, it plays midi just fine. You will need a midi player to get audio output currently(see github link). It also has an export to midi, I just don't have it mapped to a button yet.
(in console of chrome, to get midi file output, atomic.readMidi("1 3 4 5 6 7 8 9 10")) My goal is to eventually get all the functions here mapped and created:
https://docs.google.com/spreadsheets/d/1DPHKU4RduqJA1jyqMAquuReiLneYmFJJniogQwFT27U/edit#gid=0
For the rules:
1:4 4 3:8 2 1 , plays the first 2 as quarter notes (c and f ) and the last ones as 8th notes.
1.1:4 plays a quarter rest - at least it is mapped to play it 1.3 is a c# , -1.2 is a b flat.
1 is c (for now) it is space delimited.
I'm looking to collaborate on this. It is written in NodeJs, vanilla js (though probably converting to angular sometime soon), message me on github if you are interested.
No comments yet.