diff options
author | John Glover <j@johnglover.net> | 2012-07-02 19:31:26 +0100 |
---|---|---|
committer | John Glover <j@johnglover.net> | 2012-07-02 19:31:26 +0100 |
commit | 68e4a6a8e2f096226c3c042566470dda57c8a035 (patch) | |
tree | 0b22349214568a5e69318b31e5e9cbc9ed2971dc | |
parent | 6313a7b9245549f653f7c5f1a566c8424a3e8208 (diff) | |
download | simpl-68e4a6a8e2f096226c3c042566470dda57c8a035.tar.gz simpl-68e4a6a8e2f096226c3c042566470dda57c8a035.tar.bz2 simpl-68e4a6a8e2f096226c3c042566470dda57c8a035.zip |
[base] Updates to Frame peak/partial getters/setters.
-rw-r--r-- | simpl/base.pxd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/simpl/base.pxd b/simpl/base.pxd index cec5e43..f31c9a3 100644 --- a/simpl/base.pxd +++ b/simpl/base.pxd @@ -40,16 +40,20 @@ cdef extern from "../src/simpl/base.h" namespace "simpl": # peaks int num_peaks() + void num_peaks(int new_num_peaks) int max_peaks() void max_peaks(int new_max_peaks) void add_peak(c_Peak* peak) c_Peak* peak(int peak_number) + void peak(int peak_number, c_Peak* peak) void clear() # partials int num_partials() + void num_partials(int new_num_partials) int max_partials() void max_partials(int new_max_partials) + void add_partial(c_Peak* peak) c_Peak* partial(int partial_number) void partial(int partial_number, c_Peak* peak) |