Jump to content

Problem creating library in Def-library


Recommended Posts

Hello all,

    I've done this before back in 2018, but for some reason it's not working now. I'm trying to create a library of partials of a sea sound. I can get up to the load section of the documentation and everything comes up error free, but when I try to create the library i get the following error message:

 

Error: Parsing of logical pathname "Partials/Sea-sounds1-frames" failed at index 8 (#\/).
  1 (abort) Return to top loop level 0.

 

I am following the instructions in the import-spectral-spear instructions. Anyone have any ideas? The data files are all there and seem to be fine. Just the library isn't created. 

 

I can send the code I used. It's the same as in the instructions, but with the filenames changed. Thank you.

 

Best,

Tim

I just found the library file. It's not in the Def-Library folder. Can I just move it there?

 

Tim

Link to comment
Share on other sites

Thank you for the reply, Janusz. I have moved the files into the Def-library folder, restarted Opusmodus, and when I try to evaluate my score it tells me the library doesn't exist. I looked at the files themselves, and they definitely say Library in the header and def-library in the body, so they are library files. Any other ideas? Also, when I start Opusmodus the load user source window appears to show they have loaded. 

 

Tim

Link to comment
Share on other sites

How you call the file. Have you try the example - at the end of the file - after restart, are they working?

You don't need to load the file, just use the data directly with the library function:

 

(library 'sea-sounds1-partials 'partials nil :collect '(0 3 5))

 

Every file in the User Source/Extensions or User Source/Libraries directory is loaded at start.

Your file looks OK. If you can't see the result of the expression then something is wrong.

(library 'sea-sounds1-partials 'partials nil :collect '(0 3 5))

I will make a new update tomorrow.

Link to comment
Share on other sites

I'm not completely clear on this. Do you want me to put that in my score file or in the library file? I just want to be sure I put it in the right place. I'm assuming score. 

In my 2018 score, the first line is:

 

(setf partials (library 'sea_sounds1-partials 'partials 'p45))

 

It's giving me a "Library not found" error. But the library is in the Def-library folder, and the data and partials folder has the files that are supposed to be there, although I don't think they are the issue. 

 

I've also put the line in a new file and get the same error. 

 

Tim

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy