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.

vector-range-drift

Featured Replies

(defun vector-range-drift (start end input &key (spread 8))
  (let ((values (gen-divide (rnd-sum (length input) (primes spread)) input))
        (n-values)
        (a-step)
        (b-step))

    (progn
      (setf n-values (1- (length values)))
      (setf a-step (/ (car (difference (list (car start) (car end)))) n-values))
      (setf b-step (/ (car (difference (list (cadr start) (cadr end)))) n-values))

      (loop for i in values
        for a = (car start) then (incf a a-step)
        for b = (cadr start) then (incf b b-step)
        append (vector-range a b i)))))
 



;;;;; EXAMPLES -> MODULATE/DRIFT white-noise - with different spreads

(list-plot
 (vector-range-drift '(-7.1 1) '(-0.1 10)
                                (gen-white-noise 187)
                                :spread 10))

(list-plot
 (vector-range-drift '(-7.1 1) '(-0.1 10)
                                (gen-white-noise 187)
                                :spread 6))



(list-plot
 (vector-range-drift '(-7.1 1) '(-0.1 5.6)
                     (gen-white-noise 517)))

(list-plot
 (vector-range-drift '(-1.1 1) '(-3.1 5.6)
                                (gen-white-noise 317)))

 

  • Author

perhaps you could expand the function when we could not only have "start->end-process/linear", also with a seq-curve (two) for LOW and HIGH values... would be very smart. so it's a kind of ambitus-modulation (with perhaps white-noise)

  • Author

INPUT-curves could be like that: (in that way you could imitate some early "xenakis-curves" when you map it to pitches :-))

 

(setf curve1 '(-5.1 -2.3 -1.1 -0.8 -0.3 -2.5))
(setf curve2 '(1.0 1.2 1.5 2.1 4.6 10.6))

 

(vector-range-drift curve1 curve2 (gen-white-noise 250))
		

 

as result:

 

screen.jpeg

 

 

 

"imitated" by my old/simple function:

 

(list-plot
 (append
  (vector-range-drift '(-5.1 1) '(-2.3 1.2)
                      (gen-white-noise 50))
  (vector-range-drift '(-2.3 1.2) '(-1.1 1.5)
                      (gen-white-noise 50))
  (vector-range-drift '(-1.1 1.5) '(-0.8 2.1)
                      (gen-white-noise 50))
  (vector-range-drift '(-0.8 2.1) '(-0.3 4.6)
                      (gen-white-noise 50))
  (vector-range-drift '(-0.3 4.6) '(-2.5 10.6)
                      (gen-white-noise 50))))

 

 

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.