Created
December 9, 2008 04:22
-
-
Save takaaki/33763 to your computer and use it in GitHub Desktop.
ID3 tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Goodies from Lowell | |
GENRE = [ "Blues", "Classic Rock", "Country", "Dance", "Disco", "Funk", | |
"Grunge","Hip-Hop", "Jazz", "Metal", "New Age", "Oldies", "Other", | |
"Pop", "R&B", "Rap", "Reggae", "Rock", "Techno", "Industrial", | |
"Alternative", "Ska", "Death Metal", "Pranks", "Soundtrack", | |
"Euro-Techno", "Ambient", "Trip-Hop", "Vocal", "Jazz+Funk", "Fusion", | |
"Trance", "Classical", "Instrumental", "Acid", "House", "Game", | |
"Sound Clip", "Gospel", "Noise", "AlternRock", "Bass", "Soul", | |
"Punk", "Space", "Meditative", "Instrumental Pop", | |
"Instrumental Rock", "Ethnic", "Gothic", "Darkwave", | |
"Techno-Industrial", "Electronic", "Pop-Folk", "Eurodance", "Dream", | |
"Southern Rock", "Comedy", "Cult", "Gangsta", "Top 40", | |
"Christian Rap", "Pop/Funk", "Jungle", "Native American", "Cabaret", | |
"New Wave", "Psychadelic", "Rave", "Showtunes", "Trailer", "Lo-Fi", | |
"Tribal", "Acid Punk", "Acid Jazz", "Polka", "Retro", "Musical", | |
"Rock & Roll", "Hard Rock", "Folk", "Folk-Rock", "National Folk", | |
"Swing", "Fast Fusion", "Bebob", "Latin", "Revival", "Celtic", | |
"Bluegrass", "Avantgarde", "Gothic Rock", "Progressive Rock", | |
"Psychedelic Rock", "Symphonic Rock", "Slow Rock", "Big Band", | |
"Chorus", "Easy Listening", "Acoustic", "Humour", "Speech", | |
"Chanson", "Opera", "Chamber Music", "Sonata", "Symphony", | |
"Booty Bass", "Primus", "Porn Groove", "Satire", "Slow Jam", "Club", | |
"Tango", "Samba", "Folklore", "Ballad", "Power Ballad", | |
"Rhythmic Soul", "Freestyle", "Duet", "Punk Rock","Drum Solo", | |
"A capella", "Euro-House", "Dance Hall", | |
] | |
=begin | |
The preceding data is from the ID3 v2.3 standard as defined at | |
http://www.id3.org/id3v2.3.0 from Section 8.1, Appendix A. | |
You can include this as a module or however you see fit for Lesson 7, | |
Exercise 2 at rubylearning.org, or for any other use you would like. | |
If you would like to print a human readable list to your screen, | |
copy the following code and paste it outside of this documentation | |
section, then run the file. | |
GENRE.each_with_index do |n, x| | |
puts "#{x} \t #{n}" | |
end | |
This file was released into the public domain on 30 Nov 2008 by | |
the author, Lowell Vizon. | |
=end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment