To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / _song / song_segment.m

History | View | Annotate | Download (314 Bytes)

1
function song = song_segment(song, param)
2
switch param.seg.type
3
    case 'none'
4

    
5
    case 'auto'
6
        song = segmentation_auto(song,param);
7
    case 'autoprecalculated'
8
        song = segmentation_autoprecalculated(song,param);
9
    case 'manual'
10
        song = segmentation_manual(song,param);
11
    otherwise
12
end