Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Add a method to specifying MIDI SysEx messages | Chris Robinson | 2013-11-29 | 1 | -0/+1 |
| | |||||
* | Add infrastructure for handling SysEx MIDI events | Chris Robinson | 2013-11-29 | 1 | -1/+7 |
| | |||||
* | Add a method to stop MIDI playback | Chris Robinson | 2013-11-28 | 1 | -0/+1 |
| | | | | | Unlike pausing, this resets the MIDI clock time to 0, clears the existing event queue, stops all MIDI sounds, and resets MIDI controllers. | ||||
* | Add a method to load a soundfont | Chris Robinson | 2013-11-28 | 1 | -0/+1 |
| | |||||
* | Start a MIDI interface extension | Chris Robinson | 2013-11-28 | 1 | -1/+8 |
| | |||||
* | Create and use a MidiSynth on playback devices | Chris Robinson | 2013-11-27 | 2 | -0/+28 |
| | |||||
* | Use a 64-bit uint for MIDI event times | Chris Robinson | 2013-11-27 | 1 | -2/+4 |
| | |||||
* | Add a MIDI event queue | Chris Robinson | 2013-11-27 | 1 | -0/+23 |
| | | | | In preparation for a MIDI extension. | ||||
* | Add min/max/clamp methods for doubles | Chris Robinson | 2013-11-27 | 1 | -0/+4 |
| | |||||
* | Add a macro for GCC to ensure stack alignment | Chris Robinson | 2013-11-25 | 5 | -13/+6 |
| | |||||
* | Use a macro to help condense some repeated code | Chris Robinson | 2013-11-24 | 1 | -148/+89 |
| | |||||
* | Add some missing 'static's | Chris Robinson | 2013-11-24 | 1 | -4/+4 |
| | |||||
* | Apply HRTF coefficient stepping separately | Chris Robinson | 2013-11-10 | 4 | -72/+15 |
| |