1 /*
2  *  EasyTAG - Tag editor for MP3 and Ogg Vorbis files
3  *  Copyright (C) 2000-2003  Jerome Couderc <easytag@gmail.com>
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  */
19 
20 #ifndef ET_GENRES_H_
21 #define ET_GENRES_H_
22 
23 /* GENRE_MAX is the last genre number that can be used */
24 #define GENRE_MAX ( sizeof(id3_genres)/sizeof(id3_genres[0]) - 1 )
25 
26 /**
27     \def genre_no(IndeX)
28     \param IndeX number of genre using in id3v1
29     \return pointer to genre as string
30 */
31 #define genre_no(IndeX) ( IndeX < (sizeof(id3_genres)/sizeof(*id3_genres) ) ? id3_genres[IndeX] : "Unknown" )
32 
33 /*
34  * Do not sort genres!!
35  * Last Update: 2014-05-05
36  * https://en.wikipedia.org/wiki/ID3#List_of_genres
37  */
38 static const char *id3_genres[] =
39 {
40     "Blues", /* 0: Core ID3 support */
41     "Classic Rock",
42     "Country",
43     "Dance",
44     "Disco",
45     "Funk",             /* 5 */
46     "Grunge",
47     "Hip-Hop",
48     "Jazz",
49     "Metal",
50     "New Age",          /* 10 */
51     "Oldies",
52     "Other",
53     "Pop",
54     "R&B",
55     "Rap",              /* 15 */
56     "Reggae",
57     "Rock",
58     "Techno",
59     "Industrial",
60     "Alternative",      /* 20 */
61     "Ska",
62     "Death Metal",
63     "Pranks",
64     "Soundtrack",
65     "Euro-Techno",      /* 25 */
66     "Ambient",
67     "Trip-Hop",
68     "Vocal",
69     "Jazz+Funk",
70     "Fusion",           /* 30 */
71     "Trance",
72     "Classical",
73     "Instrumental",
74     "Acid",
75     "House",            /* 35 */
76     "Game",
77     "Sound Clip",
78     "Gospel",
79     "Noise",
80     "Altern Rock",      /* 40 */
81     "Bass",
82     "Soul",
83     "Punk",
84     "Space",
85     "Meditative",       /* 45 */
86     "Instrumental Pop",
87     "Instrumental Rock",
88     "Ethnic",
89     "Gothic",
90     "Darkwave",         /* 50 */
91     "Techno-Industrial",
92     "Electronic",
93     "Pop-Folk",
94     "Eurodance",
95     "Dream",            /* 55 */
96     "Southern Rock",
97     "Comedy",
98     "Cult",
99     "Gangsta",
100     "Top 40",           /* 60 */
101     "Christian Rap",
102     "Pop/Funk",
103     "Jungle",
104     "Native American",
105     "Cabaret",          /* 65 */
106     "New Wave",
107     "Psychedelic",
108     "Rave",
109     "Showtunes",
110     "Trailer",          /* 70 */
111     "Lo-Fi",
112     "Tribal",
113     "Acid Punk",
114     "Acid Jazz",
115     "Polka",            /* 75 */
116     "Retro",
117     "Musical",
118     "Rock & Roll",
119     "Hard Rock",
120     "Folk", /* 80: Winamp extensions */
121     "Folk/Rock",
122     "National Folk",
123     "Swing",
124     "Fast Fusion",
125     "Bebob",            /* 85 */
126     "Latin",
127     "Revival",
128     "Celtic",
129     "Bluegrass",
130     "Avantgarde",       /* 90 */
131     "Gothic Rock",
132     "Progressive Rock",
133     "Psychedelic Rock",
134     "Symphonic Rock",
135     "Slow Rock",        /* 95 */
136     "Big Band",
137     "Chorus",
138     "Easy Listening",
139     "Acoustic",
140     "Humour",           /* 100 */
141     "Speech",
142     "Chanson",
143     "Opera",
144     "Chamber Music",
145     "Sonata",           /* 105 */
146     "Symphony",
147     "Booty Bass",
148     "Primus",
149     "Porn Groove",
150     "Satire",           /* 110 */
151     "Slow Jam",
152     "Club",
153     "Tango",
154     "Samba",
155     "Folklore",         /* 115 */
156     "Ballad",
157     "Power Ballad",
158     "Rhythmic Soul",
159     "Freestyle",
160     "Duet",             /* 120 */
161     "Punk Rock",
162     "Drum Solo",
163     "A Capella",
164     "Euro-House",
165     "Dance Hall",       /* 125 */
166     "Goa",
167     "Drum & Bass",
168     "Club-House",
169     "Hardcore",
170     "Terror",           /* 130 */
171     "Indie",
172     "BritPop",
173     "Negerpunk",
174     "Polsk Punk",
175     "Beat",             /* 135 */
176     "Christian Gangsta Rap",
177     "Heavy Metal",
178     "Black Metal",
179     "Crossover",
180     "Contemporary Christian",/* 140 */
181     "Christian Rock",
182     "Merengue", /* Winamp 1.91 */
183     "Salsa",
184     "Thrash Metal",
185     "Anime",            /* 145 */
186     "JPop",
187     "Synthpop",
188     "Abstract", /* Winamp 5.6 */
189     "Art Rock",
190     "Baroque", /* 150 */
191     "Bhangra",
192     "Big Beat",
193     "Breakbeat",
194     "Chillout",
195     "Downtempo", /* 155 */
196     "Dub",
197     "EBM",
198     "Eclectic",
199     "Electro",
200     "Electroclash", /* 160 */
201     "Emo",
202     "Experimental",
203     "Garage",
204     "Global",
205     "IDM", /* 165 */
206     "Illbient",
207     "Industro-Goth",
208     "Jam Band",
209     "Krautrock",
210     "Leftfield", /* 170 */
211     "Lounge",
212     "Math Rock",
213     "New Romantic",
214     "Nu-Breakz",
215     "Post-Punk", /* 175 */
216     "Post-Rock",
217     "Psytrance",
218     "Shoegaze",
219     "Space Rock",
220     "Trop Rock", /* 180 */
221     "World Music",
222     "Neoclassical",
223     "Audiobook",
224     "Audio Theatre",
225     "Neue Deutsche Welle", /* 185 */
226     "Podcast",
227     "Indie Rock",
228     "G-Funk",
229     "Dubstep",
230     "Garage Rock", /* 190 */
231     "Psybient"
232 };
233 
234 #endif /* ET_GENRES_H_ */
235