Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Load soundfont samples into an ALbuffer | Chris Robinson | 2014-06-29 | 1 | -2/+2 |
| | | | | | Also remove ALsoundfont's now-unneeded sample storage functions and struct fields. | ||||
* | Store and use an ALbuffer for samples in an ALfontsound | Chris Robinson | 2014-06-29 | 1 | -3/+5 |
| | | | | | | | | The fontsound still maintains its own start, end, and loop offsets, so that the same buffer may be shared between multiple/all fontsounds. Ideally a single buffer should be used for all fontsounds to avoid memory fragmentation and help CPU caching, although higher quality soundfonts may need more memory than a single buffer can hold. | ||||
* | Remove setState from the MidiSynth vtable | Chris Robinson | 2014-03-23 | 1 | -6/+0 |
| | |||||
* | Use a void* for the MidiSynth Delete method param | Chris Robinson | 2014-03-22 | 1 | -8/+3 |
| | |||||
* | Slightly shorten a long line | Chris Robinson | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Rework MIDI clock timing | Chris Robinson | 2014-02-02 | 1 | -41/+31 |
| | | | | | | It's best to avoid using doubles in the mixer since the FPU's set to single- precision mode. The new clock timing is similar to the device clock timing, and should hopefully be less prone to drift caused by fp rounding errors. | ||||
* | Rename aftertouch to keypressure | Chris Robinson | 2014-01-17 | 1 | -2/+2 |
| | |||||
* | Add a config option to specify the extra MIDI volume scaling | Chris Robinson | 2014-01-17 | 1 | -3/+17 |
| | | | | The value specified is in decibels. | ||||
* | Use a proper struct for envelope properties | Chris Robinson | 2014-01-17 | 1 | -2/+2 |
| | |||||
* | Handle fontsound sample types using explicit enum values | Chris Robinson | 2014-01-15 | 1 | -1/+12 |
| | | | | | | Uses AL_MONO_SOFT, AL_RIGHT_SOFT, and AL_LEFT_SOFT. "Linked" samples types aren't explicitly supported due to being under-defined in the SF2 spec, nor are ROM samples currently. | ||||
* | Use ALfontsound_setPropi to set fontsound sample properties | Chris Robinson | 2014-01-15 | 1 | -1/+12 |
| | | | | And make sure the loop mode is properly translated for FluidSynth. | ||||
* | Don't reset presets when loading/unloading soundfonts | Chris Robinson | 2014-01-13 | 1 | -2/+2 |
| | |||||
* | Use FluidSynth enums when handling generators | Chris Robinson | 2014-01-13 | 1 | -74/+78 |
| | |||||
* | Load soundfont modulators into FluidSynth | Chris Robinson | 2014-01-06 | 1 | -1/+101 |
| | |||||
* | Allow selecting the default soundfont using ID 0 | Chris Robinson | 2014-01-03 | 1 | -5/+5 |
| | |||||
* | 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 | 1 | -42/+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. | ||||
* | Add the last remaining "real-time" properties | Chris Robinson | 2013-12-29 | 1 | -0/+6 |
| | |||||
* | Add chorus and reverb send properties | Chris Robinson | 2013-12-29 | 1 | -0/+2 |
| | |||||
* | 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 | 1 | -0/+2 |
| | |||||
* | Add tuning properties | Chris Robinson | 2013-12-29 | 1 | -0/+3 |
| | |||||
* | Add filter properties | Chris Robinson | 2013-12-29 | 1 | -0/+4 |
| | |||||
* | Add modulation envelope properties | Chris Robinson | 2013-12-29 | 1 | -0/+8 |
| | |||||
* | Add a few more pitch properties | Chris Robinson | 2013-12-29 | 1 | -0/+3 |
| | |||||
* | Add volume envelope properties | Chris Robinson | 2013-12-29 | 1 | -0/+8 |
| | |||||
* | Add support for the fontsound loop mode | Chris Robinson | 2013-12-29 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -0/+1 |
| | | | | | The main purpose of this is to select soundfonts for playback, eventually, instead of the existing method that takes a filename. | ||||
* | Fix compiling without FluidSynth | Chris Robinson | 2013-12-19 | 1 | -5/+4 |
| | |||||
* | Move the base MidiSynth to a separate file | Chris Robinson | 2013-12-17 | 1 | -1/+2 |
| | |||||
* | Move FluidSynth to its own file | Chris Robinson | 2013-12-17 | 1 | -0/+359 |