Skip 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.

Having a problem generating a score for contrabass

Featured Replies

Hello,

I'm working on a score for solo contrabass.

Here is where I arrived, and I cannot generate an xml score out of it:

(make-omn

(

:length '(3/16 1/16 3/32 1/4 1/8 3/16 1/16 3/32 -1/8 -1/16 3/16 1/16 3/32 -1/8 -1/16 1/8 3/16 1/16 3/32 -1/8 -3/32 1/16 3/32 -1/8 1/4 1/8 3/16 1/16 3/32 -1/8 -1/16 1/8 3/16 1/16 3/32 -1/8 -1/16 3/8 1/16 3/32 -1/8 1/4 1/8 3/16 1/16 3/32 -1/8 -1/16 3/16 1/16 3/32 -1/8 -1/16 -1/8 3/16 1/16 3/32 -1/4 1/8 3/16 3/32 -1/8 -1/4 1/8 3/16 1/16 3/32 1/4 1/8 1/16 3/32 -1/16 1/16 3/32 -1/8 -1/16 1/4 1/8 3/16 1/16 3/32 1/4 1/8 3/16 1/16 3/32 1/8 3/16 1/16 3/32 -1/8 -1/16)

:pitch '(as3.. b3.. d4 gs4. bb1 c2. d2 d2 e2. fs2 a2. c3+ d3 e3. fs3 a3. cs4 d4 e4. fs4 b1.. d2 ds2.. g2 a2.. b2.. d3 ds3.. g3 as3.. b3.. d4 gs4. bb1 c2. d2 d2 e2. fs2 a2. c3+ d3 e3. gs3 a3. cs4 d4 e4. fs4 b1.. d2 ds2.. g2 a2.. b2.. d3 ds3.. g3 as3.. b3.. d4 gs4. bb1 c2. d2 d2 e2.)

:velocity '(f mf mf mf mf mf mf mf ff ff mf mf ppp ppp ppp p mf p mf ppp pp ppp mf p mf ppp ppp ppp ppp p pp ppp p p mf pp ppp ppp ppp ppp ppp p ff f ff ff mf ff f ff mf mf ff mf mf ff mf mf mf mf ff f mf ff f mf mf)

:articulation '(- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -)))

and this is the error I'm getting:

Error: Undefined operator :length in form (:length (quote (3/16 1/16 3/32 1/4 1/8 3/16 1/16 3/32 -1/8 -1/16 3/16 1/16 3/32 -1/8 -1/16 1/8 3/16 1/16 3/32 -1/8 -3/32 1/16 3/32 -1/8 1/4 1/8 3/16 1/16 3/32 -1/8 -1/16 1/8 3/16 1/16 3/32 -1/8 -1/16 3/8 1/16 3/32 ...)) :pitch (quote (as3.. b3.. d4 gs4. bb1 c2. d2 d2 e2. fs2 a2. c3+ d3 e3. fs3 a3. cs4 d4 e4. fs4 b1.. d2 ds2.. g2 a2.. b2.. d3 ds3.. g3 as3.. b3.. d4 gs4. bb1 c2. d2 d2 e2. fs2 a2. ...)) :velocity (quote (f mf mf mf mf mf mf mf ff ff mf mf ppp ppp ppp p mf p mf ppp pp ppp mf p mf ppp ppp ppp ppp p pp ppp p p mf pp ppp ppp ppp ppp ...)) :articulation (quote (- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ...))).

1 (continue) Try invoking :length again.

2 Return some values from the form (:length (quote (3/16 1/16 3/32 1/4 1/8 3/16 1/16 3/32 -1/8 -1/16 3/16 1/16 3/32 -1/8 -1/16 1/8 3/16 1/16 3/32 -1/8 -3/32 1/16 3/32 -1/8 1/4 1/8 3/16 1/16 3/32 -1/8 -1/16 1/8 3/16 1/16 3/32 -1/8 -1/16 3/8 1/16 3/32 ...)) :pitch (quote (as3.. b3.. d4 gs4. bb1 c2. d2 d2 e2. fs2 a2. c3+ d3 e3. fs3 a3. cs4 d4 e4. fs4 b1.. d2 ds2.. g2 a2.. b2.. d3 ds3.. g3 as3.. b3.. d4 gs4. bb1 c2. d2 d2 e2. fs2 a2. ...)) :velocity (quote (f mf mf mf mf mf mf mf ff ff mf mf ppp ppp ppp p mf p mf ppp pp ppp mf p mf ppp ppp ppp ppp p pp ppp p p mf pp ppp ppp ppp ppp ...)) :articulation (quote (- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ...))).

3 Try invoking length with the same arguments.

4 Set the symbol-function of :length to the symbol-function of length.

5 Try invoking something other than :length with the same arguments.

6 Set the symbol-function of :length to another function.

7 Set the macro-function of :length to another function.

8 (abort) Return to top loop level 0.

Type :b for backtrace, or :c <option number> to proceed, or :a to abort.

Type :bug-form "<subject>" for a bug report template or :? for other options.

There is one parenthesis too many (after make-omn).

Jesper

(make-omn

:length '(3/16 1/16 3/32 1/4 1/8 3/16 1/16 3/32 -1/8 -1/16 3/16 1/16 3/32 -1/8 -1/16 1/8 3/16 1/16 3/32 -1/8 -3/32 1/16 3/32 -1/8 1/4 1/8 3/16 1/16 3/32 -1/8 -1/16 1/8 3/16 1/16 3/32 -1/8 -1/16 3/8 1/16 3/32 -1/8 1/4 1/8 3/16 1/16 3/32 -1/8 -1/16 3/16 1/16 3/32 -1/8 -1/16 -1/8 3/16 1/16 3/32 -1/4 1/8 3/16 3/32 -1/8 -1/4 1/8 3/16 1/16 3/32 1/4 1/8 1/16 3/32 -1/16 1/16 3/32 -1/8 -1/16 1/4 1/8 3/16 1/16 3/32 1/4 1/8 3/16 1/16 3/32 1/8 3/16 1/16 3/32 -1/8 -1/16)

:pitch '(as3.. b3.. d4 gs4. bb1 c2. d2 d2 e2. fs2 a2. c3+ d3 e3. fs3 a3. cs4 d4 e4. fs4 b1.. d2 ds2.. g2 a2.. b2.. d3 ds3.. g3 as3.. b3.. d4 gs4. bb1 c2. d2 d2 e2. fs2 a2. c3+ d3 e3. gs3 a3. cs4 d4 e4. fs4 b1.. d2 ds2.. g2 a2.. b2.. d3 ds3.. g3 as3.. b3.. d4 gs4. bb1 c2. d2 d2 e2.)

:velocity '(f mf mf mf mf mf mf mf ff ff mf mf ppp ppp ppp p mf p mf ppp pp ppp mf p mf ppp ppp ppp ppp p pp ppp p p mf pp ppp ppp ppp ppp ppp p ff f ff ff mf ff f ff mf mf ff mf mf ff mf mf mf mf ff f mf ff f mf mf)

:articulation '(- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -))

  • Author

Ah thank you! I keep making these same simple mistakes 🫣

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

Account

Navigation

Search

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.