1. A method for extracting the most representative segments of a musical composition, represented by an audio signal, comprising: a) preprocessing said audio signal by a set of preprocessors, each of which is adapted to identify a rhythmic pattern within the musical composition; b) selecting an output of the preprocessors that provides the most periodic or rhythmical patterns within said musical composition; c) dividing said musical composition into bars having rhythmic patterns, while iteratively checking and scoring their quality and detecting a section being a sequence of bars with a score above a predetermined threshold; d) iteratively repeating the preceding step until all sections are detected; e) constructing similarity matrices between all bars that belong to said musical composition, based on MFCCs of the processed sound, chromograms and said rhythmic patterns; f) extracting equivalent classes of similar sections along said musical composition; g) collecting substantial transitions between sections represented as blocks in said similarity matrices; and h) selecting a representative segment from each class having the highest number of sections.