Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by MikeMossey

  1. I'm sorry my intention is not clear in this one-measure example, but my intention is to have my score grouped by measures. For this short score it doesn't matter, but when a score gets longer, your method here was difficult for me to work with. With your method, see how if I add measures I need to add them in four different places? If the score got much longer it would be difficult to follow which measures match up and difficult to edit the music by inserting or removing measures.




  2. There's probably a better way to do this, but I got interested in entering my entire piano score one measure at a time... by comparison, I noticed that many of the "stages" examples had one list for each voice or staff of an entire composition with multiple measures per list. I tried working with that but found it difficult.


    So I played around with some Lisp. In this example I have one measure, which is a list of the rh voice 1, rh voice 2, lh voice 1, and lh voice 2. The intention is to have multiple measures in a list, so it's a little contrived at this point, but I could test my Lisp. So "unzipping" this list of measures into a list of all the measures making up rh voice1, all the measures making up rh voice 2, etc. I then call merge-voices on the two rh voices and the two lh voices, then pass these as the treble and bass staff to the def-score.


    Is there a better way to do this, perhaps something built-in?





  3. Hi Torsten,

    I got a lot of this working. My issue at the time I wrote that was that I wanted to know how to load, compile, or execute a lisp file. I could see that the OM menu allows me to audition/notate the "last score" but since I didn't know how to load/compile/execute a Lisp file I didn't know how to make a specific file into the last score.


    I since discovered the C-c C-l shortcut which loads a lisp file and make its variables available in the REPL. After C-c C-l on a file it appears to become the last score, so C-c o l works on it.


    I realized that I just need to work through some Emacs/Slime/Common Lisp tutorials - I mean general Lisp tutorials, not OM-specific stuff. Which is going to be helpful for learning OM anyway, especially if I want to do anything beyond the provided OM functions.




  4. Thanks so much! Yes, I think I'm going to use Emacs. The shortcuts are coming back to me. I might reprogram a few to keep things similar with VS Code. Like Cmd-S for save.


    I'm finishing a traditional composition now and after that is done I'll start an OM project in earnest. So I might come back to you then for more ideas.




  5. Okay, I figured out that the Listener window is a LISP REPL and I've gotten it working with some CL stuff from a tutorial. I think that when it wasn't working before was when I was inside a stack trace or hadn't completed typing a command or something like that.


    EDIT: and I just figured that using (load-file "filename") in the REPL makes it into the current score for C-c o l to work on it.


    EDIT 2: working with a Common Lisp tutorial is helping me to understand fundamentals. I think it's good to do alongside the OM tutorials.

  6. Okay, I'll give up using Emacs for now. A related question is, is there documentation on what can be done with the Listener window? Is that just for echoing the results of commands run from the menu or are there additional commands that can be run in the Listener? I tried typing the same commands in the Listener that I see echoed there and nothing happened.





  7. Stephane, I read all that and have the REPL running in Emacs, I just can't find any documentation on what command to give the REPL to load/compile/run a file. I even used Emacs completion to test every command I could think of that started "audition", "opusmodus" etc. with no clear answers. When I use C-c o l, it auditions and notates the last score run inside OM, but I want it to do that with files in Emacs



  8. Hi Stephane,

    Thanks for your help so far. It's great to hear you are using Emacs. I used it for 25 years before switching to Visual Studio Code so I'd like to dust off some of those skills. I even wrote Emacs Lisp, a good preparation I think for learning Common Lisp.


    But what I'm trying to figure out right now is how to run or execute an Emacs buffer so that it becomes the last score. In OM if you just select Audition and Notation it will evaluate/compile/run the current file, but I can't find the equivalent in Emacs slime.


  9. 15 hours ago, AM said:

    have a look here...?




    I understand this in general, or I should say I'm moving through the stages and comprehending them as I go (up to stage 9) but the issue was that OM got into a bad state somehow and stopped working. Or more specifically "audition and notation" stopped working. Also the listener wasn't showing any commands. I just had to restart it.

  10. 11 hours ago, opmo said:

    'Last Score' means last compiled score or snippet.


    I suggest you take a lesson or two with Stephane to speedup the learning curve.

    Can he explain how to use Emacs with OM? What I'm wondering about is how to run a file in Emacs so it becomes the last score. In OM, it's easy to evaluate or execute the current file, but there doesn't seem to be an equivalent command in Emacs.

  11. OM got into this state where ^-cmd-1 doesn't result in any sound or any score appearing. Maybe I don't understand how this is supposed to be used but I'm unable to play or view any score including those in the "stages" examples.

    Oh I just had to restart it. I noticed also that the Listener prompt disappeared. Maybe that has something to do with it.


  12. I used Emacs for many years for Python, C++ and Haskell - and I see it's possible to use it with OpusModus. However my Emacs shortcuts are rusty - ever since I started tutoring multiple programming languages for high school students, I've had to switch to Visual Studio Code so that my students wouldn't have to learn a Emacs (very unlike their modern editors they are used to) or need to learn a different IDE for every language.


    If I'm going to spend time relearning Emacs (I'm not really used to it any more), I might as well spend time learning the built-in editor, right? Or is there a compelling reason to dust off my Emacs skills?



  13. 1 hour ago, Stephane Boussuge said:

    It could be also you have in you OSX preference General the option close-window when quitting application (something approximately like this because my OSX version is in French ...)



    Hi Stephane, I found the option and it was checked, so I'll try unchecking it.


    9 hours ago, opmo said:

    It looks like you have installed additional files into your Opusmodus system - Def-Library or Extensions directory - one of them has an error.

    Just remove the newly created files from the Opusmodus Extensions and the Def-Library directories.


    Okay I'll try removing those files.

  14. Every time I quit Opusmodus, it will not open again. Or to be specific the menu appears but the main window does not. I need to do every one of the following to get it to run again:


    delete cache

    delete preferences

    reinstall from the latest dmg (curiously it copies very slowly - like it takes 3 or 4 minutes to install - never seen anything like this before)

    reboot my computer


    Note that the reboot operation seems to be necessary: the other stuff alone won't fix it.


    This is a major obstacle so I'd like to know if a better fix is in the works.



  15. I'm confused on two points. Where do I put a new sound set like the EastWest one? And where are the default sound sets stored (I'd like to take a look at them.)


    I configured home/Documenets/Opusmodus as my Opus Modus folder. But all the subfolders of Def-Libraries are empty. So for example there's nothing in Def-Libraries/Def-Sound-Sets.





  16. Wow, thanks! What a community Opmo has! I'm looking forward to learning more about it.


    I puchased XCE 8 years ago for Windows. Trying to get it to run on my Mac but no luck yet. I've contacted xsample.de. I see there's already a sound set for XCE that comes with Opmo.


    Regarding sound sets, I'm a programmer so I'm pretty sure I can figure out most things on my own if you can point me to documentation that explains how to create and use sound sets.


    I do need some more documentation or help setting up custom functions. I tried copying your last-score-to-editor function to the System Library and created a contents.opmo file, but when I add a call to last-score-to-editor to one of the demonstration scores and evaluate all, I get a message about last-score-to-editor being undefined.





  17. Thanks, everyone. I'd like to build an interface to EastWest Orchestra Gold which includes a lot of key switched instruments. So what I can guess is that I create some mapping of OMN notation to different MIDI channels and key switches?


    In some sample libraries, trills and tremolos are played by pressing and releasing the key rapidly.. in some sample libraries you just press the key and hold it to get tremolo... does OM work with both those kinds? Can you program trill or tremolo rate in the case of the former types?




  18. I wrote my own score processing program that converts MusicXML to MIDI playback. I mainly use it for Pianoteq and I discovered a long time ago that MIDI piano legato sounds much more natural when you overlap the notes by 50 to 100 ms. In fact that removes a lot of the mechanical sound of MIDI altogether.


    My own program is quite limited, especially with sample libraries, so I want to switch over to Opusmodus. I'm wondering if there is some way to get it to perform legato like this. While I'm asking that, I'm aware that EastWest Orchestra Gold has a "legato mode" in which notes that overlap are performed as a monophonic line with a legato connection, so maybe Opusmodus can already do that too.




  • Create New...

Important Information

Terms of Use Privacy Policy