Jump to content

Featured Replies

Posted

How do I create a rhythm that accelerates or slows down between defined rhythmic values?

For example: A constant rhythm of repeated 1/136 notes should gradually slow down until it reaches 1/88. This should really be achieved with note values, not with tempo changes.

Maybe like this .That is the first that came to mind. Probably a better way.

(setf ll (gen-integer 144 88))

(make-omn 
:pitch  '(c4 ) 
:length   (loop for i in ll collect (/ 1 i))
)
;; result is this:
'(1/144 c4 mf 1/143 1/142 1/141 1/140 1/139 1/138 1/137 1/136 1/135 1/134 1/133 1/132 1/131 1/130 1/129 u 1/127 1/126 1/125 1/124 1/123 1/122 1/121 1/120 1/119 1/118 1/117 1/116 1/115 1/114 1/113 1/112 1/111 1/110 1/109 1/108 1/107 1/106 1/105 1/104 1/103 1/102 1/101 1/100 1/99 1/98 1/97 1/96 1/95 1/94 1/93 1/92 1/91 1/90 1/89 1/88)

But I get this error  when I try to get notation with cmd-1 :

 

OM 40 > audition-musicxml-omn-snippet

Error: Failed to create interface #<om-capi::notation-view "Notation Viewer: Snippet [10]" 812054F143> in its process #<mp:process Name "Cocoa Event Loop" Priority 70000000 State "Running (inside foreign code)">. Errors during display:  
 -->> The value 3217 of cl-midi::numer inside CL-MIDI:MAKE-TIME-SIGNATURE-EVENT is not of type (unsigned-byte 8). 

 

The values are ratios that should be valid.I tried several  by themselves and they show in notation.

Any idea?

This can't be displayed in notation. How do you display 1/139 etc...

 

(setf step 8)
(setf den (gen-integer 144 88 step))
=> (144 136 128 120 112 104 96 88)

(loop for i in den
      collect (/ 1 i))
=> (1/144 1/136 1/128 1/120 1/112 1/104 1/96 1/88)

 

This ratios making no sense in notation, this is why we use tempo changes - rit. and accel.

I assume your example was a working example.

It also throws an error on cmd-1 on my Mac(Sonoma) newest Opusmodus.

In case it is working on your system I can send a bug report.

 

I tried the following:

'( 1/139 c5 1/99)
'( 1/139 c5 1/101)
'( 1/139 c5 1/101 1/99)

(setf step 1)
(setf den (gen-integer 144  2 step))

(setf xx (make-omn 
:pitch  '(c4 ) 
:length   (loop for i in den collect (/ 1 i))
))

(single-events xx)

The first 2 lines are shown in notation . The third throws error.

For xx: midi and audition  works. Notation throws error.

(single-events xx) shows all length in notation and plays them.

 

The problem seems not to be that the length can't be displayed but calculating the beat I guess. 

 

  • 1 year later...

I found a somewhat similar error, so maybe there is also a somewhat similar problem... This file worked in February, but now, after 3 months break, it doesn't work anymore. I'm getting Error: Failed to create interface #<om-capi::notation-view "Notation Viewer: Kvartetto1-667020 [1]" 8120015383> in its process #<mp:process Name "Cocoa Event Loop" Priority 70000000 State "Running (inside foreign code)">. Errors during display:

-->> In zerop of (nil) arguments should be of type number.

We had a long session with Opusmodus GPT, checking the dictums, but no help. Could it be that some update could have broken something...

I have sent a bug form.

Thanks,

Henry

Algorithmic process-driv multi-dict write-to-file.opmo

(defun rea-mark (omn-exp)

"Ajoute un repere de repetition meme sur les mesures vides"

(if (event-restp (nth-event 0 omn-exp))

(position-insert 1 'reh omn-exp :section '(0))

(edit-events '((1 1 'reh :articulation)) omn-exp)))

Create an account or sign in to comment


Copyright © 2014-2025 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