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.

rest-diminution/augmentation

Featured Replies

i needed functions which shorten/enlarge only the RESTS of my complex/tupled-mixed texture - not precisely - so i coded it with diminution/augmentation+round (otherwise i would be in trouble by the crazy rests)...

violà... use it or code it smarter for OMPO! greetings andré

 

3 functions:

rest-diminution

rest-augmentation

only-length-augmentation

 

 

;;;

(defun rest-diminution (omnlist &key (factor 1) (round 1/4))
  (length-rest-merge 
   (flatten (loop for i in (single-events (length-rest-merge omnlist))
              when (< (car (omn :length i)) 0)
              collect (length-rational-quantize (length-diminution factor i) :round round)
              else collect i))))

(rest-diminution '(-3q q e4 mp -w e e4 ff) :factor 3 :round 1/4)
=> (-q e4 mp -h e e4 ff)

(rest-diminution '(-3q q e4 mp -w e e4 ff) :factor 3 :round 1/8)
=> (-e q e4 mp -q. e e4 ff)

;;;

(defun rest-augmentation (omnlist &key (factor 1) (round 1/4))
  (length-rest-merge 
   (flatten (loop for i in (single-events (length-rest-merge omnlist))
              when (< (car (omn :length i)) 0)
              collect (length-rational-quantize (length-augmentation factor i) :round round)
              else collect i))))

(rest-augmentation '(-3q q e4 mp -w e e4 ff) :factor 3 :round 1/4)
=> (-q e4 mp -d. e e4 ff)

(rest-augmentation '(-3q q e4 mp -w e e4 ff) :factor 3 :round 1/8)
=> (-q e4 mp -d. e e4 ff)

;;;

(defun only-length-augmentation (omnlist &key (factor 1) (round 1/4))
  (length-rest-merge 
   (flatten (loop for i in (single-events (length-rest-merge omnlist))
              when (> (car (omn :length i)) 0)
              collect (length-rational-quantize (length-augmentation factor i) :round round)
              else collect i))))

(only-length-augmentation '(-3q q e4 mp -w e e4 ff) :factor 3 :round 1/8)
=> (-3q h. e4 mp -w q. e4 ff)

(only-length-augmentation '(-3q q e4 mp -w e e4 ff) :factor 3 :round 1/4)
=> (-3q h. e4 mp -w q. e4 ff -e)

 

 

 

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

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.