Timothy Rolls Posted February 11 Share Posted February 11 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 Quote Link to comment Share on other sites More sharing options...
opmo Posted February 13 Share Posted February 13 Just move your library into the ~/Opusmodus/User Source/Libraries/Def-Library - it will load on the start of the app. Quote Link to comment Share on other sites More sharing options...
Timothy Rolls Posted February 13 Author Share Posted February 13 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 Quote Link to comment Share on other sites More sharing options...
opmo Posted February 13 Share Posted February 13 Please send me the library file. Quote Link to comment Share on other sites More sharing options...
opmo Posted February 13 Share Posted February 13 It is important to add the (in-package :Opusmodus) to the file, at the top. Quote Link to comment Share on other sites More sharing options...
Timothy Rolls Posted February 13 Author Share Posted February 13 Hi Janusz. it's already there. Here is the file. I also have one for frames, but I haven't been trying to call that. Tim sea-sounds1-partials.opmo Quote Link to comment Share on other sites More sharing options...
opmo Posted February 13 Share Posted February 13 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. Quote Link to comment Share on other sites More sharing options...
Timothy Rolls Posted February 13 Author Share Posted February 13 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 Quote Link to comment Share on other sites More sharing options...
opmo Posted February 13 Share Posted February 13 Before we continue please download the current OM version - just uploaded an update. I spotted a difference in the names: sea-sounds1-partials and yours is sea_sounds1-partials Quote Link to comment Share on other sites More sharing options...
Timothy Rolls Posted February 13 Author Share Posted February 13 Ok. That seems to be working now. I can evaluate the line and it shows me the numbers in the listener. But if I try to evaluate the snippet and see the spectrum on a staff, I get a parse error. And I get errors in the score, but i'll try and work those out. Tim Quote Link to comment Share on other sites More sharing options...
opmo Posted February 13 Share Posted February 13 You must take care of the ambitus. Remember the notation can only play/print the ambitus of the piano. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.