Re: midi volume single note

2017-11-14 Thread Caagr98
You could also generate it dynamically at runtime, with something like this (please note that I haven't tested it): gradual = #(define-music-function (f mus) (procedure? ly:music?) (make-simulaneous-music (list mus (make-sequential-music (let ((len (lambda (l)

Re: midi volume single note

2017-11-14 Thread Gianmaria Lari
On 14 November 2017 at 11:30, David Kastrup wrote: > Gianmaria Lari writes: > > > On 13 November 2017 at 13:31, Caagr98 wrote: > > > >> I was thinking of something like this: > >> > >> << > >> { c'1 } > >> { s8 \set

Re: midi volume single note

2017-11-14 Thread David Kastrup
Gianmaria Lari writes: > On 13 November 2017 at 13:31, Caagr98 wrote: > >> I was thinking of something like this: >> >> << >> { c'1 } >> { s8 \set Voice.midiExpression=#0.5 s2.. Voice.midiExpression=#1 } >> >> c'1 >> >> That is, simultaneously: a)

Re: midi volume single note

2017-11-14 Thread Gianmaria Lari
On 13 November 2017 at 13:31, Caagr98 wrote: > I was thinking of something like this: > > << > { c'1 } > { s8 \set Voice.midiExpression=#0.5 s2.. Voice.midiExpression=#1 } > >> c'1 > > That is, simultaneously: a) play a note, b) wait a short while, reduce > volume, wait

Re: Fw: midi volume single note

2017-11-13 Thread Martin Tarenskeen
Note-off velocity you may forget, this is rarely used or supported in the MIDI world. Well, it is used and supported on my Roland FR-1b Midi accordion. The faster you let go of a button, the more of a "plop" it will produce. Actually, I think it is fairly important for getting a

Re: Fw: midi volume single note

2017-11-13 Thread David Kastrup
"m.tarensk...@zonnet.nl" <m.tarensk...@zonnet.nl> writes: > Verzonden vanaf mijn Huawei mobiele telefoon > > Oorspronkelijk bericht ---- > Onderwerp: Re: midi volume single note > Van: m.tarensk...@zonnet.nl > Aan: Caagr98 > Cc: > > In

Fw: midi volume single note

2017-11-13 Thread m.tarensk...@zonnet.nl
<<< text/html; charset=utf-8: Unrecognized >>> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: midi volume single note

2017-11-13 Thread Caagr98
I was thinking of something like this: << { c'1 } { s8 \set Voice.midiExpression=#0.5 s2.. Voice.midiExpression=#1 } >> c'1 That is, simultaneously: a) play a note, b) wait a short while, reduce volume, wait until rest of the note is finished (2.. is 7/8 of a measure), then reset to

Re: midi volume single note

2017-11-13 Thread Gianmaria Lari
On 13 November 2017 at 11:21, Caagr98 wrote: > You can change `Voice.midiExpression` (0≤x≤1) in the middle of a note, > which changes dynamics/volume. I don't know whether you can do that to one > specific note without affecting other simultaneous ones, but you can just >

Re: midi volume single note

2017-11-13 Thread Caagr98
You can change `Voice.midiExpression` (0≤x≤1) in the middle of a note, which changes dynamics/volume. I don't know whether you can do that to one specific note without affecting other simultaneous ones, but you can just create a new voice for that. On 11/13/17 11:16, Gianmaria Lari wrote: > >

Re: midi volume single note

2017-11-13 Thread Gianmaria Lari
On 13 November 2017 at 10:57, bb wrote: > Changes in the MIDI volume take place only on starting a note, so > crescendi and decrescendi cannot affect the volume of a single note. > http://lilypond.org/doc/v2.18/Documentation/notation/ > creating-midi-files.html > >

Re: midi volume single note

2017-11-13 Thread bb
Changes in the MIDI volume take place only on starting a note, so crescendi and decrescendi cannot affect the volume of a single note. http://lilypond.org/doc/v2.18/Documentation/notation/creating-midi-files.html Regards Am 13.11.2017 um 08:38 schrieb Gianmaria Lari: > > \version "2.19.80" >

midi volume single note

2017-11-12 Thread Gianmaria Lari
I have a long note that I would like it starts playing \ and it ends \ (in the midi). I tried this but without success: \version "2.19.80" right = \relative c'' { c1 ~ c1 } dynamics = { s4\f\> s4 s4 s4 s4 s4 s4 s4\! \p } \score { \new Staff \with { midiInstrument