Commit Graph

2165 Commits

Author SHA1 Message Date
David Henningsson 13a9e2a789 Add playback callback from the MIDI file player for intercepting MIDI data on playback.
Credits to Jason Vasquez, plcl etc for patch draft and discussion.
2011-05-22 09:03:39 +00:00
David Henningsson 60c6ec5168 Add paper about FluidSynth thread safety, as written for Linux Audio Conference 2011 2011-05-16 09:43:38 +00:00
Pedro Lopez-Cabanillas 990c36a36d *fix build problem, reported by Sven Meier 2011-04-15 22:55:56 +00:00
Pedro Lopez-Cabanillas d73bd4d675 gcc flags again: -Wno-vla removed because it is not supported by an Apple compiler 2011-04-09 22:59:31 +00:00
David Henningsson 5166e24569 Optimization of r415, try to avoid the division if possible. 2011-04-03 09:36:37 +00:00
David Henningsson fa73a202af Use glib utility function for shell parsing - fixes ticket #44 2011-03-27 17:37:44 +00:00
David Henningsson d8aad67d8d Prevent the IIR filter from loud pops on quick frequency changes (ticket #82) 2011-03-27 16:59:15 +00:00
David Henningsson f7d87aa1a8 Rewrite overflow so that an extra rvoice is used, and make sure samples are ref/dref under mutex. 2011-03-27 13:54:52 +00:00
David Henningsson cabb6ad315 Do not use loop noise floor if sample continues in release phase (ticket #93)
Reported by Graham Goode.
2011-03-27 10:18:01 +00:00
Pedro Lopez-Cabanillas abc4ffc5f4 * avoid to output a wrong error message
* new GCC warning flag, trying to avoid a common MSVC unsupported C language construct
2011-03-20 22:16:07 +00:00
Pedro Lopez-Cabanillas f47d7dcddc fix for ticket #97 : Latest fluid_midi.c fails to build under MSVC 2010 2011-03-20 09:33:37 +00:00
Element Green 4b43c085e7 Fixed camparison between signed and unsigned integer warning in process_sdta(). 2011-02-28 07:14:27 +00:00
Element Green 02690ada63 Fix for bug with duplicate sample names in SoundFont files, reported on fluid-dev http://lists.nongnu.org/archive/html/fluid-dev/2011-02/msg00045.html 2011-02-27 20:35:24 +00:00
David Henningsson f164ef2dc4 Add out-of-memory checks to fluid_player_add and fluid_player_add_mem 2011-02-20 23:45:15 +00:00
David Henningsson 317c8a8f55 Allow in-memory midi file to be loaded by the midi engine (Credit: Matt Guica) 2011-02-20 23:45:00 +00:00
David Henningsson 3c13165c34 Better message when substituting presets, and store XG LSB changes even in drum mode. 2011-02-10 09:23:17 +00:00
David Henningsson b05e61fedf Add fluid_synth_all_notes_off and fluid_synth_all_sounds_off as public API functions 2011-02-07 07:46:37 +00:00
David Henningsson f75ed6243b Empty event queue from non-realtime context on startup
Some time extensive events were queued to be carried out on
the first audio block rendering, when in fact they could
be carried out before rendering has even started, from
a non-RT context.

Reported-by: Krysztof Foltman
2011-02-07 07:30:50 +00:00
David Henningsson 26b297f144 (credit: jimmy) all_notes_off and all_sounds_off can now silence all channels at once. 2011-02-07 07:30:31 +00:00
David Henningsson 7ea31c19bd Fixup since tag for new public API function. 2011-02-04 19:26:33 +00:00
David Henningsson d7b9767598 (Credit: jimmy) Allow channels to change state between melodic and drum channels 2011-02-04 19:19:30 +00:00
Element Green 8e11587d4e Ignore extra size in SoundFont smpl chunk so that FluidSynth can load 24 bit SoundFont files as 16 bit, rather than rejecting the file. 2011-01-04 21:22:56 +00:00
Pedro Lopez-Cabanillas 19cd260522 link to Doxygen project page 2010-12-04 09:16:14 +00:00
Pedro Lopez-Cabanillas ed9720b38b Build documentation instructions. 2010-12-04 09:01:00 +00:00
David Henningsson 864bd7a7f0 Fix notes slightly off pitch (with floats and short loops) 2010-11-27 14:19:03 +00:00
Pedro Lopez-Cabanillas aaa2b74573 build system fixes for OS/2 by KO Myung-Hun <komh@chollian.net> 2010-11-21 15:12:37 +00:00
Pedro Lopez-Cabanillas 155e43760e Mac OSX fixes: frameworks build, midi.coremidi.id option. 2010-10-31 16:15:32 +00:00
Pedro Lopez-Cabanillas 068a7534ef * fix for bug "Undefined behavior parsing a MIDI file which unexpectedly ends" reported by Matt Giuca, ticket #92
* reformat fluid_midi.c source according to the coding style.
2010-10-23 18:20:39 +00:00
Pedro Lopez-Cabanillas 05ee2306b1 support for "audio.coreaudio.device" option in Mac OSX CoreAudio driver 2010-10-22 20:33:26 +00:00
Pedro Lopez-Cabanillas ea92438beb Don't enable PortAudio support by default 2010-10-19 21:30:29 +00:00
David Henningsson 2180d58ade Allow sample rates down to 8 kHz (fixup) 2010-10-18 05:32:34 +00:00
Pedro Lopez-Cabanillas eafe95f808 Mac CoreAudio driver adapted to AuHAL 2010-10-17 18:12:30 +00:00
David Henningsson e25feb62d0 Fixup previous commit so that it actually compiles, and change
sample rate to use fluid_real_t all the way through.
2010-10-17 10:43:48 +00:00
David Henningsson f84a9b9885 Fix incorrect samplerate for reverb and chorus, closes ticket #89.
Thanks to jaz001 for the patch!
2010-10-17 10:27:18 +00:00
David Henningsson 2479c03b78 Code cleanup, and remove unnecessary atomicy and shadow variables,
now that the new architecture is in place.
2010-10-17 10:20:57 +00:00
Pedro Lopez-Cabanillas 2e16dd1a46 fixed creation of the file "fluidsynth.pc", using the new *_INSTALL_DIR variables
removed the deprecated macro "CreateLibtoolFile" (unused)
renamed LT_VERSION_* variables as LIB_VERSION_*
2010-10-16 18:27:29 +00:00
Pedro Lopez-Cabanillas 67047a0327 CMake build system fix for ticket #90: install dirs configurable 2010-10-16 17:27:47 +00:00
Pedro Lopez-Cabanillas e6eeb05b28 CMake build system fix: unset the variables created by check_pkg_modules() allowing to disable optional features that were formerly enabled
New macro: unset_pkg_config()
The unset() command requires CMake 2.6.3 or newer
2010-10-16 15:36:06 +00:00
Pedro Lopez-Cabanillas a4e04f982a preliminary CPack support (creates source and binary tarballs):
$ make package
$ make package_source
2010-10-14 21:07:17 +00:00
Pedro Lopez-Cabanillas 304d6a0875 * Preliminary support for creating in MacOSX a "FluidSynth.framework"
* Platform dependent options scoped to only the relevant platform
* Fixed warning in fluid_synth.c
2010-10-13 21:57:19 +00:00
David Henningsson cb2b88a108 Add 1.1.3 devdoc section 2010-10-11 00:54:50 +00:00
David Henningsson 548798ff42 Update version number to 1.1.3 2010-10-08 19:23:36 +00:00
David Henningsson e4f9662482 Fix race condition causing alsa_raw and alsa_seq drivers not to exit 2010-10-08 08:15:13 +00:00
David Henningsson 534a6f8b14 Fix build problem with scummvm, thanks to Ebrahim Mayat 2010-10-08 07:07:36 +00:00
David Henningsson da430d9d1a Allow sample rates down to 8 kHz 2010-10-06 06:15:45 +00:00
David Henningsson 25a3453eef Fixup fluid_synth_nwrite_float 2010-09-30 06:04:25 +00:00
Pedro Lopez-Cabanillas 07711903a3 fix for ticket #87: Noise when using more than 1 stereo channel 2010-09-28 20:14:35 +00:00
Pedro Lopez-Cabanillas ad23ded3e3 initialize CMAKE_INSTALL_NAME_DIR for Mac OSX 2010-09-24 20:26:36 +00:00
Pedro Lopez-Cabanillas bc9bc38229 Fix: DllMain creation/destroy of the window handle, by Andy Fillebrown 2010-09-20 21:43:18 +00:00
David Henningsson b86c115898 Small optimization by not starting threads not likely to be used 2010-09-12 20:10:42 +00:00