mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02:00
Update Nyquist to v3.09.
This commit is contained in:
@@ -16,18 +16,16 @@
|
||||
(ALWAYS-SCALE amod)
|
||||
(TERMINATE (MIN amod))
|
||||
(LOGICAL-STOP (MIN amod))
|
||||
(INNER-LOOP "
|
||||
long table_index = (long) phase;
|
||||
double x1 = (double) (table_ptr[table_index]);
|
||||
output = (sample_type) (x1 + (phase - table_index) *
|
||||
(table_ptr[table_index + 1] - x1)) * amod;
|
||||
phase += ph_incr;
|
||||
while (phase > table_len) phase -= table_len;
|
||||
")
|
||||
(INNER-LOOP "{
|
||||
\t\tlong table_index = (long) phase;
|
||||
\t\tdouble x1 = (double) (table_ptr[table_index]);
|
||||
\t\toutput = (sample_type) ((x1 + (phase - table_index) *
|
||||
\t\t (table_ptr[table_index + 1] - x1)) * amod);
|
||||
\t\tphase += ph_incr;
|
||||
\t\twhile (phase > table_len) phase -= table_len;
|
||||
\t }")
|
||||
(CONSTANT "ph_incr" "table_len" "table_ptr" "the_table")
|
||||
|
||||
(SAMPLE-RATE "sr")
|
||||
(FINALIZATION " table_unref(susp->the_table);
|
||||
")
|
||||
(FINALIZATION " table_unref(susp->the_table);\n")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user