Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Add a cast to silence an MSVC warning | Chris Robinson | 2014-05-04 | 1 | -2/+3 |
| | |||||
* | Trace skipped info sub-chunks | Chris Robinson | 2014-05-04 | 1 | -0/+2 |
| | |||||
* | Use ALuint for the amount to skip | Chris Robinson | 2014-05-04 | 1 | -1/+1 |
| | |||||
* | Add a GCC-specific STATIC_UPCAST macro that checks the object type | Chris Robinson | 2014-04-19 | 1 | -1/+1 |
| | | | | | The check is compile time, and is functionally identical to the old/alternate version. | ||||
* | Add a VECTOR_INSERT method to insert a range of elements at once | Chris Robinson | 2014-04-09 | 1 | -10/+6 |
| | |||||
* | Fix a NULL deref when cloning a 0-sized vector | Chris Robinson | 2014-04-09 | 1 | -6/+11 |
| | |||||
* | Remove setState from the MidiSynth vtable | Chris Robinson | 2014-03-23 | 4 | -11/+0 |
| | |||||
* | Add some integer casts, and a range check | Chris Robinson | 2014-03-23 | 1 | -1/+1 |
| | |||||
* | Add a stub 'soft' MIDI synth handler | Chris Robinson | 2014-03-22 | 2 | -0/+143 |
| | | | | | Eventually this one will be used to handle MIDI internally, using our own mixers and resamplers. | ||||
* | Use a void* for the MidiSynth Delete method param | Chris Robinson | 2014-03-22 | 3 | -18/+9 |
| | |||||
* | Avoid a size_t-to-ALuint conversion warning | Chris Robinson | 2014-03-21 | 1 | -1/+1 |
| | |||||
* | Increase the vector reserve as needed when pushing in new items | Chris Robinson | 2014-03-21 | 1 | -19/+8 |
| | |||||
* | Rename the vector's Max field to Capacity | Chris Robinson | 2014-03-21 | 1 | -8/+8 |
| | |||||
* | Use vectors for the GenModList | Chris Robinson | 2014-03-21 | 1 | -166/+98 |
| | |||||
* | Add an explicit cast to make Windows happy | Chris Robinson | 2014-02-26 | 1 | -2/+2 |
| | |||||
* | Slightly shorten a long line | Chris Robinson | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Rework MIDI clock timing | Chris Robinson | 2014-02-02 | 4 | -123/+62 |
| | | | | | | 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. | ||||
* | Use nanosecond resolution for MIDI | Chris Robinson | 2014-02-01 | 1 | -2/+2 |
| | | | | | This makes the MIDI clock use the same resolution as the device clock and source latency and the device clock. | ||||
* | Properly fill the SF2 sample buffer on big endian | Chris Robinson | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Fix an infinite loop when loading SF2 samples on big endian machines | Chris Robinson | 2014-02-01 | 1 | -2/+5 |
| | |||||
* | Check and trace INFO properties when reading them | Chris Robinson | 2014-01-19 | 1 | -3/+9 |
| | |||||
* | Check for 0-sized sf2 structure arrays | Chris Robinson | 2014-01-17 | 1 | -18/+18 |
| | |||||
* | Remove redundancy in a couple error messages | Chris Robinson | 2014-01-17 | 1 | -2/+2 |
| | |||||
* | Put the version and irom storage into the Soundfont struct | Chris Robinson | 2014-01-17 | 1 | -13/+18 |
| | |||||
* | Fix a couple warning messages to show the correct instrument ID | Chris Robinson | 2014-01-17 | 1 | -8/+8 |
| | |||||
* | Partially handle the irom sub-chunk | Chris Robinson | 2014-01-17 | 1 | -3/+30 |
| | | | | Reject soundfonts that have ROM sample types without a valid irom sub-chunk. | ||||
* | Better handle original key and overriding root key | Chris Robinson | 2014-01-17 | 1 | -3/+10 |
| | |||||
* | Rename aftertouch to keypressure | Chris Robinson | 2014-01-17 | 2 | -3/+3 |
| | |||||
* | 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 | 2 | -13/+41 |
| | | | | | | 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 | 2 | -13/+30 |
| | | | | And make sure the loop mode is properly translated for FluidSynth. | ||||
* | Use the 64-bit clamp method when getting the MIDI clock time | Chris Robinson | 2014-01-15 | 1 | -1/+1 |
| | |||||
* | Don't reset presets when loading/unloading soundfonts | Chris Robinson | 2014-01-13 | 1 | -2/+2 |
| | |||||
* | Be more thorough when converting sf2 modulator properties | Chris Robinson | 2014-01-13 | 1 | -30/+58 |
| | |||||
* | Use FluidSynth enums when handling generators | Chris Robinson | 2014-01-13 | 1 | -74/+78 |
| | |||||
* | Add a method to get the current MIDI state | Chris Robinson | 2014-01-12 | 2 | -0/+2 |
| | |||||
* | Don't break with an override root key generator value of -1 | Chris Robinson | 2014-01-06 | 1 | -1/+1 |
| | | | | An accidental hold-over from when it was using a switch. | ||||
* | Load soundfont modulators into FluidSynth | Chris Robinson | 2014-01-06 | 1 | -1/+101 |
| | |||||
* | Add methods to get and set modulator properties on fontsounds | Chris Robinson | 2014-01-05 | 1 | -1/+52 |
| | |||||
* | Move some soundfont methods to ALsoundfont | Chris Robinson | 2014-01-05 | 2 | -95/+1 |
| | |||||
* | Allow "deleting" the default soundfont | Chris Robinson | 2014-01-04 | 2 | -0/+50 |
| | | | | | 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. | ||||
* | Trace preset, instrument, and sample names with invalid key and velocity ranges | Chris Robinson | 2014-01-04 | 1 | -8/+8 |
| | |||||
* | Don't create presets that don't have any usable sounds | Chris Robinson | 2014-01-04 | 1 | -6/+5 |
| | |||||
* | Update some trace messages to be more useful | Chris Robinson | 2014-01-03 | 2 | -6/+7 |
| | |||||
* | Allow selecting the default soundfont using ID 0 | Chris Robinson | 2014-01-03 | 4 | -11/+58 |
| | |||||
* | Remove an unused method | Chris Robinson | 2014-01-03 | 2 | -13/+0 |
| | |||||
* | Move ALsoundfont methods to the right source file | Chris Robinson | 2014-01-03 | 1 | -38/+0 |
| | |||||
* | Avoid using alFontsoundiSOFT when loading a soundfont | Chris Robinson | 2014-01-03 | 1 | -3/+3 |
| | | | | This should now make the soundfont loader thread-safe. |