main.cfg: Changed 'select_to_file' to include fade in/out times.

This commit is contained in:
kevin 2021-02-24 13:22:46 -05:00
parent 87881c4838
commit 60565d22e3

View File

@ -210,7 +210,8 @@
audiofile: audiofile:
{ {
rpt: { fn:"~/temp/temp_sine.wav", begIdx: 0, frmCnt: 10 } //rpt: { fn:"~/temp/temp_sine.wav", begIdx: 0, frmCnt: 10 }
rpt: { fn:"~/src/currawong/site/web_part_selection/html/static/audio/GUTIM_Part_1_20200711_48k_24bit.wav", begIdx: 0, frmCnt: 10 }
}, },
afop: afop:
@ -394,7 +395,7 @@
{ gain: 0.3, src:"~/temp/kc_record/xform_only/wet/preset_g_wet.aiff" } ] { gain: 0.3, src:"~/temp/kc_record/xform_only/wet/preset_g_wet.aiff" } ]
}, },
select_to_file: select_to_file_0:
{ {
outDir: "~/temp/kc_record/xform_only/cut", outDir: "~/temp/kc_record/xform_only/cut",
outBits: 32, outBits: 32,
@ -420,6 +421,54 @@
}, },
select_to_file:
{
outDir: "~/src/currawong/site/web_part_selection/html/static/audio/sel_score",
outBits: 16,
fadeInSec: 0.1,
fadeInPreFl: true, // start selection at 'begSec-fadeInSec' else start at 'begSec'
fadeOutSec: 0.1,
fadeOutPostFl: true, // end selection at 'endSec+fadeOutSec' else end end at 'endSec'
srcFn: "~/src/currawong/site/web_part_selection/html/static/audio/GUTIM_Part_1_20200711_48k_24bit.wav",
selectL: [
{ dst:"1_00_0.wav", begSec:0.0, endSec:23.23 },
{ dst:"1_01_0.wav", begSec:23.23, endSec:46.4 },
{ dst:"1_02_0.wav", begSec:46.4, endSec:65.79 },
{ dst:"1_03_0.wav", begSec:65.79, endSec:84.05 },
{ dst:"1_04_0.wav", begSec:84.05, endSec:111.15 },
{ dst:"1_05_0.wav", begSec:111.15, endSec:125.09 },
{ dst:"1_06_0.wav", begSec:125.09, endSec:164.01 },
{ dst:"1_07_0.wav", begSec:164.01, endSec:185.08 },
{ dst:"1_08_0.wav", begSec:185.08, endSec:220.15 },
{ dst:"1_09_0.wav", begSec:220.15, endSec:237.03 },
{ dst:"1_10_0.wav", begSec:237.03, endSec:275.75 },
{ dst:"1_00_1.wav", begSec:275.75, endSec:314.04 },
{ dst:"1_11_0.wav", begSec:314.04, endSec:348.73 },
{ dst:"1_12_0.wav", begSec:348.73, endSec:369.05 },
{ dst:"1_06_1.wav", begSec:369.05, endSec:385.16 },
{ dst:"1_13_0.wav", begSec:385.16, endSec:406.06 },
{ dst:"1_14_0.wav", begSec:406.06, endSec:421.71 },
{ dst:"1_13_0.wav", begSec:421.71, endSec:433.85 },
{ dst:"1_08_1.wav", begSec:433.85, endSec:452.0 },
{ dst:"1_03_1.wav", begSec:452.0, endSec:476.08 },
{ dst:"1_02_1.wav", begSec:476.08, endSec:489.02 },
{ dst:"1_10_1.wav", begSec:489.02, endSec:504.98 },
{ dst:"1_12_1.wav", begSec:504.98, endSec:535.55 },
{ dst:"1_11_1.wav", begSec:535.55, endSec:549.78 },
{ dst:"1_14_1.wav", begSec:549.78, endSec:569.68 },
{ dst:"1_04_1.wav", begSec:569.68, endSec:588.63 },
{ dst:"1_01_1.wav", begSec:588.63, endSec:615.25 },
{ dst:"1_09_1.wav", begSec:615.25, endSec:647.83 },
{ dst:"1_05_1.wav", begSec:647.83, endSec:678.44 },
{ dst:"1_07_1.wav", begSec:678.44, endSec:740.85 },
]
},
// Extract a section of source audio, apply fade in/out ramps, and mix it into a destination file. // Extract a section of source audio, apply fade in/out ramps, and mix it into a destination file.
cut_and_mix: cut_and_mix:
{ {