⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 amosc.alg

📁 Audacity是一款用於錄音和編輯聲音的、免費的開放源碼軟體。它可以執行於Mac OS X、Microsoft Windows、GNU/Linux和其它作業系統
💻 ALG
字号:
(AMOSC-ALG(NAME "amosc")(ARGUMENTS ("sound_type" "input") ("double" "step") ("rate_type" "sr")           ("double" "hz") ("time_type" "t0") ("sound_type" "amod")           ("double" "phase"))(TABLE "input")(NOT-IN-INNER-LOOP "input")(START (MIN input))(STATE        ("double" "ph_incr" "0")       ("table_type" "the_table" "sound_to_table(input)")       ("sample_type *" "table_ptr" "susp->the_table->samples")       ("double" "table_len" "susp->the_table->length")       ("double" "phase" "compute_phase(phase, step, (long) susp->table_len,        input->sr, sr, hz, &susp->ph_incr)") )(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;")(CONSTANT "ph_incr" "table_len" "table_ptr" "the_table")(SAMPLE-RATE "sr")(FINALIZATION "    table_unref(susp->the_table);"))

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -