/*
 * Created by Nick on Nov 28, 2004
 *
 */
package jmsltutorial;

import com.softsynth.jmsl.MusicShape;
import com.softsynth.jmsl.jsyn2.JSynUnitVoiceInstrument;
import com.softsynth.jmsl.jsyn2.unitvoices.FilteredSawtoothBL;

/**
 * Microtonally reasonably close transcription of Jody Diamond singing "Sabbath
 * Bride"
 * 
 * @author Nick Didkovsky, (c) 2004 All rights reserved, Email:
 *         nick@didkovsky.com
 *  
 */
public class SabbathBrideMusicShape extends MusicShape {

    public SabbathBrideMusicShape() {
        super(9);
        setInstrument(new JSynUnitVoiceInstrument(8, FilteredSawtoothBL.class.getName()));
        setDimensionName(0, "duration");
        setDimensionName(1, "pitch");
        setDimensionName(2, "amplitude");
        setDimensionName(3, "hold");
        setDimensionName(4, "cutoff");
        setDimensionName(5, "resonance");
        setDimensionName(6, "rate");
        setDimensionName(7, "vibratorate");
        setDimensionName(8, "vibratodepth");
        add(1.0, 64.9, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(1.0, 64.9, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(1.0, 64.9, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(0.5, 62.8, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 60.8, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(1.0, 62.8, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(1.0, 62.8, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(2.0, 58.0, 0.5, 1.6, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(1.5, 62.9, 0.5, 1.2000000000000002, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(0.5, 64.7, 0.5, 0.4000000000000001, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 62.8, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 60.8, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 60.0, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 62.7, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(1.5, 60.7, 0.5, 1.2000000000000002, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(0.5, 62.7, 0.5, 0.4, 2300.0, 0.8, 0.12, 0.0, 0.6064865960847551);
        add(1.0, 64.8, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(0.5, 58.0, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 60.8, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(1.0, 64.9, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(1.0, 64.9, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(1.0, 64.9, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(0.5, 62.8, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 60.8, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(1.0, 62.8, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(1.0, 62.8, 0.5, 0.8, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(1.5, 69.8, 0.5, 1.2000000000000002, 2300.0, 0.8, 0.12, 1.0, 0.6064865960847551);
        add(0.5, 69.7, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 67.4, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 65.5, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 64.7, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 63.0, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 61.0, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 62.7, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 59.7, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 60.8, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(3.0, 58.0, 0.5, 2.4000000000000004, 2300.0, 0.8, 0.22, 1.0, 0.6064865960847551);
        add(0.5, 58.0, 0.5, 0.4, 2300.0, 0.8, 0.22, 0.0, 0.6064865960847551);
        add(0.5, 60.8, 0.5, 0.4, 2300.0, 0.8, 0.12, 0.0, 0.6064865960847551);
    }
}