Commit graph

277 commits

Author SHA1 Message Date
Josh Green
ac93e45103 Tuning system should now be thread safe.
Added reference counting to fluid_tuning_t.
Added fluid_tuning_duplicate() to duplicate a tuning.
Added FLUID_EVENT_QUEUE_ELEM_(SET_TUNING/REPL_TUNING/UNREF_TUNING) events.
The tuning iterator functions now use a thread private variable to be thread safe.
Tuning changes can now be activated in realtime (existing voices updated).
Added fluid_synth_get_event_elem() helper function.
Added fluid_atomic_float_(get/set) which use automic integer functions and memcpy.
CPU load should now be thread safe (using atomic integer functions to get/set float value).
Added missing free of thread_queues private in delete_fluid_synth().
Added conversion macros to/from integers and pointers.
Some cleanup in fluid_voice_calculate_gen_pitch() and made it public to libfluidsynth, used to activate tuning changes in realtime.
2009-09-25 00:56:48 +00:00
Josh Green
e5c832c587 Merged fluidsynth_event_queue branch r207:223 into trunk. 2009-09-22 07:04:07 +00:00
David Henningsson
cf39719f5d Remove some debug messages which were added in the last commit 2009-08-14 19:40:50 +00:00
David Henningsson
c914b41476 Fix scaletune error (ticket #26) and synth reset between songs (ticket #31) 2009-08-14 19:37:07 +00:00
David Henningsson
bacd8dbe37 Fix build problem on Solaris (fixes ticket #52) 2009-07-30 08:38:42 +00:00
David Henningsson
17d65e2889 Implement fluid_player_set_loop (fixes ticket #33), fix small memory leak in midi player. 2009-07-28 12:39:06 +00:00
David Henningsson
0f79f2f496 Removed GPL violation (code ripped from USB-MIDI driver rewritten) 2009-07-28 10:48:59 +00:00
David Henningsson
65f822722e Simple clarification regarding synth->effect_channels and fx_left_buf/fx_right_buf 2009-07-27 10:51:05 +00:00
David Henningsson
fa4be13951 Set default reverb level back to zero. 2009-07-09 04:24:30 +00:00
David Henningsson
94e1720aa5 Fix default values to be more consistent with MIDI spec. Also fixes ticket #29 2009-07-08 09:42:17 +00:00
David Henningsson
c67206e383 Fix spelling errors 2009-06-22 19:15:57 +00:00
David Henningsson
f831f48db5 Fix correct man page section 2009-06-18 09:26:31 +00:00
David Henningsson
174ad10e1b Call sample timers before processing block to get better latency 2009-06-07 08:10:09 +00:00
Josh Green
22edb56803 src/Makefile.am: Added -Wl,--as-needed to cut down on dependencies.
src/ fluid_synth.c: Declared functions as static which are local,
  removed useless fluid_synth_verify_settings function.
src/fluid_synth.h: Removed declarations which are now static.
src/fluid_voice.c: Declared functions as static which are local.
src/fluid_voice.h: Removed declarations which are now static,
  added note concerning fluid_voice_gen_value being declared but not used.
2009-06-07 05:16:47 +00:00
David Henningsson
20949ac440 Use sequencer as a buffer for incoming midi events to ensure thread safety (ticket #43). Note: should be reverted once the synth has better thread safety on its own. 2009-06-04 20:41:15 +00:00
David Henningsson
e25765e61b Enable sequencer to accept all types of events that MIDI threads can generate. Change behavior of fluid_sequencer_send_at to ensure thread safety. 2009-06-04 20:31:06 +00:00
David Henningsson
a8bffeb370 Avoid segfault in midi router command handler. Closes ticket #45. 2009-05-14 23:59:30 +00:00
David Henningsson
76b598313a Add functions to get all valid audio/midi driver names (fixes ticket #41) 2009-05-09 14:51:22 +00:00
David Henningsson
4880b8e574 Fix two memory leaks in the sequencer. 2009-05-04 05:51:25 +00:00
David Henningsson
7993412330 Modify sequencer to (optionally) use sample timer instead of system timer 2009-05-03 11:32:44 +00:00
Josh Green
95e985b4c9 Removed WIN32 use of recv() in fluid_istream_gets() since it is also used for stdin. Probably wont work for WIN32 TCP sockets though. 2009-05-02 19:58:23 +00:00
Pedro Lopez-Cabanillas
70aff30d4b fix for win32 build 2009-05-01 19:06:49 +00:00
Pedro Lopez-Cabanillas
4709880402 Doxygen documentation: license changed to CC-BY-SA 3.0
Modules created: audio and settings
2009-05-01 17:26:42 +00:00
Josh Green
83b5ac65ec Added doc/README with info on building API docs and online doc link. 2009-05-01 07:08:36 +00:00
Josh Green
d5cf08dd14 Changed the Doxygen API: 1.1.0 stuff to @since: 1.1.0. 2009-04-29 04:31:11 +00:00
Josh Green
5394a4e81e Fixed build by removing paste duplicates in fluid_filerenderer.c and some other misc stuff. 2009-04-27 19:55:08 +00:00
Josh Green
5fcedecdfd glib is now a dependency, lots of platform specific code moved to glib, implemented initial WIN32 TCP socket code (not tested). 2009-04-27 19:13:49 +00:00
David Henningsson
7de961292b Sample timers and fast MIDI-file rendering (fixes ticket #15) 2009-04-25 15:17:15 +00:00
Pedro Lopez-Cabanillas
648a9f155b * Documentation revision for 1.1.0 2009-04-20 21:10:55 +00:00
Josh Green
90625a557d Fixed build after recently removing sf2 directory and example.sf2. 2009-04-20 03:42:37 +00:00
Josh Green
6f84d0eb2e Removed sf2 directory and non-DFSG compliant VintageDreamsWaves-v2.sf2.
Removed doc/example.sf2 which was an excerpt from VintageDreamsWaves-v2.sf2.
Removed doc/midi_time.txt which was a note by Peter Hanappe on MIDI timing, but no longer needed in the source tree.
2009-04-20 00:50:41 +00:00
David Henningsson
2c1b6570e6 Fixed sample rate warning message 2009-04-15 04:29:11 +00:00
David Henningsson
9ca6718553 Fix bank selection logic, as reported by D Bartolec 2009-04-15 04:08:16 +00:00
Josh Green
78e8b1c14e Version 1.0.9, bumped version, no library interface changes, removed
doc/html and doc/api directories from EXTRA_DIST, MIDI channel now 
displayed when a preset is substituted.
2009-04-12 05:11:20 +00:00
Pedro Lopez-Cabanillas
c3f3fa3762 * fixed compilation under MSVC 2008 and older. 2009-04-02 18:28:07 +00:00
Josh Green
251f96524c Removed ltconfig, fixes to FluidSynth man page, re-order of default
driver selection, implemented preset selection fallback logic.
2009-03-16 01:37:21 +00:00
Josh Green
b28c01954a New jack MIDI driver, updated README-OSX. 2009-03-09 05:48:04 +00:00
Pedro Lopez-Cabanillas
7e96e922d9 Fixed changelog 2009-03-02 21:22:05 +00:00
Pedro Lopez-Cabanillas
af673afaba Fix for ticket #22 - Wrong tempo changes 2009-02-28 23:16:36 +00:00
Pedro Lopez-Cabanillas
5b4387e332 Fixed Jack driver in "audio.jack.multi=yes" mode.
This mode allows multiple audio outputs, typically one for each MIDI input channel. It was unavailable while using audio feedback callback, for instance in QSynth when peak level meters were enabled. This has been fixed by Bernat, and backported from the FluidSynth-2.x branch (ticket #21, changeset 154)
2009-02-22 09:52:32 +00:00
Josh Green
b49458e817 Applied patch from KO Myung-Hun for OS/2 support including Dart audio driver. 2009-02-04 07:45:44 +00:00
Pedro Lopez-Cabanillas
7f3e9a171f updated man page and CLI help, option: -p, --portname 2009-02-02 21:48:08 +00:00
Pedro Lopez-Cabanillas
ecd0da8ba9 Revision of the overhauled PortAudio driver.
* Use the name "PortAudio" everywhere
* Default device name: "PortAudio Default" solves the clash with the ALSA "default" device.
* enumerate only devices with 2 or more output channels available (ignore input only devices)
* use Pa_GetDefaultOutputDevice() instead of 0 for the default device index
* assign the device index for the requested device name when it matches one.
2009-01-31 23:18:46 +00:00
Bernat Arlandis i Mañó
f0a5100f2c Reverted changeset #144. See ticket #11. 2009-01-29 23:05:59 +00:00
Josh Green
904fba7155 Overhauled PortAudio driver for PortAudio V19 API. 2009-01-29 09:21:34 +00:00
Josh Green
f9e1a0e677 Latest README-OSX from Ebrahim Mayat. 2009-01-28 18:20:48 +00:00
Pedro Lopez-Cabanillas
822221df19 Settings (midi.portname and midi.coremidi.id) added to the CoreMIDI driver 2009-01-26 21:15:33 +00:00
Bernat Arlandis i Mañó
e4409a8641 Fixed vel2fc default modulator. 2009-01-24 16:46:59 +00:00
Bernat Arlandis i Mañó
15322a71ba Added MIDI channel pressure. 2009-01-22 16:47:21 +00:00
Norbert Schnell
ce3002381a - increased version counter 2009-01-18 12:26:27 +00:00