Update : i managed the Chop execute to send midi notes from the table DAT.still buggy,

i still need :

- an array
- note OFF on value 0
- decrease maximum simultaneous notes

if somebody has a hint… thank you.

This is my CHOP Execute :

[code]

midi = op(‘midiout1’)

source = op(‘select5’)

def onValueChange(channel, sampleIndex, val, prev):

```
if op('select5')[5,1] == 1:
midi.sendNoteOn(1, 16,100)
if op('select5')[7,1] == 1:
midi.sendNoteOn(1, 17,100)
if op('select5')[9,1] == 1:
midi.sendNoteOn(1, 18,100)
if op('select5')[11,1] == 1:
midi.sendNoteOn(1, 19,100)
if op('select5')[13,1] == 1:
midi.sendNoteOn(1, 20,100)
if op('select5')[15,1] == 1:
midi.sendNoteOn(1, 21,100)
if op('select5')[17,1] == 1:
midi.sendNoteOn(1, 23,100)
if op('select5')[19,1] == 1:
midi.sendNoteOn(1, 25,100)
if op('select5')[21,1] == 1:
midi.sendNoteOn(1, 27,100)
if op('select5')[23,1] == 1:
midi.sendNoteOn(1, 28,100)
if op('select5')[25,1] == 1:
midi.sendNoteOn(1, 30,100)
if op('select5')[27,1] == 1:
midi.sendNoteOn(1, 32,100)
if op('select5')[29,1] == 1:
midi.sendNoteOn(1, 56,100)
if op('select5')[31,1] == 1:
midi.sendNoteOn(1, 58,100)
if op('select5')[33,1] == 1:
midi.sendNoteOn(1, 60,100)
if op('select5')[35,1] == 1:
midi.sendNoteOn(1, 61,100)
if op('select5')[37,1] == 1:
midi.sendNoteOn(1, 62,100)
if op('select5')[39,1] == 1:
midi.sendNoteOn(1, 63,100)
if op('select5')[41,1] == 1:
midi.sendNoteOn(1, 64,100)
if op('select5')[43,1] == 1:
midi.sendNoteOn(1, 65,100)
if op('select5')[45,1] == 1:
midi.sendNoteOn(1, 66,100)
if op('select5')[47,1] == 1:
midi.sendNoteOn(1, 67,100)
if op('select5')[49,1] == 1:
midi.sendNoteOn(1, 68,100)
if op('select5')[51,1] == 1:
midi.sendNoteOn(1, 69,100)
if op('select5')[53,1] == 1:
midi.sendNoteOn(1, 70,100)
if op('select5')[55,1] == 1:
midi.sendNoteOn(1, 71,100)
if op('select5')[56,1] == 1:
midi.sendNoteOn(1, 72,100)
if op('select5')[57,1] == 1:
midi.sendNoteOn(1, 73,100)
if op('select5')[59,1] == 1:
midi.sendNoteOn(1, 74,100)
if op('select5')[60,1] == 1:
midi.sendNoteOn(1, 75,100)
return
[/code]
```