// Our own collection of voices
var responsivevoices = [
{name: 'UK English Female', voiceIDs: [3, 5, 1, 6, 7, 8]},
{name: 'UK English Male', voiceIDs: [0, 4, 2, 6, 7, 8]},
{name: 'US English Female', voiceIDs: [39, 40, 41, 42, 43, 44]},
{name: 'Spanish Female', voiceIDs: [19, 16, 17, 18, 20, 15]},
{name: 'French Female', voiceIDs: [21, 22, 23, 26]},
{name: 'Deutsch Female', voiceIDs: [27, 28, 29, 30, 31, 32]},
{name: 'Italian Female', voiceIDs: [33, 34, 35, 36, 37, 38]},
{name: 'Greek Female', voiceIDs: [62, 63, 64]},
{name: 'Hungarian Female', voiceIDs: [9, 10, 11]},
{name: 'Russian Female', voiceIDs: [47,48,49]},
{name: 'Dutch Female', voiceIDs: [45]},
{name: 'Swedish Female', voiceIDs: [65]},
{name: 'Japanese Female', voiceIDs: [50,51,52,53]},
{name: 'Korean Female', voiceIDs: [54,55,56,57]},
{name: 'Chinese Female', voiceIDs: [58,59,60,61]},
{name: 'Hindi Female', voiceIDs: [66,67]},
{name: 'Serbian Male', voiceIDs: [12]},
{name: 'Croatian Male', voiceIDs: [13]},
{name: 'Bosnian Male', voiceIDs: [14]},
{name: 'Romanian Male', voiceIDs: [46]},
{name: 'Fallback UK Female', voiceIDs: [8]}
];
//All voices available on every system and device
var voicecollection = [
{name: 'Google UK English Male'}, //0 male uk android/chrome
{name: 'Agnes'}, //1 female us safari mac
{name: 'Daniel Compact'}, //2 male us safari mac
{name: 'Google UK English Female'}, //3 female uk android/chrome
{name: 'en-GB', rate: 0.25, pitch: 1}, //4 male uk IOS
{name: 'en-AU', rate: 0.25, pitch: 1}, //5 female english IOS
{name: 'inglés Reino Unido'}, //6 spanish english android
{name: 'English United Kingdom'}, //7 english english android
{name: 'Fallback en-GB Female', lang: 'en-GB', fallbackvoice: true}, //8 fallback english female
{name: 'Eszter Compact'}, //9 Hungarian mac
{name: 'hu-HU', rate: 0.4}, //10 Hungarian iOS
{name: 'Fallback Hungarian', lang: 'hu', fallbackvoice: true}, //11 Hungarian fallback
{name: 'Fallback Serbian', lang: 'sr', fallbackvoice: true}, //12 Serbian fallback
{name: 'Fallback Croatian', lang: 'hr', fallbackvoice: true}, //13 Croatian fallback
{name: 'Fallback Bosnian', lang: 'bs', fallbackvoice: true}, //14 Bosnian fallback
{name: 'Fallback Spanish', lang: 'es', fallbackvoice: true}, //15 Spanish fallback
{name: 'Spanish Spain'}, //16 female es android/chrome
{name: 'español España'}, //17 female es android/chrome
{name: 'Diego Compact', rate: 0.3}, //18 male es mac
{name: 'Google Español'}, //19 male es chrome
{name: 'es-ES', rate: 0.20}, //20 male es iOS
{name: 'Google Français'}, //21 FR chrome
{name: 'French France'}, //22 android/chrome
{name: 'francés Francia'}, //23 android/chrome
{name: 'Virginie Compact', rate: 0.5}, //24 mac
{name: 'fr-FR', rate: 0.25}, //25 iOS
{name: 'Fallback French', lang: 'fr', fallbackvoice: true}, //26 fallback
{name: 'Google Deutsch'}, //27 DE chrome
{name: 'German Germany'}, //28 android/chrome
{name: 'alemán Alemania'}, //29 android/chrome
{name: 'Yannick Compact', rate: 0.5}, //30 mac
{name: 'de-DE', rate: 0.25}, //31 iOS
{name: 'Fallback Deutsch', lang: 'de', fallbackvoice: true}, //32 fallback
{name: 'Google Italiano'}, //33 IT chrome
{name: 'Italian Italy'}, //34 android/chrome
{name: 'italiano Italia'}, //35 android/chrome
{name: 'Paolo Compact', rate: 0.5}, //36 mac
{name: 'it-IT', rate: 0.25}, //37 iOS
{name: 'Fallback Italian', lang: 'it', fallbackvoice: true}, //38 fallback
{name: 'Google US English', timerSpeed:1}, //39 EN chrome
{name: 'English United States'}, //40 android/chrome
{name: 'inglés Estados Unidos'}, //41 android/chrome
{name: 'Vicki'}, //42 mac
{name: 'en-US', rate: 0.2, pitch: 1, timerSpeed:1.3}, //43 iOS
{name: 'Fallback English', lang: 'en-US', fallbackvoice: true, timerSpeed:0}, //44 fallback
{name: 'Fallback Dutch', lang: 'nl', fallbackvoice: true, timerSpeed:0}, //45 fallback
//{name: 'Simona Compact'}, //NaN Romanian mac female
//{name: 'ro-RO', rate: 0.25}, //NaN iOS female
{name: 'Fallback Romanian', lang: 'ro', fallbackvoice: true}, //46 Romanian Male fallback
{name: 'Milena Compact'}, //47 Romanian mac
{name: 'ru-RU', rate: 0.25}, //48 iOS
{name: 'Fallback Russian', lang: 'ru', fallbackvoice: true}, //49 Romanian fallback
{name: 'Google 日本人', timerSpeed:1}, //50 JP Chrome
{name: 'Kyoko Compact'}, //51 Japanese mac
{name: 'ja-JP', rate: 0.25}, //52 iOS
{name: 'Fallback Japanese', lang: 'ja', fallbackvoice: true}, //53 Japanese fallback
{name: 'Google í•œêµì˜', timerSpeed:1}, //54 KO Chrome
{name: 'Narae Compact'}, //55 Korean mac
{name: 'ko-KR', rate: 0.25}, //56 iOS
{name: 'Fallback Korean', lang: 'ko', fallbackvoice: true}, //57 Korean fallback
{name: 'Google ä¸å›½çš„', timerSpeed:1}, //58 CN Chrome
{name: 'Ting-Ting Compact'}, //59 Chinese mac
{name: 'zh-CN', rate: 0.25}, //60 iOS
{name: 'Fallback Chinese', lang: 'zh-CN', fallbackvoice: true}, //61 Chinese fallback
{name: 'Alexandros Compact'}, //62 Greek Male Mac
{name: 'el-GR', rate: 0.25}, //63 iOS
{name: 'Fallback Greek', lang: 'el', fallbackvoice: true}, //64 Greek Female fallback
{name: 'Fallback Swedish', lang: 'sv', fallbackvoice: true}, //65 Swedish Female fallback
{name: 'hi-IN', rate: 0.25}, //66 iOS
{name: 'Fallback Hindi', lang: 'hi', fallbackvoice: true} //67 Hindi Female fallback
];