Jump to content

Empty Layout in PS


Recommended Posts

Dear All, 

 

Is there some way to make a ps score with drums (or other instrument) just for hearing but not appearing in the score ?

In Def-Score is possible.

Is there some kind of layout like "empty-layout" to be used in PS ?

Something like

 

(def-instrument-set vst-wind
                      :instruments
    (:group wind4tet ;optional
            :vst-flt (:layout empty-layout
                            :port "WIFmidi01" 
                            ;here is the midi port name of your system. You can get the name using the (midi-destinations) function
                            :channel 2
                            :pan (pan 40)
                            :volume 90
                            )

 

Thanks a lot !

Best,

Julio

Link to comment
Share on other sites

The def-instrument-set needs to be set correctly for each instrument. There are no empty layouts 🙂

I addend a new keyword :audition into the PS function.

When :output is set to :audition no midi player or notation viewer will display - just audio.

 

Example:

(ps 'gm :sq (list vn1 vn2 vla vlc) :tempo 68 :output :audition)

 

def-score is more flexibile for it - no layout needed.

Link to comment
Share on other sites

  • 7 months later...

Hello! If there are no empty layouts, how would we work with custom instruments using def-score if there are no empty layouts?

 

For example if I want to send midi to a DAW to use VST instruments and functionality but keep the instruments legible and clear in my OM score, which layout would I use? Bracket-group? Let's say I want to use a pad, polysynth, monosynth, kick, snare, modularsynth. I'm assuming bracket group is best but I'm not sure how to resolve 'right-hand 'left-hand with an instrument name like monosynth or polysynth. Perhaps  (piano-layout  'polysynthl 'polysynthr)?

 

This works and I'm happy with it but if there's any caveats in what I'm doing please let me know. 

 

(def-score electronic
    (:title "electronic music score"
     :composer "THT"
     :copyright "Copyright ©2023 "
     :key-signature 'chromatic
     :time-signature '((1 1 1 1) 4)
     :tempo 100
     :layout (list
              (piano-layout 'polysynthl 'polysynthr)
              (treble-layout 'monosynth)
              (treble-layout 'modularsynth)
              (piano-layout 'padl 'padr)
              (bracket-group
              (snare-drum-layout 'kick)
              (bass-drum-layout 'snare))))
  

  
  (polysynthl
   :omn polysynth
   :channel 2
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
  (polysynthr
   :omn polysynth
   :channel 2
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
  
  (monosynth
   :omn monosynth
   :channel 3
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
   
     (modularsynth
   :omn modularsynth
   :channel 4
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
     (padl
   :omn pad
   :channel 5
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
     (padr
   :omn pad
   :channel 5
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
  (kick
   :omn kick
   :channel 1
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
  (snare
   :omn snare
   :channel 2
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
  )

 

Link to comment
Share on other sites

Hi Tom,

 

to output midi, you don't need any layout, you can do this.

(def-score electronic
    (:title "electronic music score"
     :composer "THT"
     :copyright "Copyright ©2023 "
     :key-signature 'chromatic
     :time-signature '((1 1 1 1) 4)
     :tempo 100
     )
  
  (polysynthl
   :omn polysynth
   :channel 2
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
  (polysynthr
   :omn polysynth
   :channel 2
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
  
  (monosynth
   :omn monosynth
   :channel 3
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
   
     (modularsynth
   :omn modularsynth
   :channel 4
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
     (padl
   :omn pad
   :channel 5
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
     (padr
   :omn pad
   :channel 5
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
  (kick
   :omn kick
   :channel 1
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
  (snare
   :omn snare
   :channel 2
   :sound 'gm
   :program 0
   :volume 100
   :pan 64
   :port 1
   :controllers (91 '(72))
   )
  )

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy