Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor sequencer to use generic objects | XANTRONIX Development | 2022-03-17 | 10 | -121/+152 |
| | | | | | | | | | 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 drones | XANTRONIX Development | 2022-03-17 | 7 | -181/+326 |
| | | | | | | | | | | | | | | | | | | | | 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.c | XANTRONIX Development | 2022-03-17 | 2 | -6/+0 |
| | |||||
* | Remove unnecessary #include | XANTRONIX Development | 2022-03-17 | 1 | -1/+0 |
| | |||||
* | Implement xas_audio_format_mono() | XANTRONIX Development | 2022-03-17 | 2 | -0/+10 |
| | | | | | 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_table | XANTRONIX Development | 2022-03-17 | 6 | -56/+140 |
| | | | | | | | | | | | | 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 -1 | XANTRONIX Development | 2022-03-16 | 1 | -1/+1 |
| | |||||
* | Add set_flags dispatch to src/bank.c | XANTRONIX Development | 2022-03-16 | 1 | -0/+1 |
| | |||||
* | Add index argument to bank entry change events | XANTRONIX Development | 2022-03-16 | 5 | -17/+28 |
| | |||||
* | Pass missing arg to xas_object_start(), stop() | XANTRONIX Development | 2022-03-16 | 1 | -2/+2 |
| | |||||
* | Relocate method in src/scene.c | XANTRONIX Development | 2022-03-16 | 2 | -3/+10 |
| | |||||
* | Add index argument to xas_object_start(), stop() | XANTRONIX Development | 2022-03-16 | 7 | -24/+45 |
| | | | | | | | | | | | 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 mixer | XANTRONIX Development | 2022-03-16 | 1 | -0/+2 |
| | |||||
* | Fix unused argument warnings | XANTRONIX Development | 2022-03-16 | 1 | -25/+25 |
| | |||||
* | Fix unused argument warning | XANTRONIX Development | 2022-03-16 | 1 | -1/+1 |
| | |||||
* | Use xas_object_init() for new banks | XANTRONIX Development | 2022-03-16 | 1 | -0/+2 |
| | |||||
* | Use generic object calls in event_trigger() | XANTRONIX Development | 2022-03-16 | 1 | -2/+2 |
| | |||||
* | Remove xas_spatial_object_stop(), start() | XANTRONIX Development | 2022-03-16 | 3 | -22/+2 |
| | |||||
* | Rename xas_object_set_bank() to set_entry() | XANTRONIX Development | 2022-03-16 | 2 | -6/+6 |
| | |||||
* | Add xas_object callback to set object flags | XANTRONIX Development | 2022-03-16 | 2 | -0/+15 |
| | |||||
* | fix typo | XANTRONIX Development | 2022-03-16 | 1 | -1/+1 |
| | |||||
* | Add optional callbacks to xas_object | XANTRONIX Development | 2022-03-16 | 2 | -1/+66 |
| | | | | | | | | | | | | | | 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 | ||||
* | Update .gitignore | XANTRONIX Development | 2022-03-16 | 1 | -0/+3 |
| | |||||
* | Remove useless objtype from xas_seq_event | XANTRONIX Development | 2022-03-15 | 2 | -43/+0 |
| | |||||
* | Add xas_object call table to mixer | XANTRONIX Development | 2022-03-15 | 2 | -0/+26 |
| | |||||
* | Impleemnt xas_mixer_object_add() | XANTRONIX Development | 2022-03-15 | 2 | -0/+41 |
| | | | | | | 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 streams | XANTRONIX Development | 2022-03-15 | 2 | -0/+92 |
| | | | | | | 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 | ||||
* | Fit callback typedefs on one line because I can | XANTRONIX Development | 2022-03-15 | 1 | -6/+2 |
| | |||||
* | You know who deserves to have moods? Drones. | XANTRONIX Development | 2022-03-15 | 2 | -1/+24 |
| | |||||
* | Remove superfluous whitespace | XANTRONIX Development | 2022-03-14 | 1 | -1/+0 |
| | |||||
* | Implement xas_drone_sample_import() | XANTRONIX Development | 2022-03-14 | 2 | -0/+35 |
| | | | | | Implement xas_drone_sample_import() to import a RIFF WAVE file to a drone's sample bank | ||||
* | s/record_sample/sample_record/g | XANTRONIX Development | 2022-03-14 | 2 | -2/+2 |
| | |||||
* | Rename 'count' argument to 'entry_size' | XANTRONIX Development | 2022-03-14 | 2 | -6/+6 |
| | |||||
* | Additional nomenclature rectitude | XANTRONIX Development | 2022-03-14 | 2 | -4/+4 |
| | |||||
* | Implement xas_drone_record_sample() | XANTRONIX Development | 2022-03-14 | 2 | -0/+27 |
| | |||||
* | Remove unnecessary argument from callbacks | XANTRONIX Development | 2022-03-14 | 8 | -37/+24 |
| | |||||
* | Generalise drone speech methods to generic samples | XANTRONIX Development | 2022-03-13 | 4 | -68/+62 |
| | |||||
* | Remove unused xas_drone_chamber_speech | XANTRONIX Development | 2022-03-13 | 1 | -5/+0 |
| | |||||
* | Implement examples/pod.c | XANTRONIX Development | 2022-03-13 | 2 | -1/+313 |
| | | | | | Implement examples/pod.c to create audio files for any given drone, providing a drone identifier as first argument | ||||
* | Make xas_bank_player_start() always start from 0 | XANTRONIX Development | 2022-03-13 | 1 | -4/+0 |
| | |||||
* | Handle EVENT_SET_BANK_INDEX before EVENT_ON | XANTRONIX Development | 2022-03-13 | 2 | -3/+15 |
| | |||||
* | Slightly more readable in context of assignment | XANTRONIX Development | 2022-03-13 | 1 | -1/+1 |
| | |||||
* | Instantiate vox stream only upon generation | XANTRONIX Development | 2022-03-13 | 2 | -33/+17 |
| | |||||
* | Use vox pointer directly in examples/spatial.c | XANTRONIX Development | 2022-03-13 | 1 | -1/+1 |
| | |||||
* | Refactor drone speech modules | XANTRONIX Development | 2022-03-13 | 3 | -78/+226 |
| | | | | | | | | | | | 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 separately | XANTRONIX Development | 2022-03-12 | 2 | -1/+6 |
| | |||||
* | Add methods to set drone, chamber synth gain | XANTRONIX Development | 2022-03-12 | 2 | -0/+20 |
| | |||||
* | Avoid divide-by-zero when frequency set to 0 | XANTRONIX Development | 2022-03-12 | 1 | -2/+8 |
| | |||||
* | Fix memory leak in xas_drone_chamber_destroy() | XANTRONIX Development | 2022-03-11 | 1 | -0/+1 |
| | |||||
* | don't do floating point cast/div, ya dingus | XANTRONIX Development | 2022-03-11 | 1 | -4/+4 |
| |