summaryrefslogtreecommitdiffstats
path: root/src/synth.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix duty cycle term in square wave synthesisXANTRONIX Development2022-03-081-1/+1
|
* Implement setting square wave duty cycleXANTRONIX Development2022-03-081-1/+8
|
* Implement xas_synth_set_type()XANTRONIX Development2022-03-061-12/+28
| | | | | Implement xas_synth_set_type() to allow changing oscillator type during synthesis
* Destroy managed spatial scene objectsXANTRONIX Development2022-03-011-0/+1
|
* Set stream_new callback for audible object typesXANTRONIX Development2022-02-281-3/+4
|
* s/new_stream/stream_new/ for consistencyXANTRONIX Development2022-02-281-1/+1
|
* Don't forget to initialise synth gainXANTRONIX Development2022-02-281-0/+1
|
* Allow setting synth gainXANTRONIX Development2022-02-281-7/+18
|
* Implement xas_objectXANTRONIX Development2022-02-271-0/+15
| | | | | | | | | | | | | | | 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
* Fix square wave duty cycle to 50%XANTRONIX Development2022-02-271-1/+3
|
* Refactor src/synth.cXANTRONIX Development2022-02-271-26/+128
| | | | | | | | | Changes: * Implement xas_synth type to consolidate synthesiser implementation and different tone generator types * Refactor examples/ code to remove duplicate synthesiser code
* Implement xas_audio_format typeXANTRONIX Development2022-02-091-14/+13
| | | | | | | | | | | 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
* Shorten he name of XAS_AUDIO_ constantsXANTRONIX Development2022-02-031-1/+1
|
* Channel count first seems...nicer, somehow.XANTRONIX Development2022-02-021-1/+1
|
* This is getting annoyingly close to working...XANTRONIX Development2022-01-311-16/+44
|
* Heh. This works.XANTRONIX Development2022-01-311-12/+0
|
* I really don't like the fact that this compilesXANTRONIX Development2022-01-311-0/+46