
export interface ITraxSoundSet {
    cd: number;
    title: string;
    artist: string;
    color: string;
    sampleLengths: number[];
}

export const GetTraxSampleId = (cd: number, sampleIndex: number): number => ((cd - 1) * 9) + sampleIndex + 1;

export const GetTraxSoundSetForSample = (sampleId: number): number => (Math.floor((sampleId - 1) / 9) + 1);

export const TraxSoundSets: ITraxSoundSet[] = [
    { cd: 1, title: 'DJ Fuse\'s Duck Funk', artist: 'Sulake', color: '#CACACA', sampleLengths: [1, 2, 2, 4, 2, 1, 2, 1, 2] },
    { cd: 2, title: 'DJ Fuse\'s Habbo Theme', artist: 'Sulake', color: '#CACACA', sampleLengths: [2, 2, 2, 2, 4, 1, 1, 1, 2] },
    { cd: 3, title: 'SnowStorm Theme', artist: 'Sulake', color: '#CACACA', sampleLengths: [2, 1, 1, 2, 4, 1, 1, 1, 2] },
    { cd: 4, title: 'Sunset Adverture(s)', artist: 'Sulake', color: '#CACACA', sampleLengths: [4, 2, 4, 2, 2, 1, 2, 2, 2] },
    { cd: 5, title: 'Dark Skies', artist: 'Sulake', color: '#868686', sampleLengths: [4, 1, 2, 2, 2, 5, 1, 2, 1] },
    { cd: 6, title: 'Ambience(s)', artist: 'Sulake', color: '#CACACA', sampleLengths: [3, 4, 2, 4, 2, 4, 1, 2, 3] },
    { cd: 7, title: 'Furni Sounds I', artist: 'Sulake', color: '#CACACA', sampleLengths: [1, 2, 1, 1, 1, 1, 2, 1, 2] },
    { cd: 8, title: 'Electronica', artist: 'Sulake', color: '#CACACA', sampleLengths: [1, 2, 2, 4, 2, 1, 2, 2, 1] },
    { cd: 9, title: 'Mysto Magica', artist: 'Sulake', color: '#CACACA', sampleLengths: [2, 2, 3, 2, 4, 4, 2, 4, 3] },
    { cd: 10, title: 'Boy Band Sensation', artist: 'Sulake', color: '#CACACA', sampleLengths: [1, 2, 1, 1, 1, 4, 1, 2, 1] },
    { cd: 11, title: 'Spicey Donna', artist: 'Sulake', color: '#CACACA', sampleLengths: [2, 1, 4, 2, 2, 2, 2, 2, 2] },
    { cd: 12, title: 'Abe Normal', artist: 'Sulake', color: '#42A842', sampleLengths: [1, 1, 4, 1, 1, 2, 2, 4, 2] },
    { cd: 13, title: 'Cafe Muzzakh', artist: 'Sulake', color: '#D7D740', sampleLengths: [1, 4, 1, 2, 2, 2, 2, 2, 4] },
    { cd: 14, title: 'Cameron\'s Ex', artist: 'Sulake', color: '#4275A8', sampleLengths: [1, 4, 2, 2, 2, 2, 1, 1, 2] },
    { cd: 15, title: 'El Generico', artist: 'Sulake', color: '#DBA80F', sampleLengths: [4, 4, 2, 2, 1, 2, 1, 4, 4] },
    { cd: 16, title: 'Ferry Nultado', artist: 'Sulake', color: '#DB7575', sampleLengths: [2, 2, 2, 2, 2, 2, 2, 4, 2] },
    { cd: 17, title: 'Jive Sideburns', artist: 'Sulake', color: '#DBA80F', sampleLengths: [4, 1, 1, 1, 1, 2, 2, 4, 4] },
    { cd: 18, title: 'Little Tanga Beach', artist: 'Sulake', color: '#CACACA', sampleLengths: [1, 2, 1, 1, 1, 1, 1, 1, 1] },
    { cd: 19, title: 'MnM', artist: 'Sulake', color: '#CACACA', sampleLengths: [2, 2, 2, 2, 1, 1, 2, 1, 1] },
    { cd: 20, title: 'Monkey Paradise', artist: 'Sulake', color: '#CACACA', sampleLengths: [4, 4, 2, 1, 2, 2, 2, 2, 2] },
    { cd: 21, title: 'Snotty Day', artist: 'Sulake', color: '#757575', sampleLengths: [4, 4, 4, 1, 1, 1, 1, 4, 4] },
    { cd: 22, title: 'A Day in the Park', artist: 'Sulake', color: '#CACACA', sampleLengths: [1, 1, 1, 2, 4, 2, 4, 4, 1] },
    { cd: 23, title: 'Nature Nightlife', artist: 'Sulake', color: '#4275A8', sampleLengths: [3, 2, 1, 1, 2, 1, 2, 2, 3] },
    { cd: 24, title: 'Compu FX', artist: 'Sulake', color: '#CACACA', sampleLengths: [1, 2, 2, 2, 2, 4, 2, 1, 2] },
    { cd: 25, title: 'Party Pack', artist: 'Sulake', color: '#DB7575', sampleLengths: [1, 4, 4, 1, 4, 1, 1, 4, 4] },
    { cd: 26, title: 'Bhangra Mangra', artist: 'Sulake', color: '#DB7575', sampleLengths: [2, 2, 1, 4, 1, 1, 1, 1, 1] },
    { cd: 27, title: 'Rasta Santa\'s Pack', artist: 'Sulake', color: '#A8750F', sampleLengths: [2, 2, 2, 1, 1, 2, 2, 2, 2] },
    { cd: 28, title: 'Moshy Metal', artist: 'Sulake', color: '#757575', sampleLengths: [2, 4, 4, 4, 4, 2, 4, 4, 4] },
    { cd: 29, title: 'Dancefloor Burners', artist: 'Sulake', color: '#757575', sampleLengths: [1, 2, 2, 1, 1, 2, 2, 1, 2] },
    { cd: 30, title: 'Double Peaks', artist: 'Sulake', color: '#DB7575', sampleLengths: [2, 4, 2, 4, 4, 4, 4, 4, 4] },
    { cd: 31, title: 'House Loops', artist: 'Sulake', color: '#4275A8', sampleLengths: [4, 4, 1, 4, 4, 4, 1, 1, 1] },
    { cd: 32, title: 'Pianissimo', artist: 'Sulake', color: '#CACACA', sampleLengths: [4, 4, 4, 4, 4, 4, 4, 4, 4] },
    { cd: 33, title: 'Yngvie Van Halen', artist: 'Sulake', color: '#757575', sampleLengths: [2, 2, 2, 4, 2, 2, 2, 2, 2] },
    { cd: 34, title: 'Rockin\' Riffs', artist: 'Sulake', color: '#757575', sampleLengths: [2, 2, 2, 2, 2, 2, 2, 2, 2] },
    { cd: 35, title: 'Supa Funk', artist: 'Sulake', color: '#75A842', sampleLengths: [1, 1, 1, 1, 1, 1, 1, 1, 1] },
    { cd: 36, title: 'Bossa Nueva', artist: 'Sulake', color: '#DB7575', sampleLengths: [2, 2, 2, 2, 2, 2, 2, 2, 2] },
    { cd: 37, title: 'Habbowood', artist: 'Sulake', color: '#CACACA', sampleLengths: [4, 2, 2, 2, 2, 2, 2, 4, 4] },
    { cd: 38, title: 'Highway to Habbo', artist: 'Sulake', color: '#757575', sampleLengths: [2, 2, 1, 2, 4, 1, 2, 2, 4] },
    { cd: 39, title: 'Pixels on the Water', artist: 'Sulake', color: '#757575', sampleLengths: [4, 2, 2, 1, 1, 1, 2, 2, 2] },
    { cd: 40, title: 'Iron Maid', artist: 'Sulake', color: '#757575', sampleLengths: [2, 1, 4, 2, 2, 1, 4, 2, 1] },
    { cd: 41, title: 'Sympathy for the Coder', artist: 'Sulake', color: '#757575', sampleLengths: [1, 2, 2, 2, 2, 1, 4, 2, 4] },
    { cd: 42, title: 'Snouthill Horror', artist: 'Sulake', color: '#757575', sampleLengths: [3, 4, 4, 4, 4, 4, 4, 2, 4] },
    { cd: 43, title: 'Silence of the Moderators', artist: 'Sulake', color: '#0F4275', sampleLengths: [4, 4, 4, 4, 3, 2, 2, 2, 4] },
    { cd: 44, title: 'Ghost Story', artist: 'Sulake', color: '#4275A8', sampleLengths: [4, 4, 4, 4, 2, 2, 4, 2, 4] },
    { cd: 45, title: 'Berlin Connection', artist: 'Sulake', color: '#CACACA', sampleLengths: [1, 1, 2, 2, 2, 2, 2, 1, 4] },
    { cd: 46, title: 'Club Sounds III', artist: 'Sulake', color: '#4275DB', sampleLengths: [2, 1, 1, 1, 2, 2, 2, 2, 4] },
    { cd: 47, title: 'Loco Electro', artist: 'Sulake', color: '#CACACA', sampleLengths: [2, 1, 2, 2, 1, 1, 2, 2, 1] },
    { cd: 48, title: 'Jackin\' Chicago', artist: 'Sulake', color: '#A8750F', sampleLengths: [1, 2, 2, 2, 1, 2, 2, 4, 1] },
    { cd: 49, title: 'Maximum Minimal', artist: 'Sulake', color: '#75A842', sampleLengths: [2, 2, 2, 2, 2, 2, 4, 4, 2] },
    { cd: 50, title: 'Nu Skool Breakz', artist: 'Sulake', color: '#A8750F', sampleLengths: [1, 2, 1, 1, 1, 2, 1, 2, 2] },
    { cd: 51, title: 'NYC Beat', artist: 'Sulake', color: '#CACACA', sampleLengths: [2, 4, 4, 2, 2, 2, 2, 2, 1] },
    { cd: 52, title: 'State of Trancehouse', artist: 'Sulake', color: '#757575', sampleLengths: [2, 2, 2, 2, 1, 2, 2, 2, 2] },
    { cd: 53, title: 'Jingle Beats', artist: 'Sulake', color: '#A8FFFF', sampleLengths: [2, 4, 4, 2, 4, 4, 4, 4, 2] },
    { cd: 54, title: 'Rudolph\'s Loops', artist: 'Sulake', color: '#DB0F0F', sampleLengths: [4, 2, 4, 4, 4, 2, 4, 4, 2] },
    { cd: 55, title: 'RnB Grooves 1', artist: 'Sulake', color: '#75420F', sampleLengths: [2, 2, 2, 2, 2, 2, 4, 2, 2] },
    { cd: 56, title: 'RnB Grooves 2', artist: 'Sulake', color: '#75420F', sampleLengths: [2, 4, 2, 4, 4, 2, 4, 2, 1] },
    { cd: 57, title: 'RnB Grooves 3', artist: 'Sulake', color: '#75420F', sampleLengths: [4, 4, 2, 4, 2, 2, 2, 2, 1] },
    { cd: 58, title: 'RnB Grooves 4', artist: 'Sulake', color: '#75420F', sampleLengths: [4, 4, 4, 2, 1, 2, 4, 2, 2] },
    { cd: 59, title: 'RnB Grooves 5', artist: 'Sulake', color: '#75420F', sampleLengths: [2, 2, 2, 2, 2, 2, 1, 2, 2] },
    { cd: 60, title: 'Valentine 1', artist: 'Sulake', color: '#DB7575', sampleLengths: [1, 2, 2, 1, 1, 2, 2, 1, 2] },
    { cd: 61, title: 'Valentine 2', artist: 'Sulake', color: '#DB7575', sampleLengths: [1, 2, 2, 2, 2, 4, 2, 2, 2] },
    { cd: 62, title: 'Alhambra Trax 1', artist: 'Sulake', color: '#DBA875', sampleLengths: [4, 4, 4, 4, 4, 2, 2, 2, 4] },
    { cd: 63, title: 'Alhambra Trax 2', artist: 'Sulake', color: '#DBA875', sampleLengths: [4, 4, 4, 4, 4, 4, 2, 2, 2] },
    { cd: 64, title: 'Alhambra Trax 3', artist: 'Sulake', color: '#DBA875', sampleLengths: [2, 2, 4, 1, 4, 2, 4, 4, 4] },
    { cd: 65, title: 'Tiki Vol. 1', artist: 'Sulake', color: '#DBA875', sampleLengths: [4, 4, 4, 4, 4, 4, 4, 4, 4] },
    { cd: 66, title: 'Tiki Vol. 2', artist: 'Sulake', color: '#DBA875', sampleLengths: [4, 4, 4, 4, 4, 4, 4, 4, 4] },
    { cd: 67, title: 'Tiki Vol. 3', artist: 'Sulake', color: '#DBA875', sampleLengths: [4, 4, 4, 4, 4, 4, 4, 4, 4] },
    { cd: 68, title: 'EC 1', artist: 'Sulake', color: '#A8FF42', sampleLengths: [2, 2, 1, 4, 4, 1, 2, 4, 4] },
    { cd: 69, title: 'EC 2', artist: 'Sulake', color: '#A8FF42', sampleLengths: [4, 2, 1, 2, 4, 2, 2, 1, 2] },
    { cd: 70, title: 'EC 3', artist: 'Sulake', color: '#A8FF42', sampleLengths: [4, 2, 2, 2, 2, 2, 2, 4, 4] },
    { cd: 71, title: 'Icy Trax', artist: 'Sulake', color: '#CDF9FF', sampleLengths: [4, 4, 4, 4, 4, 4, 4, 4, 4] },
    { cd: 72, title: 'Country sounds', artist: 'Sulake', color: '#B89875', sampleLengths: [4, 4, 4, 4, 4, 4, 4, 1, 1] },
];
