midi rhythm

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

midi rhythm

Gianmaria Lari
I have a simple rhythm score like this:

\version "2.19.82"
myr = { 4 8 16 16 4 4 }
\score {\new RhythmicStaff \myr }

How could I generate some form of midi file from it? It's for didactical use.
Thank you, g.

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: midi rhythm

Gianmaria Lari

On Tue, 6 Nov 2018 at 23:28, Gianmaria Lari <[hidden email]> wrote:
I have a simple rhythm score like this:

\version "2.19.82"
myr = { 4 8 16 16 4 4 }
\score {\new RhythmicStaff \myr }

How could I generate some form of midi file from it? It's for didactical use.
Thank you, g.

I found a solution and I post it here in case others have the same problem.

\version "2.19.82"
myr = { c4 8 16 16 4 4 } % 
\score {\new RhythmicStaff \myr \layout {} \midi{}}

Best regards, g.
 

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: midi rhythm

SoundsFromSound
In reply to this post by Gianmaria Lari
On 11/6/2018 5:28 PM, Gianmaria Lari wrote:
I have a simple rhythm score like this:

\version "2.19.82"
myr = { 4 8 16 16 4 4 }
\score {\new RhythmicStaff \myr }

How could I generate some form of midi file from it? It's for didactical use.
Thank you, g.


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Hi G,

Something like this should work...but just add your notes and durations :)

\version "2.19.82"
\language "english"

\score {
  \new RhythmicStaff {
    %\set RhythmicStaff.midiInstrument = "flute"
    \set Staff.midiInstrument = "flute"
    c
  }
  \midi {
    \context {
    \RhythmicStaff
    \alias Staff
    }
  }
}

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
composer | sound designer | asmr artist
Reply | Threaded
Open this post in threaded view
|

Re: midi rhythm

Gianmaria Lari


On Wed, 7 Nov 2018 at 00:24, Ben <[hidden email]> wrote:
On 11/6/2018 5:28 PM, Gianmaria Lari wrote:
I have a simple rhythm score like this:

\version "2.19.82"
myr = { 4 8 16 16 4 4 }
\score {\new RhythmicStaff \myr }

How could I generate some form of midi file from it? It's for didactical use.
Thank you, g.


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Hi G,

Something like this should work...but just add your notes and durations :)

\version "2.19.82"
\language "english"

\score {
  \new RhythmicStaff {
    %\set RhythmicStaff.midiInstrument = "flute"
    \set Staff.midiInstrument = "flute"
    c
  }
  \midi {
    \context {
    \RhythmicStaff
    \alias Staff
    }
  }
}
_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user


Just made a test and it works, interesting.... Thank you Ben!
g.


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user