src/codeandchords/Melody.java
public Instrument playMelody(String key, float bpm, String scale, int rangeOctave)
	{
		this.instrument = new Instrument(parent, this.input.getAudioContext());
		this.playMelody(key, bpm, scale, rangeOctave, this.instrument);
		return this.instrument;
	}
/**
	 * Calls the other playMelody with the Instrument instance variable, instead of requiring one from the user.
	 * 
	 * @param key	String denoting the current key; do not include major or minor designation here
	 * @param bpm	tempo in beats per minute
	 * @param scale		either the String "major", "minor", or "chromatic"
	 * @param rangeOctave	int giving the range octave
	 */
Calls the other playMelody with the Instrument instance variable, instead of requiring one from the user.


Calls the other playMelody with the Instrument instance variable instead of requiring one from the user .
public Instrument playMelody(String key, float bpm, String scale, int rangeOctave)
	{
		this.instrument = new Instrument(parent, this.input.getAudioContext());
		this.playMelody(key, bpm, scale, rangeOctave, this.instrument);
		return this.instrument;
	}
public Instrument playMelody ( String key , float bpm , String scale , int rangeOctave ) { this . instrument = new Instrument ( parent , this . input . getAudioContext ( ) ) ; this . playMelody ( key , bpm , scale , rangeOctave , this . instrument ) ; return this . instrument ; }
Calls the other playMelody with the Instrument instance variable, instead of requiring one from the user.
Calls the other playMelody with the Instrument instance variable instead of requiring one from the user .