uk.org.toot.music.tonality
Class Chord.AbstractProgression
java.lang.Object
uk.org.toot.music.tonality.Chord.AbstractProgression
- All Implemented Interfaces:
- Chord.Progression
- Direct Known Subclasses:
- Chord.CountdownProgression, Chord.I_bIII_bVI_bII_TurnAround, Chord.ii_V7_I_I_Progression
- Enclosing class:
- Chord
public abstract static class Chord.AbstractProgression
- extends java.lang.Object
- implements Chord.Progression
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Chord.AbstractProgression
public Chord.AbstractProgression(int barCount,
int stepCount)
getBarCount
public int getBarCount()
- Specified by:
getBarCount
in interface Chord.Progression
getStepCount
public int getStepCount()
- Specified by:
getStepCount
in interface Chord.Progression
getRelativeVoicing
public Chord.RelativeVoicing getRelativeVoicing(int bar,
int step)
- Specified by:
getRelativeVoicing
in interface Chord.Progression
- Returns:
- a RelativeVoicing or null
getPitches
public int[] getPitches(int bar,
int step,
int root)
- Specified by:
getPitches
in interface Chord.Progression
- Parameters:
bar
- - the bar within the progressionstep
- - the step within the barroot
- - the root of the relative voicing
- Returns:
- int[] of pitches
Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.