< Back to IRCAM Forum

Chord-seq - is there an input for port selection?

Dear list,

I’m trying to change the port of a chord-seq in order to send the midi information to the right intrument through IAC. I know I can do it entering chord-seq, selecting all notes and changing the port, but this is quite time consuming and it doesnt let much space for more automations.
Is there a way to control the midi port from the outside?

Thanx

Ok
here it is .

Put the set-obj-port.lisp in your patches folder (which is in the OM folder)
The .omp file is just an example.

However this is as is. It works for me. But i think if you don’t have all the correction patches it might not work.

Keep me informed.

BEst
K

set-obj-port.lisp (1.41 KB)

hey Karim!
That’s great!
It worked for me also straight through!
Thanx :slight_smile:

hello
I think the inbuilt function SET-PORT should work as well…
Jean

Thank you Jean,
your solution also works!
:slight_smile:

Hi there,
coming back to the discussion with a different account.

I have updated OpenMusic to the 6.13 version. Unfortunately, a couple of abstractions that Karim has provided (in lisp code), are not functional any more if placed in the patches folder.

Am I doing something wrong or is there an incompatibility with the new version?

Thanx

Dear Soklamon,

I think it is working.
You just have to trash the chord and chord-seq object in the example patch so you can update the old objects.

However as stated in this thread, use instead the built-in function set-port that was implemented later than the code i have written.
It yields the same results.

Or maybe you have another issue with the new om version ?

best
K

Hi there,

=> There is no more “patches” folder in OM 6.13 for Mac.
You have two solutions to load Lisp code at startup:

  1. put the lisp files in the “user” folder of your workspace
  2. put the .lisp file in …/OM 6.13/Contents/MacOS/Init/

Jean

Thank you Karim and Jean!

Regarding Karim’s suggestion, I have tried SET-PORT and it seems to work fine.

My problem was actually with the other lisp object changechan.lisp Karim have sent me in 2015 (having the cat audiophile profile) to be able to change channels: http://forumnet.ircam.fr/user-groups/openmusic/forum/topic/voice-is-there-an-input-for-midi-channel-selection/

I’ve tried to trash all chord and chord-seq object in the patch, I tried a new patch, I even tried a new project. However, I keep receiving “function Changechan does not exist!”

I followed Jean’s suggestions. Suggestion 2 (put the .lisp file in …/OM 6.13/Contents/MacOS/Init/) didn’t work for some reason. However, suggestion 1 work successfully!

Thank you again guys!
Phivos

Dear Phivos

did you try with this code (attached here ) ?
This worked for me and without trashing any chord or chord-seq.

Changechan.zip (4.15 KB)

…by the way you should relaunch OM once you copied the file in the init folder. Then it should work…

It worked by putting the file in the user folder. I didn’t have to replace anything, everything got back to normal!
thanx again!