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.

Featured Replies

"counterpoint 6.opmo" does not compile. "Error: Cannot coerce -1 to type string."

I fixed it by changing this line:

(setf v-5 (gen-loop d-5 (rnd-sample 12 '(1 2 3 - -) :encode nil :seed 42)))

to

(setf v-5 (gen-loop d-5 (rnd-sample 12 '(1 2 3) :encode nil :seed 42)))

The example "counterpoint 4.opmo" also fails to compile. "Error: Cannot coerce -3/4 to type string."

I'm not sure how to fix that one.

  • etu changed the title to problem with counterpoint examples

Works here.

Jesper

(setf d-5 6)

(setf v-5 (gen-loop d-5 (rnd-sample 12 '(1 2 3 - -) :encode nil :seed 42)))

->((3 2 1 - - - - 3 1 - - 3) (3 2 1 - - - - 3 1 - - 3) (3 2 1 - - - - 3 1 - - 3) (3 2 1 - - - - 3 1 - - 3) (3 2 1 - - - - 3 1 - - 3) (3 2 1 - - - - 3 1 - - 3))

Just to confirm - I also get errors on both those files of the 'cannot coerce to string' variety. This is when using the 'Evaluate All' option on both Counterpoint 4 and Counterpoint 6 code.

On Counterpoint 6, the error is thrown by the counterpoint function in Section 5.

On Counterpoint 4, all three of the counterpoint function code lines throw a "cannot coerce to string" error.

Running latest OM update, 4.0.30647. MacOS.

Ah, OK, then I don't know, I'm afraid.

Jesper

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

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.