Jump to content

Featured Replies

Posted

I'm trying to figure out what might be wrong with this script:
 

(setf melody
  '(q c4 mp q db4 q eb4 q e4 q fs4 q bb4 q a4 q d4))  ; Melody

(setf melody-pairs
  (gen-divide 2 melody))  ; Group melody into pairs

(setf chords
  '(
    h c4db4e4g4 p    ; Cdim7
    h e4gs4b4d5 p   ; E7
    h fs4a4c5eb5 p  ; F#7b9
    h d4f4a4c5 p    ; Dmin9
  ))  ; Chord progression

(setf seq-melody melody-pairs)  ; Separate melody for staff
(setf seq-chords chords)        ; Separate chords for staff

(setf len1 (omn-length seq-chords))

(midi-destinations)

(def-score test
  (:title "Score Test"
   :composer "JBM"
   :time-signature '(4 4)
   :tempo 72)
  (part1
   :omn seq-melody
   :port 2
   :channel 1)
  (part2
   :omn seq-chords
   :port 2
   :channel 1))

 

Everything evaluates, but running cmd-1 on the def-score throws:

 

OM 153 > audition-musicxml-omn-snippet

Error: In - of (nil 14) arguments should be of type number.
  1 (continue) Return a value to use.
  2 Supply a new first argument.
  3 (abort) Abort display notation.
  4 Return to top loop level 0.

Type :b for backtrace or :c <option number> to proceed.
Type :bug-form "<subject>" for a bug report template or :? for other options.


I've also tried port as "Bus 1", but it's basically the same thing.

Not sure what's up.

You missed :key-signature slot.

 

(def-score test
  (:title "Score Test"
   :composer "JBM"
   :time-signature '(4 4)
   :key-signature 'atonal
   :tempo 72)

  (part1
   :omn seq-melody
   :port 2
   :channel 1)
  (part2
   :omn seq-chords
   :port 2
   :channel 1))

 

  • Author

Oh my, of course... gulp.

Thanks for catching that!

  • Author

Is there a control for trill speed, by any chance? It sounds very frantic to me. 🙂

 

EDIT: I'm using VV and SWAM instruments, btw, hence the "manual" trill speed. Obviously using a sampled trill would be one solution.

Yes there is:

trem-e        1/8
trem-s        1/16
trem, trem-t  1/32
trem-x        1/64
trem-3h       1/6
trem-3q       1/12
trem-3e       1/24
trem-3s       1/48
trem-5h       1/10
trem-5q       1/20
trem-5e       1/40
trem-5s       1/80
trem-7h       1/14
trem-7q       1/28
trem-7e       1/56
trem-7s       1/112


same with trill1 and trill2:
tr1...
tr2...


In the “Introduction to OMN: The Language” document (Assistant Panel (D)), you will find all the articulations used by OM.

  • Author
5 hours ago, opmo said:

Yes there is:

trem-e        1/8
trem-s        1/16
trem, trem-t  1/32
trem-x        1/64
trem-3h       1/6
trem-3q       1/12
trem-3e       1/24
trem-3s       1/48
trem-5h       1/10
trem-5q       1/20
trem-5e       1/40
trem-5s       1/80
trem-7h       1/14
trem-7q       1/28
trem-7e       1/56
trem-7s       1/112


same with trill1 and trill2:
tr1...
tr2...


In the “Introduction to OMN: The Language” document (Assistant Panel (D)), you will find all the articulations used by OM.

Oh, excellent. Yes, this is perfect, thanks!

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