Commit Graph

543 Commits

Author SHA1 Message Date
derselbst 544e1b0e17 move useful fluid_voice macros to public API 2017-08-27 16:17:15 +02:00
derselbst 31d847c898 dev-docs: fix broken links 2017-08-26 11:15:20 +02:00
derselbst 54e067548e cleanup fluid_synth 2017-08-25 23:25:18 +02:00
derselbst 06b6e07bde remove unused fluid_event_queue.h 2017-08-25 21:49:51 +02:00
Tom M b08021b030 Merge pull request #194 from FluidSynth/mod_refactor
refactor modulator handling
2017-08-25 13:43:28 +02:00
Tom M 5cc1d9f659 complain if modulator source unknown 2017-08-24 21:47:17 +02:00
derselbst b7673c0e25 correctly transform mod. source values from pitch bend 2017-08-23 16:37:46 +02:00
derselbst e641151511 specify C standard explicitly 2017-08-23 11:19:05 +02:00
Tom M 4b3590a326 warn if a voice exceeds supported modulator count 2017-08-21 18:41:04 +02:00
Tom M 081595464b specify fluid_mod_src flags explicitly 2017-08-21 18:30:41 +02:00
derselbst 64399b1b01 refactor fluid_mod_get_value()
move switch cases to distinct functions and fix many errors when previously calculating modulator source2
2017-08-20 18:54:40 +02:00
Tom M 1344059be4 Merge pull request #190 from FluidSynth/fluid_player
Add get tempo/bpm and get length/currentBeat to fluid_player
2017-08-16 10:06:18 +02:00
Tom M 27c347a28d add documentation to new fluid_player getters 2017-08-16 09:37:35 +02:00
Tom M da1b95cb19 reorder function delcaration in midi.h 2017-08-16 09:22:43 +02:00
Stephen Kyne 4a1ca1712e Fix for snprintf for > VS2015 2017-08-16 09:08:26 +02:00
Juan Borda 2f5c6dda83 Add get tempo/bpm and get length/currentBeat to fluid_player 2017-08-16 09:03:52 +02:00
derselbst b92b9d64da use doxygen @note 2017-08-13 15:16:55 +02:00
derselbst 712ce4b935 add more getters for fluid_voice_t to public API
for channel, key and velocity
2017-08-13 15:08:22 +02:00
derselbst 84095fead8 another sample loop check fixup
- for compressed samples set loopend and loopstart independently from each other
- for raw samples set loopend to first sample after valid sample data, to also have the very last sample actually be played
2017-08-12 15:55:47 +02:00
derselbst 59545adac2 match up sample loop check of vorbis compressed samples
with uncompressed ones
2017-08-11 18:43:22 +02:00
derselbst 4f27a9a849 sync loop check of uncompressed samples with swami 2017-08-11 18:37:47 +02:00
derselbst b04dbe3b9c fix incorrect loop check 2017-08-11 15:05:19 +02:00
derselbst 05929af1dd Revert "move sample loop fixup to dedicated function"
This reverts commit c254b437d3.

can not use same loop fix function because logic must be different: SF2 samples are stored in one huge chunk, SF3 decompressed samples stored in individual buffers.
2017-08-11 14:43:00 +02:00
Tom M 070dc29d20 Merge pull request #183 from fabiangreffrath/sf3-fonts
Add support for sound fonts in SF3 format that contain Ogg Vorbis compressed samples
2017-08-11 14:41:33 +02:00
Tom M 70311192aa Merge branch 'master' into sf3-fonts 2017-08-11 13:40:56 +02:00
Tom M 9267ca2b21 Merge pull request #184 from mawe42/sample-loopstart-fix
Prevent loopstart mangling by fixup_sample if equal to sample start
2017-08-11 12:46:05 +02:00
derselbst 682d3b0b31 fluid_synth_set_channel_type() was not exported properly 2017-08-11 12:03:00 +02:00
derselbst e009f283d6 update travis 2017-08-11 11:55:53 +02:00
derselbst 6ffb72461b update travis 2017-08-11 11:40:04 +02:00
derselbst 795e33b93e update travis 2017-08-11 11:25:04 +02:00
derselbst 97f0bf9234 update travis 2017-08-11 11:10:16 +02:00
Tom M a3d7c218d7 add travis badge to readme 2017-08-10 23:20:17 +02:00
derselbst b98b78ffd1 add travis ci file 2017-08-10 23:11:05 +02:00
Tom M 6e4f9134b9 inform user if compiled without SF3 support 2017-08-07 18:23:46 +02:00
Tom M 554be5032d clarify message for incorrect sample loops
loopend might not necessarily be out of range
2017-08-06 10:46:52 +02:00
derselbst 16b12cad69 fix spelling 2017-08-05 21:14:19 +02:00
derselbst a1a6f5bf5d fix format-overflow without extending str buffer 2017-08-05 21:10:25 +02:00
Tom M 7bd07af905 Merge pull request #187 from mawe42/fine-tune-range
Fix channel fine tune RPN to use correct range of +/- 100 cent
2017-08-05 19:04:23 +02:00
Marcus Weseloh c51ac7688e Fix channel fine tune RPN to use correct range of +/- 100 cent 2017-08-05 14:58:10 +02:00
Tom M 5ea1e34100 extend dbg messages for invalid sample loops 2017-08-04 18:57:31 +02:00
Tom M cc84b40736 only assure sample loopend is within sdtachunk 2017-08-04 18:33:48 +02:00
derselbst 883b640bef Revert "allow bank changes on drum channels"
This reverts commit 2fb69e2187.

From the user perspective it is not clear how banks are substituted if the requested preset / bank combination is not available in the soundfont, because the internal channel type still matters
2017-08-04 17:50:01 +02:00
Tom M c149678912 yet another sample loop fix 2017-08-04 16:33:11 +02:00
Tom M cbd3efc7c5 do not pad invalid loops 2017-08-04 13:38:07 +02:00
Tom M b338db1ebc minor fixes 2017-08-04 12:07:16 +02:00
Tom M c254b437d3 move sample loop fixup to dedicated function
in order to stay in sync with #184
2017-08-04 11:33:09 +02:00
Tom M 4ecdced628 update api doc
for FLUID_SAMPLETYPE_OGG_VORBIS
2017-08-04 11:30:28 +02:00
Fabian Greffrath 7c92368ec1 uniform pointer to int casting 2017-08-04 11:20:13 +02:00
Tom M f2eb657905 another attempt to correctly mangle with invalid loops 2017-08-04 11:18:56 +02:00
Fabian Greffrath 8cac137c26 remove some stray semicolons that aren't supposed to be there 2017-08-03 23:48:44 +02:00