main.cpp,main.cfg,cfg/io.cfg : Latest configurations.

This commit is contained in:
kevin 2024-07-14 15:30:29 -04:00
parent 09f10a38a5
commit 45b7616c00
3 changed files with 32 additions and 14 deletions

View File

@ -82,8 +82,8 @@
{ {
// System device name // System device name
//device: "Scarlett 18i20 USB USB Audio", device: "Scarlett 18i20 USB USB Audio",
device: "USB Audio CODEC USB Audio", //device: "USB Audio CODEC USB Audio",
//device: "HDA Intel PCH CS4208 Analog", //device: "HDA Intel PCH CS4208 Analog",
activeFl: true, // (req) activeFl: true, // (req)

View File

@ -373,8 +373,11 @@
} }
} }
asil: { class: audio_silence, args:{ ch_cnt:6 }},
amix: { class: audio_mix, in:{ in_:voice_poly.voc_.out } }, amix: { class: audio_mix, in:{ in_:voice_poly.voc_.out } },
aout: { class: audio_out, in:{ in:amix.out }, args:{ dev_label:"main"}} amrg: { class: audio_merge, in:{ in0:asil.out, in1:amix.out } },
aout: { class: audio_out, in:{ in:amrg.out }, args:{ dev_label:"main"}}
} }
} }
} }
@ -402,7 +405,7 @@
piano_voice_20: { piano_voice_20: {
non_real_time_fl:false, non_real_time_fl:false,
durLimitSecs:10, durLimitSecs:30,
network: { network: {
procs: { procs: {
@ -418,16 +421,33 @@
procs: { procs: {
voc: { class:piano_voice, in:{ _.in:_.vctl.out_ }, voc: { class:piano_voice, in:{ _.in:_.vctl.out_ },
out:{ _.done_fl:_.vctl.done_fl_ }, out:{ _.done_fl:_.vctl.done_fl_ },
args:{ wtb_dir:"~/temp/wt/bank", wtb_instr:"piano", test_pitch:60 } }, args:{ wtb_dir:"~/temp/wt1/bank", wtb_instr:"piano", test_pitch:60 } },
} }
} }
} }
asil: { class: audio_silence, args:{ ch_cnt:6 }},
amix: { class: audio_mix, in:{ in_:voice_poly.voc_.out } }, amix: { class: audio_mix, in:{ in_:voice_poly.voc_.out } },
aout: { class: audio_out, in:{ in:amix.out }, args:{ dev_label:"main"}} asel: { class: audio_split, in:{ in:amix.out }, args:{ select:[0,1] }},
amrg: { class: audio_merge, in:{ in0:asil.out, in1:asel.out0, in2:asel.out0 } },
aout: { class: audio_out, in:{ in:amrg.out }, args:{ dev_label:"main"}}
} }
} }
} }
audio_test_21: {
non_real_time_fl:false,
durLimitSecs:5,
network: {
procs: {
asil: { class:audio_silence, args:{ ch_cnt:6 }}
osc: { class:sine_tone, args:{ hz:440.0, chCnt:2 }},
amrg: { class:audio_merge, in:{ in0:asil.out, in1:osc.out }, args:{ out_gain:1 } },
amtr: { class:audio_meter, in:{ in:amrg.out }, args:{ rpt_ms:500 }},
aout:{ class:audio_out, in:{ in:amrg.out }, args:{ dev_label:"main"} }
}
}
}
} }
} }

View File

@ -371,16 +371,14 @@ errLabel:
} }
#include "cwMidi.h" //#include "cwMidi.h"
#include "cwMidiFile.h" //#include "cwMidiFile.h"
#include "cwDspTypes.h" //#include "cwDspTypes.h"
#include "cwWaveTableBank.h" //#include "cwWaveTableBank.h"
void _test_stub( app_t& app ) void _test_stub( app_t& app )
{ {
wt_bank::test("/home/kevin/temp/wt/bank");
} }
int main( int argc, char* argv[] ) int main( int argc, char* argv[] )