# Problems with MIDI-Input

**URL:** <https://forum.csound.com/t/problems-with-midi-input/965>\
**Category:** Newbies\
**Created:** [November 18, 2022, 11:40am UTC](https://forum.csound.com/t/problems-with-midi-input/965 "2022-11-18T11:40:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philipp](https://forum.csound.com/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@Philipp](https://forum.csound.com/u/Philipp)\
**Post date:** [November 18, 2022, 11:40am UTC](https://forum.csound.com/t/problems-with-midi-input/965/1 "2022-11-18T11:40:32Z")

</div>

Hello Everybody!  
I don’t get input from my MIDI Device into Csound (tested it with Reaper, there is no problem).  
I consulted the floss manual and also tried to print with midiin and print2k. No input form my keaboard.  
i don’t get it. Can somebody help?

I used the terminal to execute my .csd.  
Is there a way to print my MIDI Input in the Terminal, outside of Csound?  
Greetings, Philipp

```csound

<CsoundSynthesizer>
<CsOptions>
-odac -W -3 -+rtmidi=coremidi -Ma
</CsOptions>
<CsInstruments>

sr = 96000
ksmps = 128
nchnls = 2
0dbfs = 1.0

massign 0, 1
;-----------------------------------------------------------
instr 1

iCps cpsmidi
iAmp ampmidi 1
aOut poscil3 iCps, iAmp
outs aOut, aOut
endin
;-----------------------------------------------------------

</CsInstruments>
<CsScore>
</CsScore>
</CsoundSynthesizer>

```

---

<div class="post-metadata">

**Author:** ![Philipp](https://forum.csound.com/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@Philipp](https://forum.csound.com/u/Philipp)\
**Post date:** [November 18, 2022, 11:43am UTC](https://forum.csound.com/t/problems-with-midi-input/965/2 "2022-11-18T11:43:39Z")

</div>

II noticed also this two error messages:  
could not open library ‘/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libpmidi.dylib’ (-1)  
‘/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/librtjack.dylib’ (-1)

---

<div class="post-metadata">

**Author:** ![Philipp](https://forum.csound.com/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@Philipp](https://forum.csound.com/u/Philipp)\
**Post date:** [November 18, 2022, 12:25pm UTC](https://forum.csound.com/t/problems-with-midi-input/965/3 "2022-11-18T12:25:01Z")

</div>

Oh, i soved this. But i still have questions:

I solved it by testing numbers for the flag -M(x) .  
Normally -Ma should work with all devices. But for me not. Why is it so?  
Also, the way it is described in the floss manual, to get the list of midi devices doesnt work for me. I used -M999 to get all the devices but it just tells me, that im producing an error.

---

<div class="post-metadata">

**Author:** ![joachim](https://forum.csound.com/letter_avatar_proxy/v4/letter/j/a87d85/32.png) [@joachim](https://forum.csound.com/u/joachim)\
**Post date:** [November 18, 2022, 8:27pm UTC](https://forum.csound.com/t/problems-with-midi-input/965/4 "2022-11-18T20:27:38Z")

</div>

Hi Philipp -

are you using CsoundQt? Or commandline only?

best -  
joachim

---

<div class="post-metadata">

**Author:** ![Philipp](https://forum.csound.com/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@Philipp](https://forum.csound.com/u/Philipp)\
**Post date:** [November 19, 2022, 12:40pm UTC](https://forum.csound.com/t/problems-with-midi-input/965/5 "2022-11-19T12:40:40Z")

</div>

Normally i use the Commandline. But i tried it on both, QT and Terminal.

QT has noch Problems with finding the MIDI Interface and i can choose it from the menu and it works.
