aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Fix copy-paste errors in error messagesChris Robinson2013-12-291-2/+2
|
* Accumulate with default modulator amountsChris Robinson2013-12-291-0/+20
|
* Add support for the fontsound loop modeChris Robinson2013-12-293-4/+8
|
* Ensure the soundfont version is 2.xChris Robinson2013-12-281-2/+28
|
* Add alLoadSoundfontSOFT to load a soundfont via callbackChris Robinson2013-12-283-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 FluidSynthChris Robinson2013-12-271-21/+50
|
* Create a custom fluid_sfloader_t loaderChris Robinson2013-12-271-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 soundfontsChris Robinson2013-12-275-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 listChris Robinson2013-12-261-49/+11
|
* Allow specifying key and velocity ranges on fontsoundsChris Robinson2013-12-261-0/+4
|
* Add methods to set and get sounds on a presetChris Robinson2013-12-251-0/+1
|
* Store a list of sounds in the presetChris Robinson2013-12-251-0/+9
|
* Remove the zone, sample, and instrument object typesChris Robinson2013-12-252-204/+0
|
* Add methods to add generators and modulators to fontsoundsChris Robinson2013-12-251-0/+71
|
* Add a new fontsound object typeChris Robinson2013-12-252-0/+60
| | | | This is basically a combined preset and intrument zone with sample header.
* Add methods to get and set presets on a soundfontChris Robinson2013-12-231-0/+2
|
* Add methods to get and set a preset object's preset and bank numbersChris Robinson2013-12-232-0/+6
|
* Make sure key and velocity ranges are the first two generatorsChris Robinson2013-12-211-0/+28
|
* Free thunk entry in the object destructorChris Robinson2013-12-201-0/+4
|
* Better protect against improper alSoundfontSamplesSOFT callsChris Robinson2013-12-201-0/+1
|
* Use a different autowah filter rangeChris Robinson2013-12-201-1/+1
| | | | Still just guesses, but this seems to avoid math problems with low peak gains.
* Add functions to set a soundfont's sample dataChris Robinson2013-12-192-0/+5
|
* Fix compiling without FluidSynthChris Robinson2013-12-191-5/+4
|
* Allow creating instrument objectsChris Robinson2013-12-191-0/+13
|
* Rename some ALsoundfont fieldsChris Robinson2013-12-191-5/+5
|
* Add methods to create and destroy presetsChris Robinson2013-12-191-0/+13
|
* Properly initialize and cleanup the soundfont mapChris Robinson2013-12-181-0/+11
|
* Add a new ALsoundfont object typeChris Robinson2013-12-182-66/+280
| | | | | Includes a basic hierarchy for presets, instruments, samples, zones, generators, and modulators.
* Fix header guard and remove duplicate codeChris Robinson2013-12-181-3/+3
|
* Move the base MidiSynth to a separate fileChris Robinson2013-12-176-4/+360
|
* Move the dummy MIDI handler to a separate fileChris Robinson2013-12-171-0/+132
|
* Move FluidSynth to its own fileChris Robinson2013-12-171-0/+359
|
* Add a alMidiResetSOFT method to reset the synthChris Robinson2013-12-131-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 Robinson2013-12-081-2/+2
|
* Rename pthread wrappers used for Windows to althreadChris Robinson2013-12-063-33/+47
|
* Add methods to set and get the MIDI gainChris Robinson2013-11-301-0/+1
|
* Add a method to check if a file is a soundfontChris Robinson2013-11-301-0/+1
|
* Add a method to specifying MIDI SysEx messagesChris Robinson2013-11-291-0/+1
|
* Add infrastructure for handling SysEx MIDI eventsChris Robinson2013-11-291-1/+7
|
* Add a method to stop MIDI playbackChris Robinson2013-11-281-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 soundfontChris Robinson2013-11-281-0/+1
|
* Start a MIDI interface extensionChris Robinson2013-11-281-1/+8
|
* Create and use a MidiSynth on playback devicesChris Robinson2013-11-272-0/+28
|
* Use a 64-bit uint for MIDI event timesChris Robinson2013-11-271-2/+4
|
* Add a MIDI event queueChris Robinson2013-11-271-0/+23
| | | | In preparation for a MIDI extension.
* Add min/max/clamp methods for doublesChris Robinson2013-11-271-0/+4
|
* Add a macro for GCC to ensure stack alignmentChris Robinson2013-11-255-13/+6
|
* Use a macro to help condense some repeated codeChris Robinson2013-11-241-148/+89
|
* Add some missing 'static'sChris Robinson2013-11-241-4/+4
|
* Apply HRTF coefficient stepping separatelyChris Robinson2013-11-104-72/+15
|