Re: help for midi instruments
Hello. Le sam. 2 avr. 2022 à 01:19, Dario Marrini a écrit : > > hi guys, > I want to copy an orchestral part (as attachemento render it to midi file; > I'm quite newbie about midi, and I'd know if it's possible to perform some > things : > > i choose 'string ensemble 1' as midi instrument, but there is a 'pizzicato' > mode on cello and bass, so the question : is it possible to keep the string > ensemble 1 as midi instrument, but changing it to pizzicato string giving > that role to the item 'pizzicato' written on the score? Yes; each staff can be associated to a MIDI instrument, e.g. ---CUT--- \set Staff.midiInstrument = "violin" ---CUT--- > is it possible to change a midi instrument inside the score? in example, > passing from string ensemble to pizzicato string Yes (using the same command as above). > is it possible to change the sound level of a long note (known as velocity > about midi) giving some command inside the score? Yes (using "\<" and "\!"). > there are some sfp (sfz and then p suddenly) on long notes, is it possible to > create that effect inside the lilypond cde, without needing a post processing > in midi sequencer? Yes (dynamic markups "\ppp", "\pp", ... affect MIDI rendering). > to give some 'human behavior' to midi rendering, I should create a lot of > dynamics signs, even where they are not present; is there a way to create > them, but then keeping them hidden on the score, leaving just normal dynamic > sign? Yes (using "\tag"). Best regards, Gilles > > sorry for my English, I hope you can understand me > > regards > dario > >
Re: help for midi instruments
On Sat, Apr 2, 2022 at 5:11 AM Gilles Sadowski wrote: > Le sam. 2 avr. 2022 à 01:19, Dario Marrini a écrit : [snip] > > to give some 'human behavior' to midi rendering, I should create a lot of > > dynamics signs, even where they are not present; is there a way to create > > them, but then keeping them hidden on the score, leaving just normal > > dynamic sign? > > Yes (using "\tag"). Here's an example of how to use tags to control the MIDI volume independently from the layout volume: %%% \version "2.22.2" music = \relative { c''4\f \tag layout { c c } \tag midi { c\mf c\mp } c\p | } \score { \keepWithTag #'layout \new Staff \music \layout {} } \score { \keepWithTag #'midi \music \midi {} } %%% -- Knute Snortum
Re: help for midi instruments
Hi all, > is there a way to create [MIDI dynamics], but then keeping them hidden on the > score, leaving just normal dynamic sign? A perfect use-case for the Edition Engraver. :) Cheers, Kieren.
Re: help for midi instruments
Le sam. 2 avr. 2022 à 17:01, Kieren MacMillan a écrit : > > Hi all, > > > is there a way to create [MIDI dynamics], but then keeping them hidden on > > the score, leaving just normal dynamic sign? > > A perfect use-case for the Edition Engraver. :) What's the incantation equivalent to Knute's template? Regards, Gilles
Re: help for midi instruments
Hi Gilles, > What's the incantation equivalent to Knute's template? With a MWE, it's not worth the overhead of course. ;) But in a RWE… once you've included the EE in your project, added an edition (e.g., v1), and assigned the MIDI score an id (e.g. midi), then you could say, for example, \editionModList v1 midi <>\mf #'(1 (3 2/4) 17 (24 13/16) 41) and it would insert a volume change [to \mf] at those points in the MIDI file. With just a handful of code lines, you'd have total control of the MIDI volume "map", totally independently of the printed score and without touching/muddying the content [note] code/file. Hope that helps clarify! Kieren.
Re: help for midi instruments
Curious question if I may. Respondents in this thread suggest something is possible I thought was not possible. Is it true that putting on a whole note crescendo or decrescendo dynamics c1\> ... \p creates midi output with increasing or decreasing loudness for the duration of that note? It was my understanding that the midi specification cannot do this. From: http://www.gweep.net/~prefect/eng/reference/protocol/midispec.html Here are the possible values for the high nibble, and what type of Voice Category message each represents: 8 = Note Off 9 = Note On A = AfterTouch (ie, key pressure) #i.d., attack loudness B = Control Change C = Program (patch) change D = Channel Pressure E = Pitch Wheel Did recent versions of LP add some behind-the-scenes magic to simulate increasing and decreasing loudness for held notes (as, I believe, midi sequencers do)? Or am I misremembering everything about how LP does midi (which is entirely possible LOL)? Thanks, Guy S On Sat, Apr 2, 2022, 10:35 AM Gilles Sadowski wrote: > Le sam. 2 avr. 2022 à 17:01, Kieren MacMillan > a écrit : > > > > Hi all, > > > > > is there a way to create [MIDI dynamics], but then keeping them hidden > on the score, leaving just normal dynamic sign? > > > > A perfect use-case for the Edition Engraver. :) > > What's the incantation equivalent to Knute's template? > > Regards, > Gilles > >
Re: help for midi instruments
Le sam. 2 avr. 2022 à 18:29, Guy Stalnaker a écrit : > > Curious question if I may. Respondents in this thread suggest something is > possible I thought was not possible. Is it true that putting on a whole note > crescendo or decrescendo dynamics > > c1\> ... \p > > creates midi output with increasing or decreasing loudness for the duration > of that note? You can achieve the desired effect with the following: ---CUT--- << {c1} {s8\> s s\! s\p} >> ---CUT--- Regards, Gilles > > [...]
Re: help for midi instruments
Gilles, That aligns with my understanding of how midi works. Your example creates a sequence of "notes" with decreasing midi "attack pressure" to simulate a whole note descrendo. Thanks. -- “Happiness is the meaning and the purpose of life, the whole aim and end of human existence.” ― Aristotle On Sat, Apr 2, 2022 at 12:58 PM Gilles Sadowski wrote: > Le sam. 2 avr. 2022 à 18:29, Guy Stalnaker a écrit : > > > > Curious question if I may. Respondents in this thread suggest something > is possible I thought was not possible. Is it true that putting on a whole > note crescendo or decrescendo dynamics > > > > c1\> ... \p > > > > creates midi output with increasing or decreasing loudness for the > duration of that note? > > You can achieve the desired effect with the following: > ---CUT--- > << {c1} {s8\> s s\! s\p} >> > ---CUT--- > > Regards, > Gilles > > > > > [...] > >
Re: help for midi instruments
I thank you all guys, I'll try following your suggestions cheers Il giorno sab 2 apr 2022 alle ore 20:31 Guy Stalnaker ha scritto: > Gilles, > > That aligns with my understanding of how midi works. Your example creates > a sequence of "notes" with decreasing midi "attack pressure" to simulate a > whole note descrendo. > > Thanks. > > -- > > “Happiness is the meaning and the purpose of life, the whole aim and end > of human existence.” > > ― Aristotle > > > On Sat, Apr 2, 2022 at 12:58 PM Gilles Sadowski > wrote: > >> Le sam. 2 avr. 2022 à 18:29, Guy Stalnaker a écrit >> : >> > >> > Curious question if I may. Respondents in this thread suggest something >> is possible I thought was not possible. Is it true that putting on a whole >> note crescendo or decrescendo dynamics >> > >> > c1\> ... \p >> > >> > creates midi output with increasing or decreasing loudness for the >> duration of that note? >> >> You can achieve the desired effect with the following: >> ---CUT--- >> << {c1} {s8\> s s\! s\p} >> >> ---CUT--- >> >> Regards, >> Gilles >> >> > >> > [...] >> >>
Re: help for midi instruments
hi people, hi Gilles, can you explain to me the meaning of << {c1} {s8\> s s\! s\p} >> ? I can recognize that, what's 's' ? and what's 's8' ? THen I didn't know the existence of Edition Engraver, I have to learn how to implement it and use it, can you post some code lines for understanding it? many thanks dario Il giorno sab 2 apr 2022 alle ore 19:58 Gilles Sadowski < gillese...@gmail.com> ha scritto: > Le sam. 2 avr. 2022 à 18:29, Guy Stalnaker a écrit : > > > > Curious question if I may. Respondents in this thread suggest something > is possible I thought was not possible. Is it true that putting on a whole > note crescendo or decrescendo dynamics > > > > c1\> ... \p > > > > creates midi output with increasing or decreasing loudness for the > duration of that note? > > You can achieve the desired effect with the following: > ---CUT--- > << {c1} {s8\> s s\! s\p} >> > ---CUT--- > > Regards, > Gilles > > > > > [...] > >
Re: help for midi instruments
On Sat, Apr 9, 2022 at 10:00 AM Dario Marrini wrote: > > hi people, hi Gilles, > > can you explain to me the meaning of > << {c1} {s8\> s s\! s\p} >> > ? > I can recognize that, what's 's' ? and what's 's8' ? THen I didn't know the > existence of Edition Engraver, I have to learn how to implement it and use > it, can you post some code lines for understanding it? The "s" is a spacer, meaning it takes up space but prints no note. "s8" is a spacing with an eighth-note duration. The following "s"'s are the same duration until changed. May I suggest that you go through the LilyPond Learning Manual if you haven't already? https://lilypond.org/doc/v2.22/Documentation/learning/index.html -- Knute Snortum
Re: help for midi instruments
thank you, I'm looking at docs, but subjects are a lot and very huge, I'm trying to survive I would ask about soundfonts too, I'm copying the final of Leonora 3 ouverture, to experiment some MIdi expression effects.I'm interested in Midi rendering to create a beautiful symphonic orchestra sound, any suggestion is appreciated. I'm tried standard Fluidsyinth GM pack, and a "Sonatina" soundfont I found on the web, but strings are still very bad. I'll send here some music to let you see and, hope , suggest regards dario Il giorno sab 9 apr 2022 alle ore 19:40 Knute Snortum ha scritto: > On Sat, Apr 9, 2022 at 10:00 AM Dario Marrini > wrote: > > > > hi people, hi Gilles, > > > > can you explain to me the meaning of > > << {c1} {s8\> s s\! s\p} >> > > ? > > I can recognize that, what's 's' ? and what's 's8' ? THen I didn't know > the existence of Edition Engraver, I have to learn how to implement it and > use it, can you post some code lines for understanding it? > > The "s" is a spacer, meaning it takes up space but prints no note. > "s8" is a spacing with an eighth-note duration. The following "s"'s > are the same duration until changed. > > May I suggest that you go through the LilyPond Learning Manual if you > haven't already? > > https://lilypond.org/doc/v2.22/Documentation/learning/index.html > > -- > Knute Snortum >
Re: help for midi instruments
On Sat, Apr 9, 2022 at 10:54 AM Dario Marrini wrote: > > thank you, I'm looking at docs, but subjects are a lot and very huge, I'm > trying to survive Let me suggest that you go through just the Learning Manual first. LilyPond does have a steep learning curve but the rewards are many. -- Knute Snortum