Administrateur

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Groupe Public active 5 hours et 48 minutes ago

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

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

Auteur 4 Utilisateurs souscrits |
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

Avril 9, 2015 à 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

Avril 9, 2015 à 20:57 #13198
Profile photo of voodoopou
voodoopou

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

Avril 10, 2015 à 14:15 #13205
Profile photo of Jean
Jean

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

Avril 10, 2015 à 14:55 #13206
Profile photo of voodoopou
voodoopou

Thank you Jean,
your solution also works!
:)

Avril 11, 2015 à 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

Août 9, 2018 à 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

Août 9, 2018 à 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

Août 9, 2018 à 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

Août 10, 2018 à 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.

Août 10, 2018 à 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…

Août 10, 2018 à 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!

Août 10, 2018 à 14:22 #27425

Vous devez être connecté pour répondre à ce sujet.

Log in now