Commit graph

1274 commits

Author SHA1 Message Date
derselbst
9806087543 include version.h in API doc 2018-01-10 12:31:06 +01:00
derselbst
37218ba4b4 report FluidSynth's runtime + exec version 2018-01-10 09:07:22 +01:00
Marcus Weseloh
aff8f0d458 Cleanup initial attenuation generator value handling (#324)
The EMU8k/10k hardware applies a 0.4 factor to all initially set attenuation generator values. Do this once on soundfont load.

Remove the invalid -531.509 power factor that was computed from Timidiy's non-standard conversion table. And remove the synth.volenv switch again, as the "compliant" setting wasn't compliant at all.

This allows us to get rid of the atten2amp function and use cb2amp everywhere, with a range of 0 1440 centibels.

Fixes #70 
Supersedes #71 
Supersedes #318
2018-01-09 16:30:43 +01:00
carlo-bramini
8c6d328cab Fix unused variable warnings (#322) 2018-01-08 16:27:44 +01:00
carlo-bramini
1a201a2d4d Simplified code for modulation waveforms (#321)
extract calculations that never changed during the loop
2018-01-07 10:23:18 +01:00
derselbst
292b7e028f check for "sfbk" in fluid_is_soundfont() 2018-01-06 21:57:07 +01:00
derselbst
9456bfab12 use FLUID_STRNCMP wrapper macro 2018-01-06 21:24:55 +01:00
derselbst
f3903d1a2f add support for intel compiler 2018-01-03 16:41:32 +01:00
derselbst
df6fad7d83 output optimization report if enable-profiling=1 2018-01-03 16:40:53 +01:00
derselbst
dd2b78a842 simplify check for default_vel2filter_mod 2018-01-02 18:59:19 +01:00
derselbst
d9a39e8ba7 make default modulators static 2018-01-02 18:58:46 +01:00
derselbst
50ac3c0f3f correct return value checking for fluidsynth_register_adriver.c 2018-01-02 16:15:32 +01:00
derselbst
6e3f5ce390 correct API doc of fluid_audio_driver_register() 2018-01-01 18:07:16 +01:00
derselbst
70dffe71b1 remove unused _fluid_channel_t::mutex 2017-12-31 16:45:44 +01:00
derselbst
81ebb229ae elaborate on _[v]snprintf() 2017-12-31 16:21:01 +01:00
derselbst
a4b7bf0c6f fix typo in API docs 2017-12-31 12:37:28 +01:00
derselbst
f9ef9eb021 removed strayed '\' 2017-12-31 12:34:37 +01:00
derselbst
6148771b1e elaborate on "preset reset" 2017-12-29 22:18:08 +01:00
derselbst
c56d09be6c elaborate on "bank offsets" 2017-12-29 22:10:04 +01:00
derselbst
9e39479f55 update API doc of fluid_synth_[bank|sfont]_select() 2017-12-29 21:57:54 +01:00
derselbst
272b807383 fallback to glibs C99 compliant *snprintf() functions
rather than microsofts non compliant extension functions
2017-12-29 17:51:57 +01:00
Tom M
acb8da48f4
Merge pull request #316 from carlo-bramini/fluid_msleep
Introduce fluid_msleep function.
2017-12-29 09:17:34 +01:00
carlo-bramini
3e9052535b Use only g_usleep() in fluid_msleep(). 2017-12-28 16:55:52 +01:00
carlo-bramini
cb1e93cd7c Use fluid_msleep() into JACK driver. 2017-12-28 12:28:26 +01:00
carlo-bramini
f638fd90ba Introduce fluid_msleep function. 2017-12-27 21:36:07 +01:00
Tom M
2d83700dc7
Merge pull request #315 from carlo-bramini/misc-fixes-3
Remove redundant includes and avoid zero-size array if MIDI input unavailable.
2017-12-27 18:04:06 +01:00
derselbst
e159fa0225 fix build 2017-12-27 17:59:59 +01:00
derselbst
15bc24c757 cleanup API doc 2017-12-27 17:55:04 +01:00
derselbst
5c8ee9a20b mention important-channels overflow settings in API docs 2017-12-27 17:41:05 +01:00
derselbst
be9caa1953 Merge branch 'master' of https://github.com/FluidSynth/fluidsynth 2017-12-27 17:24:44 +01:00
carlo-bramini
9c59ad9eb8 Optimize memory usage for fluid_audio_driver_register() (#314) 2017-12-27 17:24:13 +01:00
carlo-bramini
20b7143ba9
Avoid zero-size array if MIDI input unavailable. 2017-12-24 14:55:39 +01:00
carlo-bramini
c6a2b0ceba
Use FLUID_MUTEX_INIT instead of G_STATIC_MUTEX_INIT 2017-12-24 14:46:39 +01:00
carlo-bramini
74122f2d6d
Remove redundant include. 2017-12-24 14:43:06 +01:00
carlo-bramini
806b3d68e1
Check for JACK_SUPPORT 2017-12-24 14:41:39 +01:00
carlo-bramini
771fa8191a
Remove redundant include 2017-12-24 14:39:40 +01:00
derselbst
870a9a8232 make fluid_synth_error() const correct 2017-12-21 20:00:39 +01:00
derselbst
51cc2656e1 add internal note about fluid_midi_parser_parse() 2017-12-21 14:57:09 +01:00
derselbst
5f45c6d97b Revert "make fluid_midi_parser_parse() public"
This reverts commit 4568e551b9. Would allow fluidsynth to be abused as midi parser.

Closes #150
2017-12-21 14:52:06 +01:00
derselbst
a9a9eb5b8c Revert "add missing API comment to fluid_midi_parser_t"
This reverts commit 67e87cffad.
2017-12-21 14:51:55 +01:00
jjceresa
5be4f31822 Explicit cast for rvoice_event_handler functions (#312)
Explicit casts to avoid narrowing conversion warnings.
2017-12-21 14:48:58 +01:00
carlo-bramini
4203e10220 Use FLUID_CHORUS_DEFAULT_TYPE properly. (#311) 2017-12-18 20:03:18 +01:00
derselbst
610b6743be explicit casts to avoid narrowing conversion warnings
fixes #310
2017-12-18 19:14:12 +01:00
derselbst
bf5dbc60cf adjust return value of fluid_server_join()
to be consistent with ladspa API
2017-12-17 11:45:42 +01:00
derselbst
c61bcdca70 silence "network support disabled" warnings
one is enough
2017-12-17 11:42:46 +01:00
carlo-bramini
8025f788d3 Disable network at compile time (option) (#307) 2017-12-17 10:25:54 +01:00
derselbst
8ebb2495c5 make sure doxygen recognizes struct _fluid_sfont_t 2017-12-16 22:42:50 +01:00
derselbst
67e87cffad add missing API comment to fluid_midi_parser_t 2017-12-16 15:24:23 +01:00
derselbst
4568e551b9 make fluid_midi_parser_parse() public
to enable realtime byte to fluid_midi_event_t parsing

fixes #108
addresses #150
2017-12-16 15:08:47 +01:00
derselbst
07a167c737 update doc about "audio.pulseaudio.adjust-latency"
addresses #303
2017-12-16 10:16:04 +01:00