[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[iiwusynth-devel] Lates CVS changes
From: |
Peter Hanappe |
Subject: |
[iiwusynth-devel] Lates CVS changes |
Date: |
Mon, 02 Dec 2002 19:34:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 |
Hi all,
I did a pretty big CVS commit this evening. An overview follows. The
changes have only been tested on Linux on i386 hardware.
Hope I didn't break too much stuff!
Peter
----
New features:
- Multi-channel audio output: currently only the JACK audio driver
outputs multi-channel audio. Other drivers work as
before. Application developers can use the new fields in the
'iiwu_settings_t' structure and the function
'iiwu_synth_nwrite_float' to get multi-channel audio.
- Variable number of MIDI channels: The number of MIDI channels can be
set in the 'iiwu_settings_t' structure.
- Unload soundfonts: 'iiwu_synth_sfunload' has become smarter. If a
soundfont is still being used, a timer thread will unload the
soundfont later. On MacOS 9, the synth will try to unload the
soundfont in subsequent calls to 'sfload' and 'sfunload'.
- CPU load: Use 'iiwu_synth_get_cpu_load' to get an estimation of the
CPU load (in %). Should work on Windows, not yet available on
PowerPC.
Fixes:
- Pan should work correctly.
- chorus_set_xyz: The function does not return an error for
out-o-range values but clips them to the [min-max] range.
MIDI stuff:
- Implemented ALL_SOUNDS_OFF (MIDI CC 120)
- Implemented ALL_CTRL_OFF (MIDI CC 121)
- Reviewed SYSTEM_RESET message (iiwu_synth_system_reset): all sounds
are turned off immediately, reverb & chorus delay lines are cleared,
MIDI controllers on all channels are reset to defaults
API changes:
- iiwu_sample_t: Added 'refcount' to indicate how many voices use the
sample. Removed the 'valid' field.
- The callback free() in the structure iiwu_sfont_t should return a
non-zero value if some of it's samples are still in use.
- iiwu_settings_t: Removed 'flags'. It has been replaced by a series
of fields: 'with_reverb', 'with_chorus', 'create_audio_thread', ...
- new_iiwu_timer: New creation flag 'auto_destroy'
iiwusynth, the application:
- Prints out welcome and warranty message
- Shows a 'prompt'
- New options:
--midi-channels, -K
--audio-channels, -L
- [iiwusynth-devel] Lates CVS changes,
Peter Hanappe <=