RE: Pick a pitch/instrument in MIDI output

2009-04-17 Thread Nick Payne
See s.3.5.1 of the notation reference manual. And appendix B.4 of the manual
lists all the MIDI instrument names.

Nick

 -Original Message-
 From: lilypond-user-bounces+nick.payne=internode.on@gnu.org
 [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On
 Behalf Of Matthew Rowles
 Sent: Friday, 17 April 2009 11:01
 To: lilypond-user
 Subject: Pick a pitch/instrument in MIDI output
 
 Hi all
 
 
 I have some (pitched) music that I want to output to midi as a snare
 drum (other percussion based instruments - bass drum, tom-tom...)  for
 rhythm practice.
 
 How can I do this?
 
 
 \version 2.12.2
 music = {
   \time 4/4
   \tempo 4 = 150
 
   \relative c'{
 c4. g c16 b' c d
 e16 d e f g4 g'4 r
 R1
   }
 }
 
 \score {
   \music
 }
 
 \score {
   \music
   \midi {
   %do I put things in here to make
   % the output a snare drum?
   }
 }
 
 
 
 
 --
 Matthew Rowles
 
 - Be Alert. Australia needs lerts.
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.0.238 / Virus Database: 270.11.59/2063 - Release Date:
 04/16/09 16:38:00



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pick a pitch/instrument in MIDI output

2009-04-17 Thread -Eluze


Matthew Rowles wrote:
 
 
 How can I do this?
 
 - Be Alert. Australia needs lerts.
 
 
