You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does it use np.roll to move the frames to the front, and the end as well as joining all 3 together to widen the sample?
I'd spread out the one-liner as below to try and figure it out.
rollup=np.roll(feature, 1, axis=0) # make last feature firstrolldown=np.roll(feature, -1, axis=0) # make first feature lastcombined=np.concatenate((rollup, feature, rolldown), axis=1) # join all feature on second axiswindowed=combined[::3, ] # removes features with overlapping samplesreturnwindowed
It seems to make all the overlapping features into 1 deeper sample and then drops all the overlaps by getting every 3rd item. But why the np.roll ?
The text was updated successfully, but these errors were encountered:
Are there any ramifications to do with phoneme timings if we were to change this? If so, and if they're not easily resolvable perhaps this would work better:
Hi, I'm looking at shrinking the processing window down from the entire audio file at once.
Could you shed any light on this line?
allosaurus/allosaurus/pm/utils.py
Line 19 in d9f1ada
Why does it use np.roll to move the frames to the front, and the end as well as joining all 3 together to widen the sample?
I'd spread out the one-liner as below to try and figure it out.
It seems to make all the overlapping features into 1 deeper sample and then drops all the overlaps by getting every 3rd item. But why the
np.roll
?The text was updated successfully, but these errors were encountered: