Commit Graph

1592 Commits

Author SHA1 Message Date
derselbst b9c75f3a8e docs: elaborate on sample buffer zeroing
of fluid_synth_process()
2018-06-18 16:15:24 +02:00
derselbst c309e417c5 adjust implementation of audio drivers for fluid_synth_process() 2018-06-18 16:01:27 +02:00
derselbst 723816cd5d implement new behaviour of fluid_synth_process() 2018-06-18 16:01:27 +02:00
derselbst 109db1484b fluidsettings: report boolean settings as int 2018-06-17 20:02:46 +02:00
Tom M b6b6931468
Revert "implement true zero gain for maximum attenuation (#396)" (#398)
This reverts commit 29d1947ccc. Reading the spec again, the final gain amp should actually applied for the whole voice, not just single buffers (cf. sect. 9.1.8 Figure 2). Thus rvoice_mixer is not the correct place to implement this. It should instead be done in fluid_rvoice_calc_amp().

reopens #319
closes #399
2018-06-17 19:54:37 +02:00
derselbst a55e7e8d79 fix discarding const 2018-06-17 15:59:05 +02:00
derselbst 9e2ea65618 document FLUID_MIXER_MAX_BUFFERS_DEFAULT 2018-06-17 15:58:22 +02:00
Tom M 29d1947ccc
implement true zero gain for maximum attenuation (#396)
fixes #319
2018-06-15 18:46:10 +02:00
jjceresa 0921ccc4c0 introducing FLUID_PEAK_ATTENUATION macro. (#397)
avoids hard-coding the magic 96 dB everywhere in the code
2018-06-15 18:42:15 +02:00
derselbst 18917840b7 update READMEs 2018-06-15 18:38:21 +02:00
Tom M 876af08d2f
Update and rename README.cmake to README.cmake.md
remove duplicate docs and point to the wiki
2018-06-15 17:47:12 +02:00
derselbst a1bc872754 implement new_fluid_cmd_handler() according to documentation
by only registering commands requested by the user
2018-06-12 07:39:33 +02:00
derselbst 183a69a51f avoid leaking midi_router in fluidsynth.c 2018-06-12 06:37:24 +02:00
derselbst 5c83c9748b allow manipulating midi files using midi_router 2018-06-11 17:50:35 +02:00
derselbst b3cb079b60 avoid exporting conversion tables to public 2018-06-10 13:16:43 +02:00
derselbst e50042744b avoid unnecessarily exporting functions to public
mark them static
2018-06-10 08:51:15 +02:00
derselbst b844dd1f04 make cmake report install prefix 2018-06-07 14:15:06 +02:00
derselbst 995f22192d add a getter for fluid_preset_t::sfont 2018-06-04 10:49:58 +02:00
Tom M b0e22993cf
Merge pull request #394 from FluidSynth/sfaccessors
soundfont loader accessor function
2018-06-03 09:07:26 +02:00
derselbst a33e3c698d set soundfont iteration methods on fluid_sfont_t creation 2018-06-03 07:13:04 +02:00
derselbst c1a2a7af19 update API doc of soundfont loader module 2018-06-03 07:04:17 +02:00
Tom M 698682d4e2
Merge pull request #393 from FluidSynth/cmake-flags
Avoid bypassing visibility control
2018-06-03 06:42:37 +02:00
derselbst 77e608e3ce add public getters and iteration functions for fluid_sfont_t 2018-06-02 15:01:40 +02:00
derselbst 344133a704 add public getters for fluid_preset_t 2018-06-02 14:07:53 +02:00
derselbst 734e5db849 prefer using DEBUG rather than NDEBUG 2018-06-02 13:23:50 +02:00
derselbst c43bb5d505 set CMAKE_C_FLAGS rather than build type specific ones 2018-06-02 13:23:50 +02:00
KO Myung-Hun 85356d2732 fix compilation below GLib v2.26.0
GStatBuf was introduced in GLib v2.26.0, fixes #389
2018-05-28 21:32:48 +02:00
derselbst c7a3eb34a4 appveyor: add additional builds against glib 2.16 and 2.24
because they dont have `GStatBuf` available, #389
2018-05-28 21:32:28 +02:00
derselbst 0b4fcb94ba travis CI: build audio drivers with clang3.9 2018-05-27 08:28:51 +02:00
derselbst d0d156f50f silence gcc4.8 erroneously reporting uninitialized vars 2018-05-20 10:45:35 +02:00
derselbst 8d3384545f appveyor: rename build artifacts to reflect %platform% 2018-05-20 10:28:42 +02:00
derselbst c61b93dd74 update copyright year 2018-05-20 10:28:23 +02:00
derselbst b70b24ce0a remove fluid_rvoice_mixer_set_threads() as rvoice event function
Changing the number of rendering threads on-the-fly is not considered to be a usecase. In fact it will cause glitchy audio if doing so while synthesizing because all rendering threads are killed and their mixdown buffers are reallocated. This change should fix glitchy audio that might occur at the beginning of synthesization, as the rvoice_event for thread allocation may be dispatched (too) late.
2018-05-19 17:04:37 +02:00
derselbst 8f6a602495 fix no-prototype warning in test_seqbind_unregister.c 2018-05-19 09:29:39 +02:00
derselbst 474bb83303 fix typo in fluidsynth_process.c 2018-05-19 09:28:37 +02:00
derselbst 27ce8ec824 bump API doc to 2.0 beta 2018-05-19 09:06:03 +02:00
derselbst b375070768 cleanup 2.0 API docs
* remove obsolete 1.1.* change history
* increase readability of 2.0 changes
2018-05-18 16:28:09 +02:00
derselbst b07599b6f7 clarify comments in fluidsynth_process.c 2018-05-18 15:50:58 +02:00
derselbst ce337e2497 use explicit array access in fluid_synth_nwrite_float()
rather than pointer arithmetic
2018-05-18 13:09:03 +02:00
derselbst 6bcdf87c06 fix broken multithread rendering
and minor current_blockcount cleanups
2018-05-18 13:07:16 +02:00
derselbst fd84365328 fix typo in Doxyfile 2018-05-18 12:50:10 +02:00
Tom M fcc69471d6
Merge pull request #385 from FluidSynth/issue49
Add reverb and chorus settings
2018-05-18 10:15:11 +02:00
Tom M 7aea42c96f
Merge pull request #374 from FluidSynth/rvoice-align
Enable / Improve vectorizion in rvoice_mixer
2018-05-18 10:14:14 +02:00
derselbst df4c9878de fix endless loop in fluid_sample_timer_process() 2018-05-18 09:58:05 +02:00
Tom M 51252b72b4
Merge branch 'master' into issue49 2018-05-17 22:13:36 +02:00
Tom M b40fb9d782
Merge pull request #382 from FluidSynth/unregister
fix double free when deleting fluid_seqbind_t
2018-05-17 22:13:08 +02:00
derselbst 0188cd9d93 rename reverb roomsize setting to match naming conventions 2018-05-17 21:44:03 +02:00
derselbst dac1fe48cc check that realtime reverb and chorus settings work 2018-05-17 21:38:04 +02:00
derselbst 435361ef0c rename chorus getters to match naming conventions
fluid_synth_get_chorus_speed() and fluid_synth_get_chorus_depth()
2018-05-17 21:38:04 +02:00
derselbst 57abab0a31 document reverb and chorus settings 2018-05-17 19:59:34 +02:00