Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move some soundfont methods to ALsoundfont | Chris Robinson | 2014-01-05 | 2 | -2/+100 |
| | |||||
* | Allow "deleting" the default soundfont | Chris Robinson | 2014-01-04 | 1 | -5/+17 |
| | | | | | The ID remains valid and the soundfont will be reloaded as needed, but this provides a way for the application to clear up the soundfont memory. | ||||
* | Allow querying default soundfont properties | Chris Robinson | 2014-01-04 | 1 | -7/+19 |
| | | | | | Any attempts to modify it or its held objects will result in an AL_INVALID_OPERATION error. | ||||
* | Don't allow min key/vel ranges to exceed max range | Chris Robinson | 2014-01-03 | 1 | -2/+2 |
| | |||||
* | Allow selecting the default soundfont using ID 0 | Chris Robinson | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Add storage for a default soundfont object | Chris Robinson | 2014-01-03 | 4 | -4/+8 |
| | |||||
* | Move ALsoundfont methods to the right source file | Chris Robinson | 2014-01-03 | 1 | -0/+38 |
| | |||||
* | Avoid using alFontsoundiSOFT when loading a soundfont | Chris Robinson | 2014-01-03 | 2 | -201/+210 |
| | | | | This should now make the soundfont loader thread-safe. | ||||
* | Use a uint map for modulators | Chris Robinson | 2014-01-02 | 2 | -10/+15 |
| | |||||
* | Mostly load into fontsound objects directly | Chris Robinson | 2014-01-02 | 2 | -26/+127 |
| | | | | This leaves only one unsafe alFontsoundiSOFT call. | ||||
* | Move some error macros to alError.h | Chris Robinson | 2014-01-02 | 2 | -16/+15 |
| | |||||
* | Move some preset alloc/dealloc code to separate functions | Chris Robinson | 2014-01-02 | 2 | -28/+73 |
| | |||||
* | Move alLoadSoundfontSOFT to alSoundfont.c | Chris Robinson | 2014-01-02 | 2 | -42/+42 |
| | |||||
* | Don't allow soundfonts with existing presets in alLoadSoundfontSOFT | Chris Robinson | 2014-01-01 | 1 | -0/+5 |
| | |||||
* | Pass the ALsoundfont object to loadSf2, rather than its ID | Chris Robinson | 2014-01-01 | 1 | -1/+28 |
| | |||||
* | Remove explicit locking from alMidiSoundfontvSOFT. | Chris Robinson | 2013-12-29 | 1 | -2/+0 |
| | | | | The MIDI backend can lock as it needs. | ||||
* | Update soundfont selection functions | Chris Robinson | 2013-12-29 | 2 | -29/+7 |
| | | | | | A filename is no longer specified, and alMidiSoundfontsSOFT is renamed to alMidiSoundfontvSOFT. | ||||
* | Lock the device while selecting soundfonts | Chris Robinson | 2013-12-29 | 1 | -0/+2 |
| | |||||
* | Add the last remaining "real-time" properties | Chris Robinson | 2013-12-29 | 3 | -0/+68 |
| | |||||
* | Add chorus and reverb send properties | Chris Robinson | 2013-12-29 | 3 | -0/+27 |
| | |||||
* | Add pan and attenuation properties | Chris Robinson | 2013-12-29 | 3 | -0/+26 |
| | |||||
* | Add tuning properties | Chris Robinson | 2013-12-29 | 3 | -13/+47 |
| | |||||
* | Add filter properties | Chris Robinson | 2013-12-29 | 3 | -0/+47 |
| | |||||
* | Add modulation envelope properties | Chris Robinson | 2013-12-29 | 3 | -14/+76 |
| | |||||
* | Add a few more pitch properties | Chris Robinson | 2013-12-29 | 3 | -0/+34 |
| | |||||
* | Add volume envelope properties | Chris Robinson | 2013-12-29 | 3 | -0/+91 |
| | |||||
* | Add support for the fontsound loop mode | Chris Robinson | 2013-12-29 | 3 | -0/+16 |
| | |||||
* | Add alLoadSoundfontSOFT to load a soundfont via callback | Chris Robinson | 2013-12-28 | 2 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Add a method to set and get soundfonts | Chris Robinson | 2013-12-27 | 3 | -8/+92 |
| | | | | | The main purpose of this is to select soundfonts for playback, eventually, instead of the existing method that takes a filename. | ||||
* | Allow specifying all 4 sample types | Chris Robinson | 2013-12-27 | 1 | -1/+1 |
| | | | | ROM-based types will be specified with a separate property | ||||
* | Allow specifying some fontsound sample properties | Chris Robinson | 2013-12-26 | 2 | -1/+113 |
| | |||||
* | Remove the generator list | Chris Robinson | 2013-12-26 | 1 | -14/+5 |
| | |||||
* | Allow specifying key and velocity ranges on fontsounds | Chris Robinson | 2013-12-26 | 2 | -0/+136 |
| | |||||
* | Add methods to set and get sounds on a preset | Chris Robinson | 2013-12-25 | 2 | -0/+66 |
| | |||||
* | Store a list of sounds in the preset | Chris Robinson | 2013-12-25 | 1 | -0/+2 |
| | |||||
* | Remove the zone, sample, and instrument object types | Chris Robinson | 2013-12-25 | 3 | -208/+0 |
| | |||||
* | Add methods to add generators and modulators to fontsounds | Chris Robinson | 2013-12-25 | 1 | -0/+2 |
| | |||||
* | Add a new fontsound object type | Chris Robinson | 2013-12-25 | 3 | -0/+184 |
| | | | | This is basically a combined preset and intrument zone with sample header. | ||||
* | Do not allow deleting preset or instrument ID 0 | Chris Robinson | 2013-12-24 | 2 | -6/+0 |
| | |||||
* | Allow querying the soundfont sample length and format type | Chris Robinson | 2013-12-24 | 2 | -0/+9 |
| | |||||
* | Do not accept preset or instrument ID 0 as valid | Chris Robinson | 2013-12-23 | 2 | -4/+2 |
| | |||||
* | Unlock the soundfont earlier after switching preset lists | Chris Robinson | 2013-12-23 | 1 | -2/+1 |
| | |||||
* | Add methods to get and set presets on a soundfont | Chris Robinson | 2013-12-23 | 2 | -2/+101 |
| | |||||
* | Add methods to get and set a preset object's preset and bank numbers | Chris Robinson | 2013-12-23 | 3 | -2/+111 |
| | |||||
* | Free thunk entry in the object destructor | Chris Robinson | 2013-12-20 | 3 | -9/+0 |
| | |||||
* | Better protect against improper alSoundfontSamplesSOFT calls | Chris Robinson | 2013-12-20 | 2 | -9/+21 |
| | |||||
* | Add functions to set a soundfont's sample data | Chris Robinson | 2013-12-19 | 3 | -1/+89 |
| | |||||
* | Allow creating instrument objects | Chris Robinson | 2013-12-19 | 3 | -0/+158 |
| | |||||
* | Call the right delete method when generating presets fails | Chris Robinson | 2013-12-19 | 1 | -2/+2 |
| | |||||
* | Rename some ALsoundfont fields | Chris Robinson | 2013-12-19 | 1 | -2/+2 |
| |