MIDIFunc.trace(true) inputting data without touching any key

Why when I use MIDIFunc.trace(true) I am inputting data without touching any key of the midi controller with Supercollider. My midi controller is a AKAI MPK25

What kind of messages is it posting (note on or control change)? And are they all coming from the same note # / control # ?

Here is a screenshot of what I get back when I evaluate
MIDIIn.connectAll;
MIDIFunc.trace(true);

Just those 2, or does it keep dumping a constant stream of similar messages?

Continues to yield steady flow

It looks like a controller is fluctuating between some nearby values, I have had that with external expression pedals plugged in. Does the val: 37 change or stay steady? I think ‘num’ is the ccNum, so you should be able to tell where the data is coming from.

I’ve had that same issue with a pitch bend wheel. But in this case, it looks like the messages are coming from multiple ccNums (at least 2 in the screen shot), so it could be software related. @twistin Can you connect to a different software and see if you are getting the same result, or is it just in SC? You could map ccNum 18 to a fader in Ableton, for example, and see if it moves without touching anything.

Let’s figure out which source it is:

d = MIDIClient.sources.detect { |device| device.uid == 1091298509 };

d.dump;

The screenshot, btw, shows only one message from each respective controller, so there’s no way to infer a pattern. A copy/paste from the post window, with a little bit longer transcript, would have been more helpful.

Maybe, though I’m quite sure SC doesn’t generate phantom messages (and if it did, this would be evident in source code).

hjh

this is what I get back once evaluated:

-> MIDIEndPoint("Akai MPK25", "Port 1") Instancia de MIDIEndPoint { (0x10baf3f48, gc=88, fmt=00, flg=00, set=02) variables de instancia [3] dispositivo: "Akai MPK25" nombre: "Puerto 1" uid: Entero 1091298509

	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 82

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 14
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 14
	val: 0

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 20

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 21
	val: 23

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 81

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 9
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 0

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 79

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 78

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 16
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 4

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 23

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 9

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 22
	val: 6

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 79

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 80

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 3

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 8

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 17
	val: 5

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 20

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 17
	val: 6

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 2

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 79

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 9

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 0

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 9
	val: 0

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 16
	val: 2

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 10

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 3

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 23

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 80

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 16
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 21
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 11

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 24

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 2

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 79

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 10

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 4

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 2

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 80

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 81

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 5

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 80

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 16
	val: 2

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 9

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 4

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 2

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 21
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 79

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 16
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 21
	val: 20

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 9
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 17
	val: 5

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 80

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 16
	val: 2

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 0

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 3

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 22
	val: 7

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 8

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 17
	val: 6

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 4

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 21
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 81

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 17
	val: 5

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 5

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 21
	val: 20

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 7

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 16
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 80

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 6

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 21
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 7

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 22
	val: 8

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 0

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 8

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 79

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 20

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 21
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 17
	val: 6

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 19

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 18

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 22
	val: 9

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 80

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 17

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 81

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 9
	val: 0

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 18

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 19

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 2

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 20

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 80

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 20
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 22
	val: 8

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 79

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 4

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 80

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 16
	val: 2

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 9
	val: 1

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 3

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 7

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 22
	val: 9

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 6

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 79

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 21
	val: 23

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 23
	val: 80

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 5

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 2

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 17
	val: 5

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 22

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 19
	val: 21

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 17
	val: 6

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 6

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 3
	val: 7

MIDI Message Received:
	type: control
	src: 1091298509
	chan: 0
	num: 18
	val: 1

-> MIDIFunc
-> MIDIEndPoint("Akai MPK25", "Port 1")
Instance of MIDIEndPoint {    (0x10baf3f48, gc=88, fmt=00, flg=00, set=02)
  instance variables [3]
    device : "Akai MPK25"
    name : "Port 1"
    uid : Integer 1091298509
}```

Is the Akai an old device? Because the control pots seem like it, from the output.

hjh

Yes is a MPK25. Perhaps I should replace this device with a more modern one.
Any suggestions for one that works well with SC and is suitable for studio and Live Coding.

I asked because this sometimes happens with old MIDI controllers – the knobs get jittery between values, so they keep sending e.g. “26 27 26 27 26 27” without being touched. Your transcript looks like a hardware problem, affecting several knobs… I haven’t used a keyboard controller for awhile, I’d have to leave it to others to recommend.

hjh

thank you for your help!!!

I had this problem with an old akai drum pad, took it apart and cleaned with contact cleaner and a q tip and it fixed the jitter