Class: Stretto::Tokens::PolyphonicPressureToken
Overview
Token from parsing a polyphonic pressure element
Instance Method Summary (collapse)
-
- (Value) pitch
Value of the pitch to apply pressure.
-
- (MusicElements::PolyphonicPressure) to_stretto(pattern = nil)
The PolyphonicPressure element constructed.
-
- (Value) value
Value of the pressure applied.
Methods inherited from HashToken
Instance Method Details
- (Value) pitch
Value of the pitch to apply pressure
17 18 19 |
# File 'lib/stretto/grammar/tokens/polyphonic_pressure_token.rb', line 17 def pitch Stretto::Value.new(__pitch.wrap) end |
- (MusicElements::PolyphonicPressure) to_stretto(pattern = nil)
The PolyphonicPressure element constructed
12 13 14 |
# File 'lib/stretto/grammar/tokens/polyphonic_pressure_token.rb', line 12 def to_stretto(pattern = nil) Stretto::MusicElements::PolyphonicPressure.new(self, pattern) end |
- (Value) value
Value of the pressure applied
22 23 24 |
# File 'lib/stretto/grammar/tokens/polyphonic_pressure_token.rb', line 22 def value Stretto::Value.new(__value.wrap) end |