diff --git a/data/all_style.txt b/data/all_style.txt new file mode 100644 index 0000000..67f261e --- /dev/null +++ b/data/all_style.txt @@ -0,0 +1,939 @@ +acoustic chicago blues cape verdean +afro-jazz +ambient house 16-bit +arabic reggae +saxophone afro house +portuguese breakbeat +korean pacific reggae +hypnagogic pacific reggae +koto gnawa +new orleans grunge +instrumental bluegrass +cajun griot +choral celtic +dakar afro-cuban jazz +dark goa trance +prog avant-garde jazz +reggaetonwave +sertanejo southern rock +soulful bubblegum dance +symphonic disco +dreamy swing +garage tango +grunge cumbia +classical cumbia +hindi jungle +acoustic chicago blues algorave +afro-funk +ambient dub techno +arabic pop +saxophone drum and bass +portuguese barbershop +russian dembow +hypnagogic goa trance +koto g-funk +new orleans dembow +bluegrass +cajun algorave +choral big band +cumbia metal +dark electropop +prog ambient noise wall +reggae dirty south +sertanejo emo +soulful boogie +symphonic cloud rap +dreamy soul +garage +grunge bedroom pop +choral afro-jazz +hindi dream pop +acoustic chicago blues +afro-cuban jazz griot +ambient dub boogie +arabic mariachi +saxophone tuareg +portuguese acoustic rock +urdu rumba +hypnagogic garage +koto drill and bass +new orleans cloud rap +big band new jack swing +cajun afrikaner folk +choral bedroom pop +cumbia acoustic blues +dark drum and bass +prog afrobeat +reggae +sertanejo chillstep +soulful acoustic texas blues +symphonic city pop +dreamy shoegaze +electro-chanson +grunge americana +bubblegum bass symphonic metal +hindi doo-wop +acoustic carnatic +afro-cuban jazz doo-wop +ambient dub bedroom pop +arabic egyptian +slushwave roots reggae +portuguese 16-bit +urdu jazzwave +hypnagogic electropop +koto dembow +new orleans chillwave +swing +big band grunge +cajun acid rock +choral ambient techno +cumbia +dark dance +prog afro-jazz +reggae cumbia +saxophone shoegaze +soulful acid trance +symphonic boom bap +dreamy pacific reggae +electro-bossa nova +grunge american primitivism +ambient dub bachata +hindi chanson +acoustic blues slushwave +afro-cuban jazz crunk +alternative rock +arabic classical +mandarin trance +urdu house +hypnagogic ambient trance +koto coptic +new orleans carnatic +tuareg synthwave +big band cumbia +cajun +choral ambient noise wall +crunk swamp blues +dark coptic +prog afro-funk +rap dirty south +saxophone opera +soulful acid house +symphonic bluegrass +dreamy house +electro-alternative r&b +grunge afro-cuban jazz +drumstep soul +hindi carnatic +tuareg motown +acoustic blues mariachi +afro-cuban jazz +alternative r&b griot +arabic ambient techno +mandarin math rock +urdu electropop +hypnagogic algorave +koto boom bap +new orleans cajun +big band boogie +cabaretwave +choral alt-country +crunk punk +dark chillstep +prog acoustic texas blues +rap bedroom pop +saxophone gnawa +soul dembow +symphonic algorave +dreamy grime +electro-acid house +grunge african folk +delta blues house +hindi bubblegum dance +trap k-pop +acoustic blues glitch hop +afro trap r&b +alternative r&b dembow +arabic afrobeat +mandarin house +urdu drill +hyphy egyptian +koto alt-pop +new orleans alternative r&b +big band ambient house +cabaret rock +choral 16-bit +crunk goa trance +dark blues +popcore +rap +saxophone g-funk +soul +symphonic afro-cuban jazz +dreamy fife and drum blues +egyptian swing +grunge +liquid drum and bass house +hindi ambient house +trap g-funk +acoustic ambient trance +afro trap algorave +alternative r&b +arabic acid house +mandarin hawaiian +urdu coptic +hyphy bluegrass +klezmer pop +new jack swing big band +big band alt-country +cabaret americana +chillwavewave +crunk calypso +dark alternative rock +pop synthpop +raga jazz +saxophone edm +slushwave new jack swing +swing synthpop +dreamy drum and bass +egyptian flamenco +griot shoegaze +arabic african folk +hindi alt-country +trap +acoustic afropiano +afro trap +alt-pop afropiano +arabic 16-bit +mandarin drum and bass +urdu acid jazz +hyphy alternative r&b +klezmer +new jack swing +bengali swamp blues +cabaret +chillwave swing +country jazz +dark alt-pop +pop g-funk +raga egyptian +saxophone bossa nova +slushwave dancehall +swing sertanejo +dreamy dembow +egyptian +griot reggae +liverpool big band +hindi afrobeat +trance +acoustic acid rock +afro house rock +alt-country surf rock +appalachian folk flamenco +mandarin disco +spanish samba +hyphy +kawaii future bass polka +motown +bengali surf rock +bubblegum dance chanson +chillwave samba +country afro-cuban jazz +dark acid jazz +pop bossa nova +raga edm +saxophone barbershop +slushwave chillstep +swing samba +dreamy chillwave +edm swamp blues +griot indie +dance drill +hindi african folk +tokyo southern rock +acid trance +afro house drill and bass +alt-country dubstep +appalachian folk cloud rap +mandarin delta blues +spanish pop +hyper-southern rock +kawaii future bass afropiano +metal grunge +bengali surf +bubblegum dance +chillwave caribbean +country dancehall +dark acid house +pop +raga algorave +saxophone alt-country +slushwave acid house +swing roots reggae +dreamy bubblegum dance +edm jungle +griot +illbient egyptian +hindi acoustic rock +tokyo samba +acid techno psybient +afro house dembow +alt-country disco +appalachian folk anti-folk +mandarin cumbia +spanish merengue +hyper-motown +kawaii future bass afro-cuban jazz +merengue +bengali psybient +bubblegum bass grime +chillwave egyptian +coptic grunge +dancepop breakbeat +polka emo +raga acid breaks +saxophone 2-step +ska liquid drum and bass +swing grime +dreamy boom bap +edm grime +grime tango +dubstep rock +hindi acid rock +tokyo norteño +acid techno avant-garde jazz +afro house acoustic blues +alt-country 2-step +anti-folkwave +mandarin american primitivism +spanish mariachi +hyper-jungle +kawaii future bass +math rock ambient noise wall +bengali math rock +breakstep synthwave +chillwave bubblegum bass +coptic flamenco +dancepop +polka +raga +samba soul +ska coptic +swing bedroom pop +dreamy afro-jazz +edm g-funk +grime synthpop +tuareg +harpischord symphonic metal +tokyo liquid drum and bass +acid techno +afro house +algorave psybient +anti-folk drumstep +tokyo grunge +mandarin afrobeat +spanish funk +hyper-indie +k-pop acoustic texas blues +math rock +bengali grunge +bubblegum bass +chillsynth mento +coptic afro-rock +dancehall synthwave +piano klezmer +r&b gospel +samba dirty south +ska +swamp blues r&b +dreamy acoustic rock +edm disco +grime surf rock +electro-classical +harpischord gospel +acid rock p-funk +afrikaner folk tango +algorave hawaiian +anti-folk big band +tokyo drumstep +mandarin acid trance +spanish ambient trance +hyper-grime +k-pop +mariachi +bengali electropop +breakstep samba +chillsynth +coptic +dancehall new wave +piano country +punk polka +samba country +sitar southern rock +swamp blues boogie +dreamy acid house +edm breakbeat +grime reggaeton +urdu shoegaze +future egyptian +acid rock city pop +afrikaner folk pacific reggae +algorave garage +anti-folk +tokyo city pop +korean fife and drum blues +spanish acoustic rock +hyper-egyptian +jungle ambient noise wall +lo-fi trap +bengali egyptian +breakbeatwave +chillstep chillwave +cloud rap symphonic metal +dancehall flamenco +piano chillstep +punk electropop +samba boom bap +sitar sertanejo +swamp blues +dream pop g-funk +edm anti-folk +grime reggae +havana glitch hop +future chillwave +acid jazz crunk +afrikaner folk drill +algorave acid jazz +americana soul +tokyo afro-jazz +korean opera +russian techno +hyper-dance +jungle afrobeat +lo-fi synthpop +bengali drill +breakbeat trance +chillstep +cloud rap slushwave +dancehall country +piano cape verdean +punk acid trance +samba bachata +sitar rumba +surfwave +dream pop appalachian folk +edm +grime norteño +havana funk +french ska +acid house boom bap +afrikaner folk +algorave +americana jungle +tokyo afro-funk +korean drumstep +russian samba +hyper-crunk +jungle +lo-fi roots reggae +bengali cape verdean +breakbeat coptic +chanson soul +cloud rap +dancehall city pop +piano caribbean +psychedelic swing +samba afropiano +sitar goa trance +surf slushwave +dream pop +dubstepcore +grime calypso +havana electropop +french shoegaze +acid house +african folk math rock +afroswing new wave +american primitivism illbient +tokyo acid trance +korean cabaret +russian salsa +hyper-blues rock +jazz soul +lo-fi pacific reggae +bengali barbershop +breakbeat balkan brass band +chanson funk +classicalwave +dancehall acoustic texas blues +piano afroswing +psychedelic psybient +samba +sitar glitch hop +surf rock boogie +doo-wop pop +dubstep samba +grime avant-garde jazz +havana chillstep +french samba +acid breaks alt-country +african folk drill +afroswing k-pop +american primitivism bedroom pop +tokyo acid breaks +korean americana +russian roots reggae +hyper-afrobeat +jazz sertanejo +lo-fi cloud rap +bengali american primitivism +bossa nova merengue +chanson alt-pop +classical surf +dancehall +piano afro-rock +psychedelic motown +salsa polka +sitar fife and drum blues +surf rock +doo-wop drumstep +dubstep kawaii future bass +grime 2-step +havana cajun +french psybient +accordion tango +african folk +afroswing +american primitivism 2-step +techno norteño +korean algorave +russian k-pop +hyper-acid house +jazz future bass +lo-fi bubblegum bass +bengali afroswing +bossa nova +chanson +classical grime +dancecore +piano african folk +psychedelic house +salsa +sitar drum and bass +surf raga +doo-wop classical +dubstep +grime +havana bubblegum bass +french grunge +accordion rap +acoustic texas blues chillstep +afropiano blues rock +ambient trance mento +techno bossa nova +korean afrobeat +russian grunge +hyper-2-step +jazz +lo-fi ambient dub +bengali acoustic chicago blues +boom bap p-funk +celtic tango +classical folk +dance southern rock +pacific reggae ska +psychedelic hawaiian +rumbawave +sitar delta blues +surf grunge +disco cloud rap +drumstep chillsynth +gospelwave +havana bedroom pop +french glitch hop +accordion jungle +acoustic texas blues afrobeat +afropiano +ambient trance jungle +techno big band +korean afro-funk +russian grime +house symphonic metal +j-pop chillsynth +lo-fi afro-cuban jazz +bedroom pop ska +boom bap celtic +celtic cloud rap +classical dirty south +dance illbient +pacific reggae samba +psychedelic dream pop +rumba cape verdean +sitar cumbia +surf flamenco +disco classical +drum and bass swing +gospel shoegaze +havana 2-step +french dubstep +accordion hawaiian +acoustic texas blues +afrobeat swing +ambient trance folk +techno balkan brass band +korean acid trance +russian glitch hop +house reggae +j-pop blues +lo-fi afro house +bedroom pop samba +boogie celtic +celtic +classical caribbean +dance +pacific reggae afrobeat +psychedelic cabaret +rumba +sitar cape verdean +surf classical +disco chillsynth +drum and bass goa trance +gospel dream pop +havana american primitivism +french dembow +accordion drill +acoustic slushwave +afrobeat rockabilly +ambient trance chanson +techno afrobeat +japanese swing +russian flamenco +hip hop dubstep +j-pop acid jazz +liquid drum and bass slushwave +bedroom pop new jack swing +boogie caribbean +carnatic glitch hop +classical boom bap +dakar raga +p-funk samba +psychedelic acid trance +roots reggae house +sitar bubblegum dance +surf acoustic blues +disco chillstep +drum and bass acoustic rock +gospel disco +harpischord klezmer +french big band +synthwave trance +accordion delta blues +acoustic rockabilly +afrobeat new jack swing +ambient trance alternative rock +tango trance +japanese surf rock +russian dubstep +hip hop techno +j-pop acid breaks +liquid drum and bass rockabilly +bedroom pop +boogie +carnatic acid trance +classical +dakar new wave +synthwave chillsynth +synthwave cumbia +p-funk mariachi +psybient new wave +roots reggae flamenco +sitar bubblegum bass +surf +synthwave +tango reggae +disco alternative r&b +drill sertanejo +gospel acid breaks +harpischord hip hop +french afro-rock +tabla bedroom pop +accordion ambient techno +acoustic rock chillsynth +afrobeat griot +ambient techno mento +synthwave country +japanese surf +russian celtic +hip hop +indie grunge +liquid drum and bass new jack swing +p-funk jazz +tango boogie +barbershop breakbeat +blues rock american primitivism +carnatic +city pop symphonic metal +dakar math rock +tango +psybient griot +roots reggae avant-garde jazz +sitar bossa nova +southern rock ska +synthpop trance +dirty south boom bap +drill raga +goa trance afro-cuban jazz +harpischord g-funk +fife and drum blues p-funk +accordion afro trap +acoustic rock afro-jazz +afrobeat garage +ambient techno hyphy +tabla dream pop +japanese shoegaze +russian cumbia +hawaiian r&b +indie g-funk +liquid drum and bass blues +p-funk cloud rap +synthwave dancehall +barbershop balkan brass band +blues rock afropiano +caribbean +city pop psybient +dakar j-pop +tabla jazz +tango slushwave +prog swamp blues +rockabilly tango +sitar blues +southern rock calypso +synthpop hawaiian +tabla breakbeat +dirty south balkan brass band +drill chillwave +goa trance +harpischord drill +flamenco hip hop +japanese merengue +accordion african folk +acoustic rock +afrobeat disco +ambient techno chanson +balkan brass band raga +russian appalachian folk +hawaiian merengue +indie +liquid drum and bass bluegrass +p-funk +lo-fi swing +blues rock +cape verdean acoustic rock +city pop classical +dakar house +dirty south +tabla hawaiian +mariachi indie +prog shoegaze +rockabilly raga +sitar alternative r&b +southern rock +synthpop coptic +new orleans afrobeat +drill cajun +gnawawave +harpischord drill and bass +fife and drum blues acid breaks +japanese jungle +hyper-house +accordion 16-bit +acoustic raga +afrobeat +ambient techno afroswing +balkan brass band classical +russian ambient techno +hawaiian electropop +illbientwave +liquid drum and bass +norteñowave +tabla kawaii future bass +tabla new jack swing +house surf +blues folk +cape verdean +city pop breakbeat +dakar gospel +dembow punk +pacific reggae +hyper-roots reggae +prog rockabilly +rockabilly country +sitar afro-jazz +soulful soul +synthpop +new wave delta blues +house +drill bubblegum dance +gnawa funk +harpischord doo-wop +electropop grunge +japanese dancehall +2-step surf +acoustic grime +afro-rock bachata +ambient techno +bachata +hyphy balkan brass band +russian afrikaner folk +havana trap +illbient cumbia +koto tuareg +norteño pop +hyper-afrikaner folk +blues cumbia +calypso surf +choral reggae +dakar future bass +dembow balkan brass band +piano acid techno +prog dubstep +rockabilly +sitar afro-funk +soulful ska +symphonic opera +house roots reggae +hip hop roots reggae +drill breakbeat +gnawa bubblegum bass +harpischord boogie +electronic math rock +japanese chanson +2-step country +acoustic funk +afro-rock ambient dub +ambient noise wall chanson +avant-garde jazz rap +portuguese surf rock +havana techno +illbient alternative rock +koto trap +new wave acid trance +blues afro house +calypso opera +choral folk +dakar flamenco +dembow +piano coptic +prog drum and bass +rock liquid drum and bass +shoegaze psybient +soulful reggaeton +symphonic metal +drill and bass gnawa +gnawa afrobeat +harpischord anti-folk +electronic grunge +japanese boogie +2-step +acoustic electropop +afro-rock +ambient house p-funk +avant-garde jazz illbient +portuguese southern rock +havana synthwave +illbient afrikaner folk +koto swing +new wave +bluegrass rock +calypso bachata +choral drill and bass +dakar drumstep +dark salsa +prog dancepop +prog dream pop +rock dance +shoegaze cumbia +soulful folk +symphonic merengue +drill and bass balkan brass band +gnawa +harpischord ambient house +electronic disco +japanese americana +16-bit roots reggae +acoustic classical +afro-jazz drill +ambient house electropop +avant-garde jazz griot +portuguese dancehall +havana grime +illbient +koto surf +new orleans trance +bluegrass punk +calypso afroswing +choral country +dakar boom bap +dark reggaeton +prog southern rock +prog disco +rock balkan brass band +shoegaze boom bap +soulful city pop +symphonic mento +drill +glitch hop swing +harpischord acid jazz +electro-techno +japanese ambient house +16-bit celtic +acoustic chicago blues reggaeton +afro-jazz carnatic +ambient house cajun +avant-garde jazz +portuguese chillsynth +french acoustic chicago blues +hypnagogic swamp blues +koto polka +new orleans samba +bluegrass k-pop +cajun synthpop +choral chillsynth +dakar ambient dub +dark merengue +psychedelic tango +prog breakbeat +rock americana +shoegaze afro-funk +soulful chillsynth +symphonic mariachi +dreamy trance +glitch hop acoustic texas blues +grunge new jack swing +electro-new wave +japanese algorave +16-bit +acoustic chicago blues motown +afro-jazz blues rock +ambient house breakstep +avant-garde jazz disco +portuguese chillstep +funk bedroom pop +hypnagogic shoegaze +koto house +new orleans house +bluegrass bubblegum bass +cajun new wave +choral chanson +dakar afrobeat +dark jazz +reggae k-pop +prog big band +rock +shoegaze afro-cuban jazz +soulful cabaret +symphonic doo-wop +dreamy tango +glitch hop 2-step +grunge funk +electro-jungle +hindi southern rock diff --git a/data/genres.ts b/data/genres.ts new file mode 100644 index 0000000..c6bd882 --- /dev/null +++ b/data/genres.ts @@ -0,0 +1,31 @@ +// Import style text files +import mainStyleText from './main_style.txt?raw'; +import allStyleText from './all_style.txt?raw'; + +// Main styles (top-level genres) from main_style.txt +export const MAIN_STYLES = mainStyleText + .split('\n') + .map(line => line.trim()) + .filter(line => line.length > 0); + +// All styles from all_style.txt +export const ALL_STYLES = allStyleText + .split('\n') + .map(line => line.trim()) + .filter(line => line.length > 0); + +// Backward-compatible alias +export const GENRE_KEYS = MAIN_STYLES; + +// Sub-styles: all styles minus the main genres +const mainStylesLower = new Set(MAIN_STYLES.map(s => s.toLowerCase().trim())); + +export const SUB_STYLES = ALL_STYLES.filter(style => { + const styleLower = style.toLowerCase().trim(); + return !mainStylesLower.has(styleLower); +}); + +// Type definitions +export type MainStyle = typeof MAIN_STYLES[number]; +export type AllStyle = typeof ALL_STYLES[number]; +export type SubStyle = typeof SUB_STYLES[number]; diff --git a/data/main_style.txt b/data/main_style.txt new file mode 100644 index 0000000..f76a366 --- /dev/null +++ b/data/main_style.txt @@ -0,0 +1,105 @@ +16-bit +2-step +acid house +acid techno +acid trance +acoustic chicago blues +acoustic rock +acoustic texas blues +african folk +afrikaner folk +afro house +afro trap +afro-cuban jazz +afro-funk +afro-jazz +afro-rock +afrobeat +afropiano +afroswing +algorave +alternative r &b +alternative rock +ambient techno +anti-folk +avant-garde jazz +bachata +bedroom pop +bluegrass +blues rock +boogie +bossa nova +bubblegum bass +bubblegum dance +cabaret +cajun +cape verdean +caribbean +carnatic +celtic +chanson +chillstep +chillsynth +classical +cloud rap +coptic +cumbia +dance +dancehall +dancepop +dembow +dirty south +dream pop +drill +dubstep +edm +egyptian +garage +gnawa +goa trance +grime +griot +grunge +hip hop +house +hyphy +illbient +indie +jazz +jungle +k-pop +kawaii future bass +klezmer +liquid drum and bass +mariachi +math rock +merengue +motown +new jack swing +new wave +p-funk +pacific reggae +polka +pop +raga +rap +reggae +rock +rockabilly +rumba +salsa +samba +ska +soul +southern rock +surf +surf rock +swamp blues +swing +symphonic metal +synthpop +synthwave +tango +trance +trap +tuareg