Commit graph

546 commits

Author SHA1 Message Date
derselbst
8d227b5585 cmake: never build OSS adriver on win32 2017-08-28 20:06:28 +02:00
derselbst
3163300a9f cmake: make pkg-config optional 2017-08-28 20:03:42 +02:00
derselbst
597667b9c0 deprecate "synth.parallel-render" 2017-08-27 20:42:10 +02:00
derselbst
78f06d1be2 cleanup 2017-08-27 12:51:36 +02:00
derselbst
6b847829ef no need for atomic_int_dec_and_test() 2017-08-27 12:48:32 +02:00
derselbst
0bf4873ab2 atomically read queue_stored 2017-08-27 12:46:54 +02:00
derselbst
680fcf1f88 avoid data races in rvoice_eventhandler and cleanup
- an element from the queue might be requested from thread A
- thread A is put to sleep just before he could insert his event and increment queue_stored
- thread B request an element from queue, gets the same as thread A
- thread B commits his changes and increases queue_stored
- thread A wakes up, commits his changes
- event of thread B is lost
2017-08-27 12:46:37 +02:00
derselbst
ef9564e000 always enforce enqueuing rvoice_events 2017-08-27 12:43:24 +02:00
derselbst
1bb6210f91 clarify comment 2017-08-22 17:25:04 +02:00
derselbst
fa3894c97f workaround for #192 2017-08-22 17:20:00 +02:00
derselbst
6c3061cba3 expose a getter for bufcount for rvoice_mixer 2017-08-19 22:01:47 +02:00
derselbst
8d952d1e59 comment 2017-08-18 23:00:56 +02:00
derselbst
12db1c0d34 average overall error during cast
addresses #141
2017-08-18 17:54:01 +02:00
derselbst
d313db553f do not process more blocks than we can store internally
addresses #192
2017-08-18 17:53:12 +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