1
0
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:
Leland Lucius
2015-04-07 22:10:17 -05:00
parent f88b27e6d8
commit 9fb0ce5b82
358 changed files with 26327 additions and 7043 deletions

View File

@@ -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")
)