January 4, 20251 yr In the video "Mapping Velocity to Pitch - How To in 100 Seconds", it is demonstrated how to apply MIDI velocities to a composition. However, one might just want to apply a certain velocity curve purely for a playback effect, without getting that many visually excessive dynamic markings in the actual score. I hope that is possible to achieve right now? Of course, one could later manually remove excessive markings in their preferred notation program. However, this is an inconvenience; moreover, during the compositional process within Opusmodus, you can see how it is an inconvenience to constantly see all those markings.
January 4, 20251 yr ;;;--------------------------------------------------------- ;;; Parameters ;;;--------------------------------------------------------- (setf vect (vector-smooth 0.23 (gen-noise 128))) (setf pch (vector-to-pitch '(e4 g6) vect)) (setf vel (vector-to-velocity 0.1 0.9 vect)) (setf len (gen-repeat (length vect) '(s))) ;; Don't use velocity in OMN (setf omn (filter-change (make-omn :pitch pch :length len ))) (setf flute omn) ;;;--------------------------------------------------------- ;;; Score and Layout ;;;--------------------------------------------------------- (def-score flute (:title "Title" :composer "Composer Name" :copyright "Copyright © " :key-signature 'chromatic :time-signature '((1 1 1 1) 4) :tempo 100 :layout (flute-layout 'flute)) (flute :omn flute :channel 1 :velocity vel ;; BUT USE IT HERE :sound 'gm :program 'flute :volume 95 :pan 70 :controllers (91 '(52)) ) )
January 4, 20251 yr Author 33 minutes ago, Stephane Boussuge said: ;; Don't use velocity in OMN Thank you for the code example. This seems to exclude everything, though. What if I do want some markings in my score, is that possible? Even if they are, like, "fake" and unrelated to the actual MIDI velocities under the hood, that would be ok too. Of course, you would normally want some markings, like a "mf" at the start of a measure, etc.
January 4, 20251 yr Set the :ignore-velocity to T in the def-score instance, this will hide all the velocity symbols in the score: (def-score name (:key-signature 'chromatic :time-signature '(4 4) :tempo 120 :ignore-velocity t) . . .)
January 4, 20251 yr Author 6 minutes ago, opmo said: this will hide all the velocity symbols in the score See my very post above yours.
Create an account or sign in to comment