Jump to content
View in the app

A better way to browse. Learn more.

Opusmodus

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I need some help.

Featured Replies

Hi again.

Maybe this is a pure LISP support Q but I ask anyway.

 

This works in my score of course:

(display-midi (compile-score 'string-quartet-a :instrument 'violin1))

but when I try to do this:

(defparameter *default-pathname-defaults* "XXXXXX")

(load "score.opmo")
(load "String Quartet-A.opmo")
(load "String Quartet-A-Timeline.opmo")
(load "String Quartet-B.opmo")
(load "String Quartet-C.opmo")

(display-midi (compile-score 
               '((string-quartet-a :start 1 :end 2 :instrument 'violin1) ;<--------
                               (string-quartet-a :start 1 :end 2)
                               (string-quartet-b)
                               (string-quartet-c)
                               (string-quartet-a-t :start 4 :end 4)
                               (string-quartet-a :start 1 :end 2))
                               :file "xxx")
                               :display :quick-view)

(display-musicxml *last-score*)

 

":instrument" gives an error.

I like this way of working but I can't figure out how to solve this.

If I execute without ":instrument 'violin1" things work great.

 

Thx in advance

Lasse

Any LISP Guru that can give me a clue?

By the way...

Is there a way to save score "a"  in the workspace from within score "b" programmatically?

In my LISP books that seems to be not an easy task.

Happy for any advice.

(string-quartet-a :start 1 :end 2 :instrument 'violin1)

This will produce an error. The :instruments is for extracting an instrument/s only.
Each score need to have the same count of instrument and the same instrument names.

  • Author

I understand.

 

(compile-score '((string-quartet-a-t :start 1 :end 2)
                               (string-quartet-a :start 1 :end 2))
                             :instrument 'violin1)

That works.

I guess it is because it is written to a omn file and that file knows nothing about any scores. They are of course concatenated by "compile score".

(pprint (compile-score '((string-quartet-a-t :start 1 :end 2)
                               (string-quartet-a :start 1 :end 2))
                              :output :score))

/Lasse

Create an account or sign in to comment


Copyright © 2014-2026 Opusmodus™ Ltd. All rights reserved.
Product features, specifications, system requirements and availability are subject to change without notice.
Opusmodus, the Opusmodus logo, and other Opusmodus trademarks are either registered trademarks or trademarks of Opusmodus Ltd.
All other trademarks contained herein are the property of their respective owners.

Powered by Invision Community

Important Information

Terms of Use Privacy Policy

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.