plugins/: use fvec_set_sample
authorPaul Brossier <piem@piem.org>
Tue, 31 Dec 2013 02:49:06 +0000 (22:49 -0400)
committerPaul Brossier <piem@piem.org>
Tue, 31 Dec 2013 02:49:06 +0000 (22:49 -0400)
plugins/Notes.cpp
plugins/Notes.o [new file with mode: 0644]
plugins/Onset.cpp
plugins/Onset.o [new file with mode: 0644]
plugins/Pitch.cpp
plugins/Pitch.o [new file with mode: 0644]
plugins/Silence.cpp
plugins/Silence.o [new file with mode: 0644]
plugins/Tempo.cpp
plugins/Tempo.o [new file with mode: 0644]
plugins/Types.o [new file with mode: 0644]

index c8688cd..73dbf45 100644 (file)
@@ -361,7 +361,7 @@ Notes::FeatureSet
 Notes::process(const float *const *inputBuffers, Vamp::RealTime timestamp)
 {
     for (size_t i = 0; i < m_stepSize; ++i) {
-        fvec_write_sample(m_ibuf, inputBuffers[0][i], i);
+        fvec_set_sample(m_ibuf, inputBuffers[0][i], i);
     }
 
     aubio_onset_do(m_onsetdet, m_ibuf, m_onset);
diff --git a/plugins/Notes.o b/plugins/Notes.o
new file mode 100644 (file)
index 0000000..c83e43c
Binary files /dev/null and b/plugins/Notes.o differ
index e5875c5..42ca268 100644 (file)
@@ -247,7 +247,7 @@ Onset::process(const float *const *inputBuffers,
                Vamp::RealTime timestamp)
 {
     for (size_t i = 0; i < m_stepSize; ++i) {
-        fvec_write_sample(m_ibuf, inputBuffers[0][i], i);
+        fvec_set_sample(m_ibuf, inputBuffers[0][i], i);
     }
 
     aubio_onset_do(m_onsetdet, m_ibuf, m_onset);
diff --git a/plugins/Onset.o b/plugins/Onset.o
new file mode 100644 (file)
index 0000000..ec27f9c
Binary files /dev/null and b/plugins/Onset.o differ
index 5fd3730..dd16f59 100644 (file)
@@ -269,7 +269,7 @@ Pitch::process(const float *const *inputBuffers,
     }
 
     for (size_t i = 0; i < m_stepSize; ++i) {
-        fvec_write_sample(m_ibuf, inputBuffers[0][i], i);
+        fvec_set_sample(m_ibuf, inputBuffers[0][i], i);
     }
 
     aubio_pitch_do(m_pitchdet, m_ibuf, m_obuf);
diff --git a/plugins/Pitch.o b/plugins/Pitch.o
new file mode 100644 (file)
index 0000000..e4a1efc
Binary files /dev/null and b/plugins/Pitch.o differ
index c76b220..489bbb0 100644 (file)
@@ -196,7 +196,7 @@ Silence::process(const float *const *inputBuffers,
                  Vamp::RealTime timestamp)
 {
     for (size_t i = 0; i < m_stepSize; ++i) {
-        fvec_write_sample(m_ibuf, inputBuffers[0][i], i);
+        fvec_set_sample(m_ibuf, inputBuffers[0][i], i);
     }
 
     bool silent = aubio_silence_detection(m_ibuf, m_threshold);
diff --git a/plugins/Silence.o b/plugins/Silence.o
new file mode 100644 (file)
index 0000000..1417cc0
Binary files /dev/null and b/plugins/Silence.o differ
index ac106c3..c7b5623 100644 (file)
@@ -240,7 +240,7 @@ Tempo::FeatureSet
 Tempo::process(const float *const *inputBuffers, Vamp::RealTime timestamp)
 {
     for (size_t i = 0; i < m_stepSize; ++i) {
-        fvec_write_sample(m_ibuf, inputBuffers[0][i], i);
+        fvec_set_sample(m_ibuf, inputBuffers[0][i], i);
     }
 
     aubio_tempo_do(m_tempo, m_ibuf, m_beat);
diff --git a/plugins/Tempo.o b/plugins/Tempo.o
new file mode 100644 (file)
index 0000000..90e27e8
Binary files /dev/null and b/plugins/Tempo.o differ
diff --git a/plugins/Types.o b/plugins/Types.o
new file mode 100644 (file)
index 0000000..3a8f1c8
Binary files /dev/null and b/plugins/Types.o differ