i had to check that first, it is explained ( 
http://www.urbandictionary.com/define.php?term=lert here )
yours is explained 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Creating-MIDI-files#Creating-MIDI-files
here  (with a link to the table of available midi instruments)

-- 
View this message in context: 
http://www.nabble.com/Pick-a-pitch-instrument-in-MIDI-output-tp23089373p23092441.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pick a pitch/instrument in MIDI output

2009-04-17 Thread Matthew Rowles
I've read all of that.

All of those instruments are pitched. I want just a snare drum to hit
out the rhythm.

I can't access the percussion midi instruments as I'm not using a drum
staff, and if I was, the notes would still change (percussion)
instrument as the pitch changed.

Basically, I want to replicate an audio RhythmStaff.

So, maybe a better phrased question: Can I pick a particular midi
instrument pitch (eg c', snare etc...) and use that for all notes in
my score?


2009/4/17 Nick Payne nick.pa...@internode.on.net:
 See s.3.5.1 of the notation reference manual. And appendix B.4 of the manual
 lists all the MIDI instrument names.

 Nick

 -Original Message-
 From: lilypond-user-bounces+nick.payne=internode.on@gnu.org
 [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On
 Behalf Of Matthew Rowles
 Sent: Friday, 17 April 2009 11:01
 To: lilypond-user
 Subject: Pick a pitch/instrument in MIDI output

 Hi all


 I have some (pitched) music that I want to output to midi as a snare
 drum (other percussion based instruments - bass drum, tom-tom...)  for
 rhythm practice.

 How can I do this?


 \version 2.12.2
 music = {
       \time 4/4
       \tempo 4 = 150

       \relative c'{
         c4. g c16 b' c d
         e16 d e f g4 g'4 r
         R1
       }
 }

 \score {
       \music
 }

 \score {
       \music
       \midi {
               %do I put things in here to make
               % the output a snare drum?
       }
 }




 --
 Matthew Rowles

 - Be Alert. Australia needs lerts.


 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.0.238 / Virus Database: 270.11.59/2063 - Release Date:
 04/16/09 16:38:00





-- 
Matthew Rowles

- Be Alert. Australia needs lerts.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pick a pitch/instrument in MIDI output

2009-04-17 Thread -Eluze


Matthew Rowles wrote:
 
 I've read all of that.
 
 All of those instruments are pitched. I want just a snare drum to hit
 out the rhythm.
 
 I can't access the percussion midi instruments as I'm not using a drum
 staff, and if I was, the notes would still change (percussion)
 instrument as the pitch changed.
 
 Basically, I want to replicate an audio RhythmStaff.
 
 So, maybe a better phrased question: Can I pick a particular midi
 instrument pitch (eg c', snare etc...) and use that for all notes in
 my score?
 
 
 2009/4/17 Nick Payne nick.pa...@internode.on.net:
 See s.3.5.1 of the notation reference manual. And appendix B.4 of the
 manual
 
 
there's a link there to the 
http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Rhythms.html#Rhythms
LSR Rhythms, adding drum parts 
you'll probably have to adapt some drumstaff according to that examples to
get what you want - or look for more examples
-- 
View this message in context: 
http://www.nabble.com/Pick-a-pitch-instrument-in-MIDI-output-tp23089373p23096188.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pick a pitch/instrument in MIDI output

2009-04-17 Thread Matthew Rowles
I was thinking along the lines of defining my own sort of
drumpitch-init.ly file and mapping my notes to the midi pitches. Is
this possible?

I currently have:

%RightHand and LeftHand
pitchnamesSidedrum = #`(
  (rh . ,(ly:make-pitch 0 1 NATURAL))
  (lh . ,(ly:make-pitch 0 -1 NATURAL))
)
#(ly:parser-set-note-names parser pitchnamesSidedrum)

and tell Lilypond to map those notes to the snare sound (or the bass or tomtom)?

any hints on how the drumpth-init.ly file actually works?

2009/4/17 Nick Payne nick.pa...@internode.on.net:
 Try \set Staff.midiInstrument=gunshot

 Nick

 -Original Message-
 From: Matthew Rowles [mailto:rowle...@gmail.com]
 Sent: Friday, 17 April 2009 20:51
 To: Nick Payne
 Cc: lilypond-user
 Subject: Re: Pick a pitch/instrument in MIDI output

 I've read all of that.

 All of those instruments are pitched. I want just a snare drum to hit
 out the rhythm.

 I can't access the percussion midi instruments as I'm not using a drum
 staff, and if I was, the notes would still change (percussion)
 instrument as the pitch changed.

 Basically, I want to replicate an audio RhythmStaff.

 So, maybe a better phrased question: Can I pick a particular midi
 instrument pitch (eg c', snare etc...) and use that for all notes in
 my score?


 2009/4/17 Nick Payne nick.pa...@internode.on.net:
  See s.3.5.1 of the notation reference manual. And appendix B.4 of the
 manual
  lists all the MIDI instrument names.
 
  Nick
 
  -Original Message-
  From: lilypond-user-bounces+nick.payne=internode.on@gnu.org
  [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org]
 On
  Behalf Of Matthew Rowles
  Sent: Friday, 17 April 2009 11:01
  To: lilypond-user
  Subject: Pick a pitch/instrument in MIDI output
 
  Hi all
 
 
  I have some (pitched) music that I want to output to midi as a snare
  drum (other percussion based instruments - bass drum, tom-
 tom...)  for
  rhythm practice.
 
  How can I do this?
 
 
  \version 2.12.2
  music = {
        \time 4/4
        \tempo 4 = 150
 
        \relative c'{
          c4. g c16 b' c d
          e16 d e f g4 g'4 r
          R1
        }
  }
 
  \score {
        \music
  }
 
  \score {
        \music
        \midi {
                %do I put things in here to make
                % the output a snare drum?
        }
  }
 
 
 
 
  --
  Matthew Rowles
 
  - Be Alert. Australia needs lerts.
 
 
  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  http://lists.gnu.org/mailman/listinfo/lilypond-user
  No virus found in this incoming message.
  Checked by AVG - www.avg.com
  Version: 8.0.238 / Virus Database: 270.11.59/2063 - Release Date:
  04/16/09 16:38:00
 
 



 --
 Matthew Rowles

 - Be Alert. Australia needs lerts.
 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.0.238 / Virus Database: 270.11.59/2063 - Release Date:
 04/16/09 16:38:00





-- 
Matthew Rowles

- Be Alert. Australia needs lerts.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Pick a pitch/instrument in MIDI output

2009-04-16 Thread Matthew Rowles
Hi all


I have some (pitched) music that I want to output to midi as a snare
drum (other percussion based instruments - bass drum, tom-tom...)  for
rhythm practice.

How can I do this?


\version 2.12.2
music = {
\time 4/4
\tempo 4 = 150

\relative c'{
  c4. g c16 b' c d
  e16 d e f g4 g'4 r
  R1
}
}

\score {
\music
}

\score {
\music
\midi {
%do I put things in here to make
% the output a snare drum?
}
}




-- 
Matthew Rowles

- Be Alert. Australia needs lerts.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user