Multimedia datas are growing at a fast rate. Music, which is one of the most popular types of online information, is a part of multimedia data and there are now hundreds of music streaming and downloading services operating on the World-Wide Web. Some of the music collections available are approaching the scale of ten million tracks and this has posed a major challenge for searching, retrieving, and organizing music content. So there is a need for automatic music classification methods for organizing these collections into different classes according to the certain information. In this work, a new effective feature extraction method is proposed for the classification of music according to the genre. Based on the calculated features, a new feature set is proposed to characterize the music content. The multi-class SVM is used for the classification purposes, which is one of the best classifying engines among the existing ones. Experiment result shows that the proposed method outperforms the existing methods implemented on the same database. A retrieval method is also proposed and its accuracy is verified using the proposed classification algorithm. The obtained accuracy indicates that the classifier and the retriever are very efficient compared to the existing ones.