summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix buffer size calculation in src/riff.cmainXANTRONIX Development2022-03-191-16/+26
|
* Calculate vox buffer size when creating streamXANTRONIX Development2022-03-191-8/+10
|
* Use larger default vox buffer size of 20480XANTRONIX Development2022-03-193-6/+1
| | | | | Use larger default vox buffer size of 20480 to improve performance and reduce number of read()/write() system calls
* Use filesystem I/O block size in src/riff.cXANTRONIX Development2022-03-191-13/+37
|
* Implement xas_drone_seq_beep()XANTRONIX Development2022-03-171-0/+40
| | | | | Implement xas_drone_seq_beep() to schedule a one-second beep from a single drone
* Change order of case statements to enum orderXANTRONIX Development2022-03-171-6/+6
|
* Fix xas_drone_mood_set(), call from object_set()XANTRONIX Development2022-03-171-31/+46
|
* Refactor sequencer to use generic objectsXANTRONIX Development2022-03-178-92/+98
| | | | | | | | | Changes: * Make most xas_object methods accept an 'index' argument * Make most event sequence functions in src/seq.c use xas_object generically
* Refactor to allow sequencing events on dronesXANTRONIX Development2022-03-173-113/+240
| | | | | | | | | | | | | | | | | | | | Changes: * Consolidate xas_drone_vox into xas_drone * Refactor xas_drone to no longer be centered around spatial objects for its vocalisations * Add a two-tone beep system to drones to allow beeping according to mood * Consolidate head-oriented sound effects into a single spatial object within drones * Implement ability to add a mixer to a spatial scene * Allow setting spatial coordinates for objects generically; remove code from src/spatial.c for doing this specifically
* Remove unused method from src/drone.cXANTRONIX Development2022-03-171-4/+0
|
* Remove unnecessary #includeXANTRONIX Development2022-03-171-1/+0
|
* Implement xas_audio_format_mono()XANTRONIX Development2022-03-171-0/+8
| | | | | Implement xas_audio_format_mono() to return a new audio format descriptor for a given input, but in mono, as a convenience
* Implement xas_object_call_tableXANTRONIX Development2022-03-175-46/+102
| | | | | | | | | | | | Changes: * Implement xas_object_call_table as a static structure to allow creating a static dispatch table on a per-compilation-unit basis * Refactor xas_object to provide a single pointer to a xas_object_call_table * Refactor all object implementations to use xas_object_call_table
* Do not attempt to waitpid() on -1XANTRONIX Development2022-03-161-1/+1
|
* Add set_flags dispatch to src/bank.cXANTRONIX Development2022-03-161-0/+1
|
* Add index argument to bank entry change eventsXANTRONIX Development2022-03-163-9/+16
|
* Pass missing arg to xas_object_start(), stop()XANTRONIX Development2022-03-161-2/+2
|
* Relocate method in src/scene.cXANTRONIX Development2022-03-161-0/+8
|
* Add index argument to xas_object_start(), stop()XANTRONIX Development2022-03-165-18/+37
| | | | | | | | | | | Changes: * Refactor all start, stop dispatch methods to accept an index argument, whether it is used or not * Use 'index' slot of xas_seq_event to store index to pass to xas_object_start(), xas_object_stop() for start and stop events
* Use xas_object_init() on mixerXANTRONIX Development2022-03-161-0/+2
|
* Fix unused argument warningsXANTRONIX Development2022-03-161-25/+25
|
* Fix unused argument warningXANTRONIX Development2022-03-161-1/+1
|
* Use xas_object_init() for new banksXANTRONIX Development2022-03-161-0/+2
|
* Use generic object calls in event_trigger()XANTRONIX Development2022-03-161-2/+2
|
* Remove xas_spatial_object_stop(), start()XANTRONIX Development2022-03-162-19/+2
|
* Rename xas_object_set_bank() to set_entry()XANTRONIX Development2022-03-161-3/+3
|
* Add xas_object callback to set object flagsXANTRONIX Development2022-03-161-0/+10
|
* Add optional callbacks to xas_objectXANTRONIX Development2022-03-161-1/+54
| | | | | | | | | | | | | | Changes: * Implement xas_object_init() to initialise an object call table to all null values * Rework dispatch methods to fail gracefully if no pointer value is provided for a given callback entry Additional changes: * Add callbacks for changing bank and frequency
* Remove useless objtype from xas_seq_eventXANTRONIX Development2022-03-151-35/+0
|
* Add xas_object call table to mixerXANTRONIX Development2022-03-151-0/+25
|
* Impleemnt xas_mixer_object_add()XANTRONIX Development2022-03-151-0/+31
| | | | | | Impleemnt xas_mixer_object_add() as a convenience method to create an audio stream from an object given; ensure audio streams instantiated in this manner are destroyed upon mixer destruction
* Implement polyphonic synth streamsXANTRONIX Development2022-03-151-0/+89
| | | | | | Implement polyphonic synth streams by allowing one to create a new audio source passing multiple streams at once, wherein each synth is sampled and merged with the final stream output
* You know who deserves to have moods? Drones.XANTRONIX Development2022-03-151-0/+8
|
* Implement xas_drone_sample_import()XANTRONIX Development2022-03-141-0/+30
| | | | | Implement xas_drone_sample_import() to import a RIFF WAVE file to a drone's sample bank
* s/record_sample/sample_record/gXANTRONIX Development2022-03-141-1/+1
|
* Rename 'count' argument to 'entry_size'XANTRONIX Development2022-03-141-5/+5
|
* Additional nomenclature rectitudeXANTRONIX Development2022-03-141-3/+3
|
* Implement xas_drone_record_sample()XANTRONIX Development2022-03-141-0/+22
|
* Remove unnecessary argument from callbacksXANTRONIX Development2022-03-147-31/+21
|
* Generalise drone speech methods to generic samplesXANTRONIX Development2022-03-131-40/+39
|
* Make xas_bank_player_start() always start from 0XANTRONIX Development2022-03-131-4/+0
|
* Handle EVENT_SET_BANK_INDEX before EVENT_ONXANTRONIX Development2022-03-131-1/+13
|
* Slightly more readable in context of assignmentXANTRONIX Development2022-03-131-1/+1
|
* Instantiate vox stream only upon generationXANTRONIX Development2022-03-131-24/+15
|
* Refactor drone speech modulesXANTRONIX Development2022-03-131-61/+159
| | | | | | | | | | | Changes: * Implement xas_drone_vox type to wrap a xas_vox and audio stream object in one, and save rendered speech to a drone's audio bank * Implement xas_drone_speech_import() as a convenience wrapper to xas_drone_vox methods
* Allow setting chamber bass gain separatelyXANTRONIX Development2022-03-121-1/+4
|
* Add methods to set drone, chamber synth gainXANTRONIX Development2022-03-121-0/+16
|
* Avoid divide-by-zero when frequency set to 0XANTRONIX Development2022-03-121-2/+8
|
* Fix memory leak in xas_drone_chamber_destroy()XANTRONIX Development2022-03-111-0/+1
|
* don't do floating point cast/div, ya dingusXANTRONIX Development2022-03-111-4/+4
|