Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jacko Midi In fails? #4

Open
tjingboem opened this issue Nov 12, 2023 · 0 comments
Open

Jacko Midi In fails? #4

tjingboem opened this issue Nov 12, 2023 · 0 comments

Comments

@tjingboem
Copy link

all examples for the Jacko opcodes have been updated, the note that Jack daemon should run and no -+rtaudio=jack in CsOptions has been added as well,
but there is an issue with the Jacko Midi In connection. In that it does not work.
My keyboard is generating notes, and i think i am using the right kind of code in the csd but there is no sound generated.

<CsoundSynthesizer>
<CsOptions>
;
</CsOptions>
<CsInstruments>

sr     = 48000
ksmps  = 128
nchnls = 2
0dbfs  = 1

; by Menno Knevel - 2023
; The example shows how to connect a Midi port (Edirol) to the Midi In of Instrument 1

JackoInit   "default", "csound6"		       	        ; Csound as a Jack client
JackoMidiInConnect "UM-3:midi/playback_2", "midiinEDIROL" 	; create 1 Midi in port
JackoAudioOutConnect  "audioout", "system:playback_1"

instr 1	; get notes to the EDIROL Midi port	
midinoteoncps p4, p5
print p4
;print p5

kvel = p5/127
aout    vco2    kvel, p4
JackoAudioOut "audioout", aout
endin

</CsInstruments>
<CsScore>
f0 30
;i1 1 30 
e 
</CsScore>
</CsoundSynthesizer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant