From e1ee8c9383300cd7de4ff0d79c96e99afab7729f Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 23 Oct 2020 17:08:08 -0400 Subject: [PATCH] Added 'rsrc' folder --- rsrc/aud_dsp.js | 171 ++++++++++++++++++++++++++++++++++++++ rsrc/time_line_lite.js | 110 ++++++++++++++++++++++++ rsrc/time_line_lite_af.js | 110 ++++++++++++++++++++++++ rsrc/ui_test.js | 22 +++++ rsrc/xform_only.js | 105 +++++++++++++++++++++++ 5 files changed, 518 insertions(+) create mode 100644 rsrc/aud_dsp.js create mode 100644 rsrc/time_line_lite.js create mode 100644 rsrc/time_line_lite_af.js create mode 100644 rsrc/ui_test.js create mode 100644 rsrc/xform_only.js diff --git a/rsrc/aud_dsp.js b/rsrc/aud_dsp.js new file mode 100644 index 0000000..883836b --- /dev/null +++ b/rsrc/aud_dsp.js @@ -0,0 +1,171 @@ +{ + aud_dsp : + { + midiPortBufByteCnt : 1024 + meterMs : 50 + msgsPerClientPoll : 10 + dfltProgramLabel: "xform_only" + + /* + afpDevArray : + [ + { + label:"file_dev" + //iAudioFn:"/home/kevin/temp/in0.wav" + oAudioFn:"/home/kevin/temp/out0.wav" + oBits:16 + oChCnt:1 + } + ] + */ + + nrtDevArray : + [ + { + label: "nrtDev0" + srate: 44100 + iChCnt: 16 + oChCnt: 16 + cbPeriodMs : 6 + } + ] + + audioSysCfgArray : + [ + { + label:"Default" + default: true + ssArray : + [ + { + /* + inDevLabel: "nrtDev0" + outDevLabel: "nrtDev0" + */ + + + inDevLabel: "USB Audio CODEC USB Audio" + outDevLabel:"USB Audio CODEC USB Audio" + + + /* + inDevLabel: "HDA Intel PCH CS4208 Analog" + outDevLabel:"HDA Intel PCH CS4208 Analog" + */ + + /* + inDevLabel: "Scarlett 18i20 USB USB Audio" + outDevLabel: "Scarlett 18i20 USB USB Audio" + */ + + syncToInputFl : true + msgQueueByteCnt : 524288 + devFramesPerCycle : 512 + dspFramesPerCycle : 64 + audioBufCnt : 3 + srate : 48000, + srateMult: 1, + } + ] + } + { + label:"File Out" + default: false + ssArray : + [ + { + + inDevLabel : "USB Audio CODEC USB Audio" + outDevLabel : "USB Audio CODEC USB Audio" + /* + inDevLabel: "HDA Intel PCH CS4208 Analog" + outDevLabel:"HDA Intel PCH CS4208 Analog" + */ + syncToInputFl : true + msgQueueByteCnt : 524288 + devFramesPerCycle : 512 + dspFramesPerCycle : 64 + audioBufCnt : 3 + srate : 96000, + srateMult: 1 + + } + ] + } + ] + + } + + udpnetCrca : + { + port: 5876 + recvBufByteCnt : 512 + timeOutMs: 100 + local: "thunk" + + nodeArray : + [ + { + label:whirl + id:10 + addr:"132.239.235.103" + } + + { + label:thunk + id:20 + addr:"192.168.1.109" + } + + ] + } + + udpnet_work : + { + port: 5876 + recvBufByteCnt : 512 + timeOutMs: 100 + local: "thunk" + + nodeArray : + [ + { + label:whirl + id:10 + addr:"132.239.235.103" + } + + { + label:thunk + id:20 + addr:"132.239.235.101" + } + + ] + } + + udpnet_thunk : + { + port: 5876 + recvBufByteCnt : 8192 + timeOutMs: 100 + local: "thunk" + + nodeArray : + [ + { + label:whirl + id:10 + addr:"192.168.15.109" + } + + { + label:thunk + id:20 + addr:"192.168.15.110" + } + + ] + } + +} \ No newline at end of file diff --git a/rsrc/time_line_lite.js b/rsrc/time_line_lite.js new file mode 100644 index 0000000..da16d72 --- /dev/null +++ b/rsrc/time_line_lite.js @@ -0,0 +1,110 @@ +{ + + timeLineFn: "/home/kevin/src/currawong/data/frag_302_322/round2.js" + tlPrefixPath: "/home/kevin/src/currawong/data/frag_302_322" + scoreFn: "/home/kevin/src/currawong/data/frag_302_322/round2.csv" + modFn: "/home/kevin/src/currawong/data/frag_302_322/mod_simple_seq_2u.js" + + tksbFn: "/home/kevin/src/kc/src/kc/data/takeSeqBldr0.js" + measFn: "/home/kevin/src/kc/src/kc/data/meas0.js" + recordDir: "/home/kevin/temp/kc_record" + + + midiDevice: "Fastlane" + midiOutPort: "Fastlane MIDI A" + midiOutPort2: "Fastlane MIDI B" + + // silent pppp ppp pp p mp mf f ff fff + dynRef: [ 1 14, 28, 42, 56, 71, 85, 99, 113,128 ] + + mod_sel : + [ + ["out"], + [seq_a], + [seq_b], + [seq_c], + [seq_d], + [seq_f_1], + [seq_f_2], + [seq_f_3], + [seq_f_4], + [seq_g], + [seq_g_a], + [seq_g_1_a], + [seq_g_1_d] + ] + + wndSmpCnt : + [ + ["out"], + [512], + [1024], + [2048], + [4096], + [8192] + ] + + hopFact : + [ + ["out"] + [1], + [2], + [4], + [8], + [16] + ] + + measMenu : + [ + ["label", "out"], + [Threshold, 0], + [UprSlope, 1], + [LwrSlope, 2], + [None, 3] + ] + + biQuadEqMode : + [ + ["mode" ], + [ LP ], + [ HP ], + [ BP ], + [ AP ], + [Notch], + [Peak], + [LSh], + [HSh] + ] + + amSync : + [ +/* + { af:"af-16" asmp:34735276 mf:"mf-10" mid:350 } + { af:"af-16" asmp:71802194 mf:"mf-10" mid:787 } + { af:"af-16" asmp:97898842 mf:"mf-11" mid:3 } + { af:"af-16" asmp:168899738 mf:"mf-11" mid:644 } +*/ + ] + + recdPlayPath: "/Users/kevin/src/kc/src/kc/data/slivers" +/* + recdPlay : + [ + { label:"118" file:"seg_118.wav" } + { label:"119" file:"seg_119.wav" } + { label:"121" file:"seg_121.wav" } + { label:"122" file:"seg_122.wav" } + { label:"123" file:"seg_123.wav" } + { label:"124" file:"seg_124.wav" } + { label:"126" file:"seg_126.wav" } + { label:"127" file:"seg_127.wav" } + { label:"128" file:"seg_128.wav" } + { label:"129" file:"seg_129.wav" } + { label:"130" file:"seg_130.wav" } + { label:"131" file:"seg_131.wav" } + { label:"132" file:"seg_132.wav" } + + ] +*/ + +} \ No newline at end of file diff --git a/rsrc/time_line_lite_af.js b/rsrc/time_line_lite_af.js new file mode 100644 index 0000000..e3a4daa --- /dev/null +++ b/rsrc/time_line_lite_af.js @@ -0,0 +1,110 @@ +{ + + timeLineFn: "/home/kevin/src/currawong/data/frag_302_322/round2.js" + tlPrefixPath: "/home/kevin/src/currawong/data/frag_302_322" + scoreFn: "/home/kevin/src/currawong/data/frag_302_322/round2.csv" + modFn: "/home/kevin/src/currawong/data/frag_302_322/single_preset.js" + + tksbFn: "/home/kevin/src/kc/src/kc/data/takeSeqBldr0.js" + measFn: "/home/kevin/src/kc/src/kc/data/meas0.js" + recordDir: "/home/kevin/temp/kc_record" + + + midiDevice: "Fastlane" + midiOutPort: "Fastlane MIDI A" + midiOutPort2: "Fastlane MIDI B" + + // silent pppp ppp pp p mp mf f ff fff + dynRef: [ 1 14, 28, 42, 56, 71, 85, 99, 113,128 ] + + mod_sel : + [ + ["out"], + [seq_a], + [seq_b], + [seq_c], + [seq_d], + [seq_f_1], + [seq_f_2], + [seq_f_3], + [seq_f_4], + [seq_g], + [seq_g_a], + [seq_g_1_a], + [seq_g_1_d] + ] + + wndSmpCnt : + [ + ["out"], + [512], + [1024], + [2048], + [4096], + [8192] + ] + + hopFact : + [ + ["out"] + [1], + [2], + [4], + [8], + [16] + ] + + measMenu : + [ + ["label", "out"], + [Threshold, 0], + [UprSlope, 1], + [LwrSlope, 2], + [None, 3] + ] + + biQuadEqMode : + [ + ["mode" ], + [ LP ], + [ HP ], + [ BP ], + [ AP ], + [Notch], + [Peak], + [LSh], + [HSh] + ] + + amSync : + [ +/* + { af:"af-16" asmp:34735276 mf:"mf-10" mid:350 } + { af:"af-16" asmp:71802194 mf:"mf-10" mid:787 } + { af:"af-16" asmp:97898842 mf:"mf-11" mid:3 } + { af:"af-16" asmp:168899738 mf:"mf-11" mid:644 } +*/ + ] + + recdPlayPath: "/Users/kevin/src/kc/src/kc/data/slivers" +/* + recdPlay : + [ + { label:"118" file:"seg_118.wav" } + { label:"119" file:"seg_119.wav" } + { label:"121" file:"seg_121.wav" } + { label:"122" file:"seg_122.wav" } + { label:"123" file:"seg_123.wav" } + { label:"124" file:"seg_124.wav" } + { label:"126" file:"seg_126.wav" } + { label:"127" file:"seg_127.wav" } + { label:"128" file:"seg_128.wav" } + { label:"129" file:"seg_129.wav" } + { label:"130" file:"seg_130.wav" } + { label:"131" file:"seg_131.wav" } + { label:"132" file:"seg_132.wav" } + + ] +*/ + +} \ No newline at end of file diff --git a/rsrc/ui_test.js b/rsrc/ui_test.js new file mode 100644 index 0000000..b539d55 --- /dev/null +++ b/rsrc/ui_test.js @@ -0,0 +1,22 @@ +{ + wndSmpCnt : + [ + ["out"], + [512], + [1024], + [2048], + [4096], + [8192] + ] + + hopFact : + [ + ["out"] + [1], + [2], + [4], + [8], + [16] + ] + +} \ No newline at end of file diff --git a/rsrc/xform_only.js b/rsrc/xform_only.js new file mode 100644 index 0000000..18043d8 --- /dev/null +++ b/rsrc/xform_only.js @@ -0,0 +1,105 @@ +{ + + + + afFn: "/home/kevin/src/currawong/audio/GUTIM_Dry_20200913_48k_24bit.wav" + modFn: "/home/kevin/src/currawong/data/xform_only/single_preset.js" + recordWetDir: "/home/kevin/temp/kc_record/xform_only/wet" + recordDryDir: "/home/kevin/temp/kc_record/xform_only/dry" + recordMixDir: "/home/kevin/temp/kc_record/xform_only/mix" + + + // silent pppp ppp pp p mp mf f ff fff + dynRef: [ 1 14, 28, 42, 56, 71, 85, 99, 113,128 ] + + mod_sel : + [ + ["out"], + [seq_a], + [seq_b], + [seq_c], + [seq_d], + [seq_f_1], + [seq_f_2], + [seq_f_3], + [seq_f_4], + [seq_g], + [seq_g_a], + [seq_g_1_a], + [seq_g_1_d] + ] + + wndSmpCnt : + [ + ["out"], + [512], + [1024], + [2048], + [4096], + [8192] + ] + + hopFact : + [ + ["out"] + [1], + [2], + [4], + [8], + [16] + ] + + measMenu : + [ + ["label", "out"], + [Threshold, 0], + [UprSlope, 1], + [LwrSlope, 2], + [None, 3] + ] + + biQuadEqMode : + [ + ["mode" ], + [ LP ], + [ HP ], + [ BP ], + [ AP ], + [Notch], + [Peak], + [LSh], + [HSh] + ] + + amSync : + [ +/* + { af:"af-16" asmp:34735276 mf:"mf-10" mid:350 } + { af:"af-16" asmp:71802194 mf:"mf-10" mid:787 } + { af:"af-16" asmp:97898842 mf:"mf-11" mid:3 } + { af:"af-16" asmp:168899738 mf:"mf-11" mid:644 } +*/ + ] + + recdPlayPath: "/Users/kevin/src/kc/src/kc/data/slivers" +/* + recdPlay : + [ + { label:"118" file:"seg_118.wav" } + { label:"119" file:"seg_119.wav" } + { label:"121" file:"seg_121.wav" } + { label:"122" file:"seg_122.wav" } + { label:"123" file:"seg_123.wav" } + { label:"124" file:"seg_124.wav" } + { label:"126" file:"seg_126.wav" } + { label:"127" file:"seg_127.wav" } + { label:"128" file:"seg_128.wav" } + { label:"129" file:"seg_129.wav" } + { label:"130" file:"seg_130.wav" } + { label:"131" file:"seg_131.wav" } + { label:"132" file:"seg_132.wav" } + + ] +*/ + +} \ No newline at end of file