Avoid crash when SF3 support is enabled when final trimmed sample buffer ends up at a different memory address (commonly happening on Android)
Avoid potential memory leak with realloc (#77)
Update license year
Merge pull request #68 from ell1e/tsf-kill-trailing
Merge pull request #64 from ell1e/example3-with-args
Merge pull request #64 from ell1e/example3-with-args
Fix conditions evaluating based on uninitialized memory (#63)
Suppress conversion warnings (#52) (#72)
Support simple but heavily compressed custom .sfo files
Fix conditions evaluating based on uninitialized memory (#63)
Support SoundFonts with mixed Vorbis compressed and uncompressed samples (#75)
Merge pull request #75 from misterhat/master
Use TSF_NULL not NULL
Spelling fixes in comments
C89 compatibility and style fixes
Handle out-of-memory cases
Kill off voices in release segment when at max voices
Please pedantic compiler warnings
Avoid one malloc if tsf_copy is never used
Improve all control off message
Merge channel allocations
Fix new refCount allocation not being checked for success
Fix C89 compatibility
Merge pull request #65 from ell1e/tsf-copy-new
Merge branch 'master' into tsf-malloc-check
Fix TSF_MALLOC/TSF_REALLOC return values not checked for success
Remove shared outputSamplesBuffer to make rendering thread-safe
Add "tsf_copy" function for linked copies
Expand example3.c to accept arbitrary midi and sf2 choice
Add tsf_set_max_voices to pre-allocate a maximum number of voices to make TSF more thread-safe and to possibly avoid the need for concurrency control
Support newer Visual Studio version in the example projects
Fix severe bug introduced in previous commit 031e4fe
Clamp all region values according to SF2 spec
Clamp region initial attenuation to legal values
Avoid coefficient overflow in the lowpass filter (could easily happen with an output sample rate below 44100Hz)
Fix possible compilation error in tml.h if used without tsf.h
Compilation warnings fix (#35)
Leave MIDI messages of type SET_TEMPO accessible in the linked list
Added a function that returns the number of active voices
Merge pull request #30 from kavika13/patch-1
Fix incorrect constant for μs per quarter note
Merge pull request #25 from kavika13/patch-1
Fix C4703 (uninitialized variable) on MSVC 2015
Update year in license file
Add actual include of stdio.h when building without TML_NO_STDIO
Make missing statics
update tml.h to fix multiple include issues
Merge pull request #18 from Reputeless/patch-1
Fix MSVC 2017 warning
- Fixed pitch range handling of midi control
- Handle preset global zone
More accurate attack and decay of mod envelope
Fix byte order of read pitch wheel values
Added higher level channel based playback API for better MIDI support
Correctly filter zone regions by key/velocity ranges of parent preset region
Handle program changes in special 10th MIDI channel (percussion)
- New TinyMidiLoader library with new MIDI playback example
Correctly stop notes with note_off
Correctly stop notes with note_off
Handle note_on/off more like the MIDI standard suggests:
Added global output panning
Added tst_bank_* functons to play by instrument bank and preset number instead of preset index
Added tsf_get_presetindex to look up preset index by bank
- Fix certain presets for which the state of the lowpass filter was not stored across multiple voice render calls