summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-06 20:13:31 -0500
committerXANTRONIX Development2022-03-06 20:16:05 -0500
commit64b0b6322bfe2d055346f2a5b150f4023ba447d0 (patch)
treeb51eb23c199b5e4bafb060aa076918f6f58e4aa7 /include
parent99057a0f6f7e93db6f2dda2e6d8ffeec20e44307 (diff)
downloadxas-64b0b6322bfe2d055346f2a5b150f4023ba447d0.tar.gz
xas-64b0b6322bfe2d055346f2a5b150f4023ba447d0.tar.bz2
xas-64b0b6322bfe2d055346f2a5b150f4023ba447d0.zip
Implement sequencing bank flag, synth type changes
Diffstat (limited to 'include')
-rw-r--r--include/xas/seq.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/xas/seq.h b/include/xas/seq.h
index 3aece2f..a604d31 100644
--- a/include/xas/seq.h
+++ b/include/xas/seq.h
@@ -5,6 +5,7 @@
#include <sys/time.h>
#include <xas/audio.h>
+#include <xas/synth.h>
#include <xas/spatial.h>
enum xas_seq_event_type {
@@ -15,7 +16,9 @@ enum xas_seq_event_type {
XAS_SEQ_EVENT_SET_SPEED,
XAS_SEQ_EVENT_SET_GAIN,
XAS_SEQ_EVENT_SET_FREQUENCY,
+ XAS_SEQ_EVENT_SET_SYNTH_TYPE,
XAS_SEQ_EVENT_SET_BANK_INDEX,
+ XAS_SEQ_EVENT_SET_PLAYER_FLAGS,
XAS_SEQ_EVENT_SPEECH
};
@@ -41,8 +44,10 @@ struct _xas_seq_event {
xas_spatial_coord heading;
float speed;
float gain;
+ int flags;
size_t index;
size_t frequency;
+ enum xas_synth_type synth_type;
const char *phrase;
};
@@ -94,6 +99,16 @@ int xas_seq_add_set_bank(xas_seq *seq,
struct timeval timestamp,
size_t index);
+int xas_seq_add_set_player_flags(xas_seq *seq,
+ xas_spatial_object *object,
+ struct timeval timestamp,
+ int flags);
+
+int xas_seq_add_set_synth_type(xas_seq *seq,
+ xas_spatial_object *object,
+ struct timeval timestamp,
+ enum xas_synth_type type);
+
int xas_seq_add_set_frequency(xas_seq *seq,
xas_spatial_object *object,
struct timeval timestamp,