summaryrefslogtreecommitdiffstats
path: root/examples/say.c
Commit message (Collapse)AuthorAgeFilesLines
* xas woggy pluggy memory leak uwu!!!XANTRONIX Development2022-02-281-0/+1
|
* Allow setting bank player gain separatelyXANTRONIX Development2022-02-281-1/+1
|
* Implement xas_objectXANTRONIX Development2022-02-271-1/+3
| | | | | | | | | | | | | | | Changes: * Implement xas_object as a base "class" for all playback state objects; allow implementation of start() and stop() methods to control playback * Move code for setting gain, bank slot to a new method, xas_bank_player_select() * Remove code from xas_bank_player_start() setting gain, bank slot * Add xas_object header to each monaural playable object
* Refactor src/synth.cXANTRONIX Development2022-02-271-44/+38
| | | | | | | | | Changes: * Implement xas_synth type to consolidate synthesiser implementation and different tone generator types * Refactor examples/ code to remove duplicate synthesiser code
* Change xas_vox_new() argument orderXANTRONIX Development2022-02-261-3/+3
|
* Implement xas_bank_player typeXANTRONIX Development2022-02-231-9/+18
| | | | | | | | | | Changes: * Implement xas_bank_player type to decouple player state from sample storage, to allow multiple concurrent players against a single sample bank * Refactor examples/say.c to use xas_bank_player
* Implement xas_audio_format typeXANTRONIX Development2022-02-091-28/+22
| | | | | | | | | | | Changes: * Implement xas_audio_format struct to provide sample size, channels, and sample rate * Refactor argument order for most functions to allow a reasonable reading of argument types, when replacing three separate size_t arguments with one xas_audio_format object
* Aw fuck itXANTRONIX Development2022-02-061-7/+41
|
* Shorten he name of XAS_AUDIO_ constantsXANTRONIX Development2022-02-031-7/+7
|
* Channel count first seems...nicer, somehow.XANTRONIX Development2022-02-021-3/+3
|
* Add synths to examples/say.cXANTRONIX Development2022-02-021-16/+95
|
* Add examples/say.cXANTRONIX Development2022-02-011-0/+120