Subject: midiMaximumVolume and drums

From: dmalik <[email-masked]>
Date: Tue, 25 Aug 2009 10:32:26 -0500 (CDT)

i try this code for a midi file with drums with a volume low

\score {
	<<
	\new Staff {
		 \set Staff.midiMaximumVolume = #1
		\NOTES
		}
		
	\new Staff {
		 \set Staff.midiMaximumVolume = #0.1
		\drums {
			 \repeat "unfold" 98 {  toml2 ss2 ss2 ss2}
			
		}
	}
	\midi {	}
			
}

if the is 0.1 or 0.9 the volume is the same !
lilipond 2.12.0

Thanks for replay
D M
-- 
View this message in context: http://n2.nabble.com/midiMaximumVolume-and-drums-tp3510750p3510750.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.

---

From: Martial <[email-masked]>
Date: Wed, 26 Aug 2009 17:32:25 +0200

Il faut mettre des dynamiques au moins à la 1er note de chaque portée.

Put a one dynamics at the first note of each Staff

%%---------------------------------
NOTES = \relative c' {
\repeat "unfold" 5  { c4\f e g c\pp b f e d  }
}

  \score {
  	<<
  	\new Staff {
  		
  	\new Staff {
  		\set Staff.midiMaximumVolume = #0.1
  		\drums {
  		  \repeat "unfold" 5 { toml2\f ss2 ss2 ss2 }
  		}
  	}
  	
  	\midi {	}
  }
%%---------------------------------

-- 
Martial

---

From: Martial <[email-masked]>
Date: Wed, 26 Aug 2009 17:37:49 +0200

Exemple avec la bonne syntaxe
%%-----------------------------
\version "2.12.0" %"2.13.3"
NOTES = \relative c' { \repeat "unfold" 5  { c4\f e g c\pp b f e d  }}
DRUMS = \drummode { \repeat "unfold" 5 {  toml2\f ss2 ss2 ss2 }	}

\score {
	<<
	\new Staff { \set Staff.midiMaximumVolume = #1
		\NOTES
		}
		
	\new DrumStaff { \set DrumStaff.midiMaximumVolume = #0.1 		
		\DRUMS
	}
	\layout { }
	\midi {	}		
}
%%-----------------------------

-- 
Martial

---

From: Martial <[email-masked]>
Date: Wed, 26 Aug 2009 17:50:49 +0200

> Exemple avec la bonne syntaxe

heu ben non avec \drummode on y'a pas de sortie midi des percussions
faut laisser \drums

-- 
Martial

---

From: Martial <[email-masked]>
Date: Wed, 26 Aug 2009 18:16:26 +0200

> heu ben non avec \drummode on y'a pas de sortie midi des percussions

Ha ben si !
C'est seulement inaudible avec le midiMaximumVolume = 0.1

-- 
Martial