fixed readme
This commit is contained in:
parent
0d96e014ab
commit
e127d35867
|
@ -19,7 +19,7 @@ With the Rust compiler installed under a Unix-like OS, you can compile this sour
|
||||||
|
|
||||||
###How to Use
|
###How to Use
|
||||||
`interval` can be run at the command line with the following syntax:
|
`interval` can be run at the command line with the following syntax:
|
||||||
`./interval [input file] [output file]`.
|
`./interval [input file] [output file]`
|
||||||
This will attempt to read Interval code from the input file, generate audio based on it, and emit the resulting data,
|
This will attempt to read Interval code from the input file, generate audio based on it, and emit the resulting data,
|
||||||
prefixed with a suitable RIFF header, into the output file (which will be in `.wav` format). The audio stream is signed
|
prefixed with a suitable RIFF header, into the output file (which will be in `.wav` format). The audio stream is signed
|
||||||
16-bit little endian samples, at a sample rate defined by a static variable in the source code (48 kHz by default).
|
16-bit little endian samples, at a sample rate defined by a static variable in the source code (48 kHz by default).
|
||||||
|
|
|
@ -2,15 +2,15 @@
|
||||||
# Ellie Diode, May 2019
|
# Ellie Diode, May 2019
|
||||||
# Public Domain
|
# Public Domain
|
||||||
|
|
||||||
~T120;
|
|
||||||
~P440;
|
~P440;
|
||||||
p1:1 v200 t0 r0 h0 f400;
|
~T120 b-90 d-90;
|
||||||
|
p1:1 v200 t0 f400 b180:4+ d180:4+;
|
||||||
p4:3 t800+;
|
p4:3 t800+;
|
||||||
p3:2; #comment comment comment
|
p3:2; #comment comment comment
|
||||||
p2:1;
|
p2:1;
|
||||||
|
|
||||||
T4:3*
|
~T4:3* b90 d90;
|
||||||
p2:1 t0 r0 f200;
|
p2:1 t0 f200 b180:5- d180:5-;
|
||||||
p8:3 t800+;
|
p8:3 t800+;
|
||||||
p3:1;
|
p3:1;
|
||||||
p4:1;
|
p4:1;
|
||||||
|
|
BIN
example.wav
BIN
example.wav
Binary file not shown.
Loading…
Reference in New Issue