summaryrefslogtreecommitdiffstats
path: root/examples/say.c
Commit message (Collapse)AuthorAgeFilesLines
* Use larger default vox buffer size of 20480XANTRONIX Development2022-03-191-1/+0
| | | | | Use larger default vox buffer size of 20480 to improve performance and reduce number of read()/write() system calls
* Don't need to be so specific hereXANTRONIX Development2022-03-071-1/+1
|
* Ensure voice is set in examples/say.cXANTRONIX Development2022-03-071-0/+2
|
* s/new_stream/stream_new/ for consistencyXANTRONIX Development2022-02-281-6/+6
|
* Set frequency on correct sine generatorXANTRONIX Development2022-02-281-1/+1
|
* 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