mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-19 15:06:07 +01:00
Update Nyquist to v3.09.
This commit is contained in:
@@ -14,18 +14,14 @@
|
||||
input->sr, sr, hz, &susp->ph_incr)") )
|
||||
; "((hz * susp->table_len) / sr)")
|
||||
(TERMINATE (AFTER "d"))
|
||||
(INNER-LOOP "
|
||||
long table_index = (long) phase;
|
||||
double x1 = table_ptr[table_index];
|
||||
output = (sample_type) (x1 + (phase - table_index) *
|
||||
(table_ptr[table_index + 1] - x1));
|
||||
phase += ph_incr;
|
||||
while (phase >= table_len) phase -= table_len;
|
||||
")
|
||||
(INNER-LOOP "long table_index = (long) phase;
|
||||
double x1 = table_ptr[table_index];
|
||||
output = (sample_type) (x1 + (phase - table_index) *
|
||||
(table_ptr[table_index + 1] - x1));
|
||||
phase += ph_incr;
|
||||
while (phase >= table_len) phase -= table_len")
|
||||
(CONSTANT "ph_incr" "table_len" "table_ptr")
|
||||
|
||||
(SAMPLE-RATE "sr")
|
||||
(FINALIZATION " table_unref(susp->the_table);
|
||||
")
|
||||
(FINALIZATION " table_unref(susp->the_table);\n")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user