Ben Combee
5ae7e82599
Allow .mid/.MID extension on basename
...
This changes the command line handling so if the user
specifies the full name of the MIDI file, the code will silently
drop the extension and use that as the base name. This makes
the tool friendlier for people using filename completion, as they
don't have to remember to remove the ".mid" manually.
4 years ago
Len Shustek
87077bcfb1
Update miditones.exe
...
Compile in "release" mode
6 years ago
Len Shustek
fbc9793378
Merge pull request #18 from SparklingFire2/patch-1
...
Added #include <limits.h> to remove compiler error
6 years ago
SparklingFire2
5aa3353202
Added #include <limits.h> to remove compiler error
6 years ago
Len Shustek
b167f406f7
various enhancements; see the change log
6 years ago
Len Shustek
ee76ad2d1f
Major rewrite: queue out-of-order events to allow release/sustain note timing
6 years ago
Len Shustek
fd994d37cb
Merge pull request #16 from qistoph/master
...
Handle repeat cmd in miditones_scroll
6 years ago
Chris van Marle
ebcd22fa2d
Makefile: miditones_scroll by default too
6 years ago
Chris van Marle
c5f5dc54af
Handle repeat cmd in miditones_scroll
6 years ago
Len Shustek
2384d7b295
Fix bug: no delays were generated until tempo was set
6 years ago
Len Shustek
ee05606a6e
Fix for Linux compile; point to Playtune_synth for PJRC audio library
6 years ago
Len Shustek
9a7c8a7fd2
Merge pull request #14 from PaulStoffregen/master
...
Fix compile errors on Linux (gcc run in default mode)
6 years ago
PaulStoffregen
5c102c0743
Fix compile errors on Linux (gcc run in default mode)
6 years ago
Len Shustek
96cfc860ae
Don't generate zero-length delays
7 years ago
Len Shustek
3d036f6749
Don't generate zero-length delays
7 years ago
Len Shustek
63cdd2f560
Merge pull request #11 from Kodest/master
...
Do not include zero-length delays in output
7 years ago
László ÁSHIN
33aff896a0
Only generate stopnotes if delay actually happens
7 years ago
László ÁSHIN
18656188be
Do not include zero-length delays in output
...
This would cause lockup in ATtiny-playtune and output can be significantly
shorter without zero-length delays.
See http://www.mariopiano.com/Mario-Sheet-Music-Overworld-Main-Theme.mid
7 years ago
Len Shustek
5e7791bc68
Merge pull request #10 from earlephilhower/master
...
Fix MIDI meta length parsing for >127 byte entries
7 years ago
Earle F. Philhower, III
5883cb239b
Fix meta length parsing for >127 byte entries
...
In find_note, the meta_len was hardcoded as a single byte encoding, but per
the spec and some files with long comments and copyrights, it is actually
encoded as a varlen. Use the varlen parser (which defaults to the old
behavior of 1-byte for <128 len fields) instead.
7 years ago
Len Shustek
8c47ddfd12
Suppress unnecessary "stop note" commands so the byestream file is smaller
8 years ago
Len Shustek
8a4b9c8fc3
Suppress unnecessary "stop note" commands so the byestream file is smaller
8 years ago
Len Shustek
5a50a01498
.
8 years ago
Len Shustek
40a0aaa286
Add -r; allow -c to be in hex
8 years ago
Len Shustek
50592f0ce4
Report on the number of unnecessary "stop note" commands in the byestream
8 years ago
Len Shustek
0889964bd9
update change log and version number
8 years ago
Len Shustek
ecbebc6188
update change log and version number
8 years ago
Len Shustek
53311b536e
Merge pull request #9 from MLXXXp/fixes
...
Fixes and minor changes
8 years ago
Scott Allen
897a27c8de
Update README.txt to match changes in miditones.c
8 years ago
Scott Allen
d24171ed01
Include header and terminator in score byte count
8 years ago
Scott Allen
e026b19c22
Give proper error message for missing base name
8 years ago
Scott Allen
80bd2eaafa
Fix -nx option
...
-nx was trying to put "x"+1, instead of "x", items per line
8 years ago
Scott Allen
45246a6c9a
Fix -p option parsing and handling
8 years ago
Scott Allen
c8a8175990
Fix spelling and minor formatting errors
8 years ago
Len Shustek
f20fe9cb6d
Sample miditones_scroll output
8 years ago
Len Shustek
744efdebba
Sample miditones_scroll output
8 years ago
Len Shustek
9a394d5a0b
fix "running status" bug; add volume, instruments, percussion, file header, etc.
8 years ago
Len Shustek
c3a2db9c01
add volume and percussion options, more generators, better compiler independence
8 years ago
Len Shustek
44e5b2de3b
Fix 32-bit overflow for long delays
9 years ago
Len Shustek
93b539361e
Add files via upload
9 years ago
Len Shustek
b6070573e9
Merge pull request #5 from blackketter/master
...
Merge changes from miditones used in the Arduino/Teensy library (PaulStoffregen/Audio)
9 years ago
Dean Blackketter
0051f25fd7
Len noticed a bug in binary velocity output
9 years ago
Dean Blackketter
8a9403e368
Merge changes from miditones used in the Arduino/Teensy library (PaulStoffregen/Audio),
...
which includes a velocity output option
9 years ago
Len Shustek
4d81c61475
Merge pull request #4 from blackketter/master
...
Fix warnings and errors
9 years ago
Dean Blackketter
e0940116df
Bump version number and log
9 years ago
Dean Blackketter
33e5fce907
Make build on Mac with "gcc miditones.c -o miditones" without warning or errors.
9 years ago
Len Shustek
9f0396e967
add license
10 years ago
Len Shustek
433c78356a
Delete miditones_scrollV1.1.exe
10 years ago
Len Shustek
86b2b0edaa
Delete miditones_scrollV1.1.c
10 years ago
Len Shustek
0a3248266b
Made the source code friendlier to more compilers
10 years ago