First time here? Check out the FAQ!
x

array of concrete events in the MIDIMapper

+1 vote
347 views
Hello everybody, I hope you are having fun with Kyma during this weird summer :)

I am trying to use the MIDIMapper to change the appearance of my HotValues, but as I have many HotValues, I would like to use a script, something like:

1 to: 16 collect: [:i |(!Speed suffix: i) is: (
(ConcreteEvent new name: ('Speed'&i)) displayAs: #pot)].

which does not work.

any help?

d
asked Jul 15, 2020 in Capytalk & Smalltalk by domenico-cipriani (Master) (3,110 points)

1 Answer

0 votes
 
Best answer

Hello Domenico,

Your code is correct and it works correctly on a simple input. However, if your input includes a Replicator (or other meta-Sound that generates EventValues) the display-type definitions conflict. We have fixed this now, so you will be able to do it this way in the next software update.

In the meantime,  you can work around it by changing the widget type for !Speed where it first appears (somewhere to the left of the Replicator-like Sound that is generating 16 of them). If you change the first appearance of !Speed before the Replicator to be a potentiometer, then the Replicator will make 16 copies of it, all as potentiometers.

answered Jul 15, 2020 by ssc (Savant) (128,160 points)
selected Jul 16, 2020 by domenico-cipriani
Thanks a lot! Good to know my code was right :)
...