Commit graph

1654 commits

Author SHA1 Message Date
derselbst
2e46df839a fix build 2018-06-26 06:52:35 +02:00
derselbst
f8b95969c8 rename fluid_event_priv.h -> fluid_event.h 2018-06-25 17:59:14 +02:00
derselbst
5ea6bed2d4 Merge branch 'master' into fluid-synth-process 2018-06-25 17:12:29 +02:00
derselbst
3da2db91de Merge pull request #404 from FluidSynth/format7 2018-06-25 17:08:00 +02:00
derselbst
9382edabd5 enforce coding style guide
using astyle
2018-06-24 13:13:18 +02:00
derselbst
90c2d76709 cmake: setup formatting targets
for clang-tidy and astyle + minor formatting adjustments to clang-format config
2018-06-24 12:59:46 +02:00
derselbst
550f853509 update example fluidsynth_fx.c 2018-06-23 14:34:30 +02:00
derselbst
fd27e15746 update API docs on fluid_synth_process() 2018-06-23 14:26:41 +02:00
derselbst
728c560cc6 Merge branch 'master' into fluid-synth-process 2018-06-20 15:25:39 +02:00
jjceresa
19b525af9b Add comment for main function() 2018-06-20 15:11:43 +02:00
jjceresa
1dc7ce042b Adding comments to fluidsynth.c 2018-06-20 15:11:00 +02:00
derselbst
734eaa9bb4 deprecate fluid_synth_nwrite_float() in favor of fluid_synth_process() 2018-06-18 16:21:37 +02:00
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