[Csnd] Weird belacsound MIDI behavior
Date | 2020-08-05 17:19 |
From | Aaron Krister Johnson |
Subject | [Csnd] Weird belacsound MIDI behavior |
Hi all, I am not 100% certain that this is the best list to post, as opposed to say a BELA forum, but since there is intersection between the two, as it is a Csound AND Bela-mini issue, I thought to reach out here.<CsoundSynthesizer> <CsOptions> -m0d -Mhw:1,0,0 -+rtmidi=NULL </CsOptions> <CsInstruments> ksmps = 16 nchnls = 2 0dbfs = 1 ;------------------------------------------------------ ; Audio in/out and analog in to control gain ;------------------------------------------------------ instr 1 ;iwidth = -0.4 ;irevsize = 0.9 ;irevfc = 9000 kwidth ctrl7 1, 21, -1, 1 krevsize ctrl7 1, 22, 0, 0.97 krevfc ctrl7 1, 23, 400, 10000 a0, a1 ins amono = (a0 + a1) * 0.9 areal, aimag hilbert amono adiff = areal - aimag adiff_inv = -1 * adiff aL = amono + (adiff * kwidth) aR = amono + (adiff_inv * kwidth) arevL, arevR reverbsc aL, aR, krevsize, krevfc outs aL + arevL, aR + arevR endin instr 2 allL, allR monitor fout "stereo_neutron.wav", 14, allL, allR endin Thank you in advance for any knowledge of this! |