summaryrefslogtreecommitdiffstats
path: root/include/xas
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-13 22:39:37 -0400
committerXANTRONIX Development2022-03-13 22:39:37 -0400
commit3d470011ef84a2b0e85234f66e61ff01fb1939c8 (patch)
treeba4f81b423a0acef5994970b1909a3b1c4d6b19b /include/xas
parenta70eecc75fc6f24e4d49b5cd7c524ee28251d810 (diff)
downloadxas-3d470011ef84a2b0e85234f66e61ff01fb1939c8.tar.gz
xas-3d470011ef84a2b0e85234f66e61ff01fb1939c8.tar.bz2
xas-3d470011ef84a2b0e85234f66e61ff01fb1939c8.zip
Generalise drone speech methods to generic samples
Diffstat (limited to 'include/xas')
-rw-r--r--include/xas/drone.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/xas/drone.h b/include/xas/drone.h
index e909dc8..70eacfb 100644
--- a/include/xas/drone.h
+++ b/include/xas/drone.h
@@ -60,10 +60,15 @@ xas_spatial_object *xas_drone_get_spatial_object(xas_drone *drone);
int xas_drone_speech_import(xas_drone *drone,
const char *voice,
float speed,
- size_t speech_sample_first,
- size_t speech_sample_count,
+ size_t sample_index,
+ size_t sample_count,
const char **speech_lines);
+int xas_drone_seq_sample(xas_drone *drone,
+ xas_seq *seq,
+ size_t sample_index,
+ struct timeval *now);
+
/*
* Methods for drone vocalisations
*/
@@ -120,12 +125,6 @@ int xas_drone_chamber_seq_intervals(xas_drone_chamber *chamber,
size_t count,
struct timeval *now);
-int xas_drone_chamber_seq_speech(xas_drone_chamber *chamber,
- xas_drone *drone,
- xas_seq *seq,
- size_t speech_part,
- struct timeval *now);
-
int xas_drone_chamber_seq_chorus(xas_drone_chamber *chamber,
xas_seq *seq,
size_t speech_part,