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

;;; CHANGE-TIME-STRUCTURES
;;; works okay, but not exactly precise because of rhy-to-integer, which is not very easy in some cases

;;; this function changes basic-rhy-structures (if it's all the time perhaps in x/32) 
;;; to other/changing sections. the lengths/rests will be rounded like in LENGTH-RATIONAL-QUANTIZE

;;; rhy+span => '((32 2) (44 7)) => means in 32 three values, in 44 seven values

(defun change-time-structure (omnseq rhy+span &key (basic-rhy 32) (round 1/4))
  (let* ((intseq (loop for i in (omn :length (flatten omnseq))
                   collect (* i basic-rhy)))
         (rhyseq (mapcar #'car rhy+span))
         (spanseq (mapcar #'cadr rhy+span))
         (divided-intseq (gen-divide spanseq intseq)))

    (length-rational-quantize (flatten (gen-length divided-intseq rhyseq)) :round round)))




(change-time-structure '(2/44 -2/44 3/44 5/44 6/44) '((32 2) (20 2) (28 3)) :basic-rhy 44)
=> (1/16 -1/16 -1/8 3/20 1/4 -1/10 3/14 -1/28)

(change-time-structure '(2/32 -2/32 3/32 5/32 6/32) '((20 2) (44 2) (28 3)) :basic-rhy 32)
=> (1/10 -1/10 -1/20 3/44 5/44 -3/44 3/14 -1/28)

 

could be done better -> go for it 🙂

greetings

andré

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.