Recherche Google
OpenMusic 6 – User ManualThe OM Environment > Library > User Libraries
previous pagenext page

User Libraries

The User Libraries contain specific functionalities, that is classes and functions, that can be loaded dynamically in OM.These libraries are not enclosed in the OM initial application, but they consist of Lisp files that are stored in the User Libraries folder of OM : dynamic loading allows to load a library on demand, for specific purposes.

Using User Libraries

Dynamic Loading

To load a user library :

  • double click on the lower part of a package
  • Ctrl / right click on a package and choose Load Library.

Loaded libraries show a green label : , unloaded libraries, a red label : .

Dead Libraries

If a patch contains functions or classes pertaining to a user library, the user will be asked if the library must be loaded or not when opening the patch.

Choose Yes. Otherwise, all components attached to this patch will appear as "dead boxes".

Displaying the Content of a User Library

The content of a user library is displayed in Package, List or Class tree mode , like that of other libraries – see Packages .

About Displaying Modes
Adding Components from a User Library to a Patch

Once a library is loaded, classes and functions can be dropped to a patch editor 

  • from the function and classes panes of the Library window
  • from the User Librairies menu items.
Adding Items from the Library Window

External and Remote User Libraries

External User Libraries

The user can also store her or his own libraries in a personal directory. This directory should be specified in the Library preferences of OM.

  1. Open the Preferences pane : OM 6.X.X / Preferences.

  2. To select the Library preferences, click on the User Libraries tag icon .

  3. Click on ... to select a User External Directory, choose Open.

  4. Select or create a folder, choose Apply and OK.

The external libraries will be automatically displayed in the User Library package .

Remote Libraries

To import a library from another location to the User Library package :

  1. select the Library window

  2. choose File / New Remote User Library .

  3. delect the library folder you folder you want to import and choose Open.

The remote library appears in the User Library package just like any other user library .

Autoload

User libraries, including remote and external libraries, can be loaded automatically at startup.

  1. Open the User Libraries preferences pane,

  2. select the libraries you want to load at start up in the "Autoload" frame,

  3. choose Apply and OK.

Changing the Location of an External or Remote User Library

If you change the location of a library directory after it's been added in the Library window, OM won't find it and won't load the library.

For More Information about How to Write Your Own User Library, See :
previous pagenext page
About...(c) Ircam - Centre PompidouMade with Scenari