Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Force all FluidSynth sounds off when changing soundfonts | Chris Robinson | 2013-12-31 | 1 | -1/+6 |
| | | | | | | | Selecting soundfonts should only happen when the MIDI engine is stopped or reset. When stopped some notes may be left in a release phase, but we need to ensure all fluid_sample_t objects are finished before unloading since the soundfont (and associated sample memory) may be deleted at any time afterward. | ||||
* | Remove some unused MIDI backend methods | Chris Robinson | 2013-12-29 | 3 | -86/+0 |
| | |||||
* | Don't destroy the fluid_sfont_t if any of its samples are still playing | Chris Robinson | 2013-12-29 | 1 | -0/+20 |
| | | | | | FluidSynth apparently doesn't check for this itself before calling the free callback. | ||||
* | Update soundfont selection functions | Chris Robinson | 2013-12-29 | 1 | -1/+1 |
| | | | | | A filename is no longer specified, and alMidiSoundfontsSOFT is renamed to alMidiSoundfontvSOFT. | ||||
* | Add the last remaining "real-time" properties | Chris Robinson | 2013-12-29 | 3 | -8/+23 |
| | |||||
* | Add chorus and reverb send properties | Chris Robinson | 2013-12-29 | 3 | -2/+9 |
| | |||||
* | Check for negative soundfont indices getting passed to the loader | Chris Robinson | 2013-12-29 | 1 | -1/+1 |
| | |||||
* | Add pan and attenuation properties | Chris Robinson | 2013-12-29 | 3 | -6/+15 |
| | |||||
* | Add tuning properties | Chris Robinson | 2013-12-29 | 3 | -4/+13 |
| | |||||
* | Add filter properties | Chris Robinson | 2013-12-29 | 3 | -5/+16 |
| | |||||
* | Add modulation envelope properties | Chris Robinson | 2013-12-29 | 3 | -8/+25 |
| | |||||
* | Add a few more pitch properties | Chris Robinson | 2013-12-29 | 3 | -3/+10 |
| | |||||
* | Add volume envelope properties | Chris Robinson | 2013-12-29 | 3 | -8/+25 |
| | |||||
* | Fix copy-paste errors in error messages | Chris Robinson | 2013-12-29 | 1 | -2/+2 |
| | |||||
* | Accumulate with default modulator amounts | Chris Robinson | 2013-12-29 | 1 | -0/+20 |
| | |||||
* | Add support for the fontsound loop mode | Chris Robinson | 2013-12-29 | 3 | -4/+8 |
| | |||||
* | Ensure the soundfont version is 2.x | Chris Robinson | 2013-12-28 | 1 | -2/+28 |
| | |||||
* | Add alLoadSoundfontSOFT to load a soundfont via callback | Chris Robinson | 2013-12-28 | 3 | -0/+1296 |
| | | | | | | | | | | | | | | | | | | | | | Some hefty caveats: This function is not thread-safe. In particular, the current context affecting the thread must not be changed, and the provided soundfont must not be altered while the function is executing. Ideally, this will be fixed. Error handling is poor. Some RIFF structure errors may not be caught (e.g. sub- chunks with sizes greater than the parent chunk allows for), and generated AL errors are ignored, possibly leading to resource leaks in certain situations. These should be fixed in time. There is minimal error checking on the provided soundfont ID. It does not ensure a valid ID has been provided, nor does it ensure the provided soundfont can be modified. These short-comings should be fixed eventually. Proper cleanup is the responsibility of the caller. The caller must get the preset objects from the soundfont before deleting it, and the fontsound objects from each preset before deleting them, to make sure all resources are properly deleted. | ||||
* | Allow loading multiple soundfonts with FluidSynth | Chris Robinson | 2013-12-27 | 1 | -21/+50 |
| | |||||
* | Create a custom fluid_sfloader_t loader | Chris Robinson | 2013-12-27 | 1 | -4/+299 |
| | | | | | | | This allows us to load and use soundfont objects the app specifies (the first one, at least), rather than having to load from a file. It doesn't sound that good since modulators and most generators aren't yet available, but this will steadily improve. | ||||
* | Add a method to set and get soundfonts | Chris Robinson | 2013-12-27 | 5 | -0/+53 |
| | | | | | The main purpose of this is to select soundfonts for playback, eventually, instead of the existing method that takes a filename. | ||||
* | Remove the generator list | Chris Robinson | 2013-12-26 | 1 | -49/+11 |
| | |||||
* | Allow specifying key and velocity ranges on fontsounds | Chris Robinson | 2013-12-26 | 1 | -0/+4 |
| | |||||
* | Add methods to set and get sounds on a preset | Chris Robinson | 2013-12-25 | 1 | -0/+1 |
| | |||||
* | Store a list of sounds in the preset | Chris Robinson | 2013-12-25 | 1 | -0/+9 |
| | |||||
* | Remove the zone, sample, and instrument object types | Chris Robinson | 2013-12-25 | 2 | -204/+0 |
| | |||||
* | Add methods to add generators and modulators to fontsounds | Chris Robinson | 2013-12-25 | 1 | -0/+71 |
| | |||||
* | Add a new fontsound object type | Chris Robinson | 2013-12-25 | 2 | -0/+60 |
| | | | | This is basically a combined preset and intrument zone with sample header. | ||||
* | Add methods to get and set presets on a soundfont | Chris Robinson | 2013-12-23 | 1 | -0/+2 |
| | |||||
* | Add methods to get and set a preset object's preset and bank numbers | Chris Robinson | 2013-12-23 | 2 | -0/+6 |
| | |||||
* | Make sure key and velocity ranges are the first two generators | Chris Robinson | 2013-12-21 | 1 | -0/+28 |
| | |||||
* | Free thunk entry in the object destructor | Chris Robinson | 2013-12-20 | 1 | -0/+4 |
| | |||||
* | Better protect against improper alSoundfontSamplesSOFT calls | Chris Robinson | 2013-12-20 | 1 | -0/+1 |
| | |||||
* | Use a different autowah filter range | Chris Robinson | 2013-12-20 | 1 | -1/+1 |
| | | | | Still just guesses, but this seems to avoid math problems with low peak gains. | ||||
* | Add functions to set a soundfont's sample data | Chris Robinson | 2013-12-19 | 2 | -0/+5 |
| | |||||
* | Fix compiling without FluidSynth | Chris Robinson | 2013-12-19 | 1 | -5/+4 |
| | |||||
* | Allow creating instrument objects | Chris Robinson | 2013-12-19 | 1 | -0/+13 |
| | |||||
* | Rename some ALsoundfont fields | Chris Robinson | 2013-12-19 | 1 | -5/+5 |
| | |||||
* | Add methods to create and destroy presets | Chris Robinson | 2013-12-19 | 1 | -0/+13 |
| | |||||
* | Properly initialize and cleanup the soundfont map | Chris Robinson | 2013-12-18 | 1 | -0/+11 |
| | |||||
* | Add a new ALsoundfont object type | Chris Robinson | 2013-12-18 | 2 | -66/+280 |
| | | | | | Includes a basic hierarchy for presets, instruments, samples, zones, generators, and modulators. | ||||
* | Fix header guard and remove duplicate code | Chris Robinson | 2013-12-18 | 1 | -3/+3 |
| | |||||
* | Move the base MidiSynth to a separate file | Chris Robinson | 2013-12-17 | 6 | -4/+360 |
| | |||||
* | Move the dummy MIDI handler to a separate file | Chris Robinson | 2013-12-17 | 1 | -0/+132 |
| | |||||
* | Move FluidSynth to its own file | Chris Robinson | 2013-12-17 | 1 | -0/+359 |
| | |||||
* | Add a alMidiResetSOFT method to reset the synth | Chris Robinson | 2013-12-13 | 1 | -0/+1 |
| | | | | | Playback is stopped, the queue is flushed, the clock is reset to 0, and the MIDI system is reset to power-up status. | ||||
* | Fix numeric constant type (double->float) | Chris Robinson | 2013-12-08 | 1 | -2/+2 |
| | |||||
* | Rename pthread wrappers used for Windows to althread | Chris Robinson | 2013-12-06 | 3 | -33/+47 |
| | |||||
* | Add methods to set and get the MIDI gain | Chris Robinson | 2013-11-30 | 1 | -0/+1 |
| | |||||
* | Add a method to check if a file is a soundfont | Chris Robinson | 2013-11-30 | 1 | -0/+1 |
| |