Hi!

Nice, clean clear example! I tried a bit with live input and got fairly good results (playing the flute) with

kOnset,kRms OnDtct aSound, 12, 0.5, -20

(it was laptop's internal microphone, hence the high noise threshold)


By the way, Oeyvind has a nice (a bit more complex) onset detection UDO that I attach to the email.

Thanks!
tarmo


On Jan 5 2020, at 2:41 pm, joachim heintz <jh@joachimheintz.de> wrote:
hi all -

i want to share a UDO which claims to detect attacks / onsets and can
also be used for intensity estimation of the detected events:
https://github.com/csudo/csudo/blob/master/misc/OnDtct.csd

comments and improvements are welcome, of course.

best -
joachim

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here