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.

replacing or removing intrevals from a melody

Featured Replies

Is there a way to remove or replace  intervals from a melody? I am

looking for a function like chord-interval-replace but for a melody instead of chords.

Convert the pitch list to intervals, remove the unwanted intervals, then back to pitches.

(setf pitches '(g0 fs1 e2 bb4 eb3 e3 fs3 a4 b3 d4 e4 fs4 g4 a5))
(setf intervals (pitch-to-interval pitches))
=> (11 10 30 -19 1 2 15 -10 3 2 2 1 14)

(setf new (filter-remove '(2 19 30) intervals))
(interval-to-pitch new :start 'g4)
=> (g4 fs5 e6 a4 bb4 cs6 eb5 fs5 g5 a6)

 

or

(interval-ambitus 11 '(g0 fs1 e2 bb4 eb3 e3 fs3 a4 b3 d4 e4 fs4 g4 a5))

 

  • Author

oh this is great !! thanks a lot!!

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.