Csound Csound-dev Csound-tekno Search About

[Csnd] Weird belacsound MIDI behavior

Date2020-08-05 17:19
FromAaron 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.

I am experiencing a weird issue whereby after a few minutes of inactivity in MIDI input to my Bela-mini, the MIDI ports seemingly "freeze" in belacsound, and no longer accept input from my novation LaunchControl. Has anyone experienced this? Is this a known issue? I could not find reference to it.

For those interested, here is my `.csd` file.

<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!


Aaron Krister Johnson
http://www.untwelve.org
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here