Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 6 hours, 3 minutes ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

chord-seq – is there an input for port selection?

Author 4 Subscribed Users |
Profile photo of voodoopou
voodoopou

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

April 9, 2015 at 18:30 #13197
Profile photo of Karim
Karim

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

April 9, 2015 at 20:57 #13198
Profile photo of voodoopou
voodoopou

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

April 10, 2015 at 14:15 #13205
Profile photo of Jean
Jean

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

April 10, 2015 at 14:55 #13206
Profile photo of voodoopou
voodoopou

Thank you Jean,
your solution also works!
:)

April 11, 2015 at 13:16 #13208
Profile photo of Phivos
soklamon

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

August 9, 2018 at 17:45 #27414
Profile photo of Karim
Karim

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

August 9, 2018 at 18:11 #27415
Profile photo of Jean
Jean

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

August 9, 2018 at 20:05 #27418
Profile photo of Phivos
soklamon

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

August 10, 2018 at 12:36 #27419
Profile photo of Karim
Karim

Dear Phivos

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

August 10, 2018 at 13:03 #27420
Profile photo of Karim
Karim

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

August 10, 2018 at 13:04 #27423
Profile photo of Phivos
soklamon

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

August 10, 2018 at 14:22 #27425

You must be logged in to reply to this topic.

Log in now