<div dir="ltr">Hi all,<div><br></div><div>Yes that's right, the [bark] object does attack detection in non real time on audio stored in arrays. You can get it on its own or with the latest version of timbreID. It's basically like [bonk~] but adds that NRT functionality and uses a Bark scale to set the bounds of filters in the bank. There are also some functions for tuning thresholds and specifying what part of the spectrum you want to look for attacks in. For instance, you might want to ignore lower frequency bands and look for spectral growth only in mid-high frequency bands.</div><div><br></div><div>PS: on your point, Max, an easy way to compare sounds of different durations is to get the BFCCs or Bark spectrum of each complete sound. Regardless of how many samples long the sound is, the feature vector will be 47 points long when using the default 0.5 Bark spacing for the filterbank. Then you can compare the spectral content of entire sound events. But...you might want to capture *changes* in audio features over the course of the sound (e.g., N frames of spectral brightness measurements showing how high frequency content changes from the start to the end of the sound). In that case, you'd end up with sequences of features, each one with a different number of frames depending on how long the sound is. The only solution I've come up with there is to find the sound with the fewest frames (shortest duration), and separately average the feature sequence data of each of the longer sounds so that all feature vectors being compared have a common number of frames. I think that makes sense if the sounds are fairly similar in duration, but if you're talking about patterns of spectral brightness change in a 90 second sound vs a 3 second sound, the comparison might be kind of meaningless. So...comparing a snare drum to a cymbal crash, ok sure...but a Mozart piano concerto cadenza compared to a wood block strike, maybe not so useful!</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 10:45 AM, Jaime E Oliver <span dir="ltr"><<a href="mailto:jaime.oliver2@gmail.com" target="_blank">jaime.oliver2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Max,<br>
<br>
Yes you get bark~ and bark with tID and I concur with it being a source of inspiration!<br>
<br>
check bark-help (without the ~) to see how to get onsets from a table.<br>
<br>
best,<br>
<br>
J<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On May 27, 2015, at 6:32 AM, Max <<a href="mailto:abonnements@revolwear.com">abonnements@revolwear.com</a>> wrote:<br>
<br>
> On 2015년 05월 27일 09:49, Jaime E Oliver wrote:<br>
>> If I remember correctly, William Brent in his timbreID library does<br>
>> onset detection on tables. I cannot remember now how he does it<br>
>> exactly, but I hope this might prompt him to reply…?<br>
><br>
> Oh really? I'm not sure there is onset detection in timbreID, but<br>
> William has another external which does onset detection: bark~<br>
> <a href="http://williambrent.conflations.com/pages/research.html" target="_blank">http://williambrent.conflations.com/pages/research.html</a><br>
><br>
> And then there is aubio for onset detection. <a href="http://aubio.org/" target="_blank">http://aubio.org/</a><br>
><br>
> I always wanted to hack into timbreID to make it use units of<br>
> different lengths based on real sound events detected. AFAIK it<br>
> currently only works with fixed lengths of units. (but works very well<br>
> that must be said. timbreID is such an incredible source of<br>
> inspiration for me).<br>
><br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">William Brent<br><a href="http://www.williambrent.com" target="_blank">www.williambrent.com</a><br><br>“Great minds flock together”<br>Conflations: conversational idiom for the 21st century<br><br><a href="http://www.conflations.com" target="_blank">www.conflations.com</a></div>
</div>