Commit graph

1292 commits

Author SHA1 Message Date
Tom M
5d26d2dee8
Additional general-purpose IIR filter (#331)
* Additional high-pass filter
* ability to use a linear Q
* add custom sinus modulator mapping function
* add GEN_CUSTOM_FILTERFC and GEN_CUSTOM_FILTERQ generators
* introduce fluid_synth_custom_filter()
* make custom filter user adjustable by custom flags
2018-02-11 15:18:28 +01:00
Tom M
a807ea22b3
Update fluidsettings.xml
document synth.default-soundfont and synth.lock-memory
2018-02-08 12:58:25 +01:00
derselbst
9cd870ea7a jack midi driver: open several ports if midi-channels > 16
addressing #326
2018-02-06 20:53:13 +01:00
derselbst
2b1cc566a5 pulse driver: preallocate audio buffers 2018-02-06 10:35:37 +01:00
harborsiem
2f35afe79e include windows version info for dll (#336)
fixes #216
2018-01-29 10:42:55 +01:00
Tom M
82a354d515
add OHLOH badge 2018-01-27 15:12:12 +01:00
Tom M
c8129dbeda
cleanup TODO
remove items to I dont see a use-case for
2018-01-27 14:48:49 +01:00
Tom M
2a4b2084f1
Merge pull request #330 from FluidSynth/api-clean
remove unused API functions
* fluid_synth_set_gen2()
* fluid_cmd_handler_register()
* fluid_cmd_handler_unregister()
* fluid_cmd_t
2018-01-27 14:34:09 +01:00
derselbst
94b26e6365 adjust signature of fluid_settings_getstr_default()
for consistency
2018-01-26 20:32:09 +01:00
derselbst
4a655de242 implement 24 bit sample support for fluid_voice_optimize_sample() 2018-01-24 18:47:30 +01:00
derselbst
92baab7dac add CMAKE_INSTALL_PREFIX to DEFAULT_SOUNDFONT
addresses #332
2018-01-23 21:57:17 +01:00
Tom M
0417d42a51
Merge pull request #328 from carlo-bramini/master
No need to do extra addition at every cycle.
2018-01-20 14:13:25 +01:00
carlo-bramini
a4bccd9a49
Fix rounding for triangular modulation waveform 2018-01-20 12:26:42 +01:00
carlo-bramini
57de2bf45a
No need to do extra addition at every cycle. 2018-01-19 11:01:35 +01:00
derselbst
5f8fabb651 remove fluid_cmd_handler_register() from public API
as well as fluid_cmd_handler_unregister() and fluid_cmd_t
2018-01-18 20:39:45 +01:00
derselbst
fe19ce0c24 remove fluid_synth_set_gen2() from public API 2018-01-18 20:24:58 +01:00
derselbst
c61d093aec avoid redundant debug loop warnings 2018-01-18 14:13:09 +01:00
derselbst
57cbdda39a avoid a buffer overrun when loading corrupt soundfonts
addresses #327
2018-01-18 14:12:41 +01:00
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