< Back to IRCAM Forum

sharing new classes

Hello,

if I create a new class in OMChroma and I want to share it with e.g. other students in my University, how can I do it properly?
What files do they need to have in order to be able to use my class?

Thank you.

Marco Bidin

What you have to do to share your OMChroma user classes with other users.
Copy the files located in “yourWorkSpacefolder/user/Chroma User” and give them to the other users.

What the other users have to do to use your OMChroma user classes.
Create a NewWorkSpace, open “Preferences/Libraries” and select the folder where OM will look for extra libraries and give the path where the libraries OMChroma and OM2Csound are located.
Quit the Workspace
Open the NewWorkSpace folder and create the folder “Chroma User” inside the “user” folder
Put your user classes in “NewWorkSpace/user/Chroma User”.
Open again the NewWorkSpace. Now your classes are available.

Note. You have to do the same thing if you want to use your classes in another workspace

Thank you for the answer.
So the new classes work only in the workspace they are created, right?

If I understand it correctly, it is also possible to create a workspace “ad hoc” to put all the new classes (created by me or by someone else in other workspaces).
If I have to add a class created after the creation of the workspace, do I need to create another workspace or simply to add them in the “Chroma user”?

Marco

1st question. Yes, the user classes work only in the WorkSpace where they are created or copied.
2nd question. No, simply add them in any existing WorkSpace, but be careful. Do not do it if the WorkSpace is running. Quit OM, copy the files in the CHroma user folder, open again OM.

Thank you!
MB