Commit graph

781 commits

Author SHA1 Message Date
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
aecc20b4ac travis test 2017-08-10 23:31:59 +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
Fabian Greffrath
c2368badaf abuse the fluid_sample_t->userdata field as the virtual file position indicator 2017-08-03 23:46:50 +02:00
Tom M
47eb2ef9ac inform the user about invalid sample loops 2017-08-03 20:59:19 +02:00
Marcus Weseloh
6c3c1fc22c Use char for key_pressure values 2017-08-03 20:11:59 +02:00
Marcus Weseloh
a2951fc37d Implement polyphonic key pressure (aftertouch) handling
Signed-off-by: Marcus Weseloh <marcus@weseloh.cc>
2017-08-03 16:50:08 +02:00
Marcus Weseloh
2d5da02cd4 fixup_sample should only fix loopstart if it is below sample start, not if they are equal.
Signed-off-by: Marcus Weseloh <marcus@weseloh.cc>
2017-08-03 13:33:36 +02:00
Fabian Greffrath
524bf38af3 Add support for sound fonts in SF3 format that contain Ogg Vorbis compressed samples
Author: Fabian Greffrath <fabian@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740710
Forwarded: https://sourceforge.net/p/fluidsynth/tickets/142/
Last-Update: 2015-11-26
2017-08-02 20:36:55 +02:00
Tom M
25e7eb0c6b Merge pull request #178 from FluidSynth/multichannel
fluid_synth_nwrite_float(): write out effect buffers
2017-08-01 09:30:12 +02:00
Tom M
5ee154c6ac optimize null check for older compilers 2017-07-31 16:19:50 +02:00
derselbst
aba36a6ea5 register effect buffers at jack 2017-07-28 14:43:19 +02:00
Tom M
8afd4db6d0 Update README.md
add note about audio compositor
2017-07-27 23:43:45 +02:00
Tom M
c4420e297b Merge pull request #180 from markh-de/fix_gcc7_and_clang4_warnings
Fix GCC 7 and Clang 4 compiler warnings
2017-07-27 16:18:33 +02:00
derselbst
5ac442d6f1 fix build 2017-07-27 15:54:51 +02:00
Tom M
1edefed3f1 update README 2017-07-27 12:24:33 +02:00
derselbst
1e825a5d54 move README and LICENSE to top-level dir 2017-07-27 12:11:26 +02:00
Tom M
4d92fd409f Merge pull request #177 from FluidSynth/lgpl
License Upgrade to LGPL-2.1+
2017-07-27 10:06:55 +02:00
Mark Hämmerling
b612d8cd71 Fix a few minor cosmetic issues 2017-07-24 23:17:35 +02:00