Commit graph

1306 commits

Author SHA1 Message Date
derselbst
f125e8a9c6 do not add LIB_SUFFIX if LIB_INSTALL_DIR set manually 2018-02-20 17:05:42 +01:00
derselbst
a69db1a74e remove useless HAVE_CONFIG_H 2018-02-20 12:48:57 +01:00
derselbst
4ad3aa2307 fix build of downstream apps for static fluidsynth lib
fixes #341
2018-02-20 12:44:30 +01:00
Tom M
28a794a61c
Merge pull request #339 from stekyne/msvc_library_prefix_fix
Minor cmake adjustments for MSVC builds to enable building fluidsynth as vcpkg package
2018-02-12 09:44:44 +01:00
Stephen Kyne
3acf461346 Remove debug postfix for MSVC build 2018-02-11 16:07:38 +00:00
Tom M
4a0a7365ee
Refactor Soundfont loader API (#334)
* add fluid_mod_sizeof() and fluid_sample_sizeof() for low latency scenarios
* fix return value of default_fclose
* enable padding warnings for cmake enable-profiling=1
* make these types private:
  * struct _fluid_sfloader_t
  * struct _fluid_sample_t
  * struct _fluid_sfont_t
  * struct _fluid_preset_t

...and provide proper getter and setter functions
2018-02-11 16:56:53 +01:00
Tom M
825216f0b6
Merge pull request #317 from FluidSynth/balance
Add support for balance control (CC 8)
2018-02-11 16:15:00 +01:00
Tom M
d3cfa28e5b
Merge branch 'master' into balance 2018-02-11 15:24:50 +01:00
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
Stephen Kyne
f8470affc5 No longer prefix the lib folder for MSVC builds 2018-02-07 21:06:41 +00: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
297372d6d9 rename GEN_BALANCE to GEN_CUSTOM_BALANCE 2018-01-25 20:39:11 +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
Marcus Weseloh
2e4a517a3f Use absolute centibels for range of balance generator 2018-01-04 15:28:23 +01:00
Marcus Weseloh
52cc645e7e Rename default_balance_mod to custom_balance_mod 2018-01-04 12:31:22 +01:00
Marcus Weseloh
ff3e918d47 Use range with true center point for pan and balance
As specified in MIDI Recommended Practice (RP-036)
2018-01-04 00:54:29 +01:00
Marcus Weseloh
8f9b89588a Add support for channel balance control (CC 8) 2018-01-04 00:54:29 +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