Hello,I would like to extract the start points of attack intervals for further processing. If I run "a = mironsets('music.wav','Attacks')", I see on the figure the attack intervals. But if I want to save the data in a text file, it becomes problematic. "mirgetdata(a)" gives me only the onset times. I've tried also the following:
-------- a = mironsets('music.wav','Attacks'); o = mirgetdata(a); % get the lengths of attack intervals at first att_lengths = mirattacktime(a); att_lengths_data = mirgetdata(att_lengths); % calculate the starting points of attack intervals attack_times = o - att_lengths_data; --------But here the subtraction doesn't work since the number of onset times is not equal to the number of attack interval lengths!
Can you please give me a hint? Thanks and best regards, Igor