detect transients
-
joffo78
- Member
- Posts: 1033
detect transients
Hello
I'm working on a patch that would automatically create markers on the transients of a recording.
I've managed to extract the peaks as an array by taking the highest levels. The problem is that some peaks are weaker than other parts of the signal.
To remedy the problem, I'd need to be able to abstract the signal.
the high levels that follow the true peaks.
I've managed to tinker with this by compressing my table, but it's still a DIY job.
If anyone has any ideas for refining the process.
I'll supply my patch as is.
Thanks
JF
I'm working on a patch that would automatically create markers on the transients of a recording.
I've managed to extract the peaks as an array by taking the highest levels. The problem is that some peaks are weaker than other parts of the signal.
To remedy the problem, I'd need to be able to abstract the signal.
the high levels that follow the true peaks.
I've managed to tinker with this by compressing my table, but it's still a DIY job.
If anyone has any ideas for refining the process.
I'll supply my patch as is.
Thanks
JF
You do not have the required permissions to view the files attached to this post.
- oli_lab
- Member
- Posts: 1286
- Location: Brittany, France
- Contact:
Hi !
Maybe this will help ?!
edit : the "abs" module will do the trick as well
I am working on the same kind of thing, but the transients are detected while recording
check the file : Cheers
Olivar
Maybe this will help ?!
edit : the "abs" module will do the trick as well
I am working on the same kind of thing, but the transients are detected while recording
check the file : Cheers
Olivar
You do not have the required permissions to view the files attached to this post.
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
- oli_lab
- Member
- Posts: 1286
- Location: Brittany, France
- Contact:
the problem comes from the display array which is only 512 in size.
what if the markers where recorded on the sampler extra audio track ? their position would be in sync, even in case of circular buffer recording ?
this will be useful to get the transient position while playing (for example if your planning to use the transient infos to control speed while time-stretching (that's my plan)
otherwise, my patch can be modified to remove the existing markers that are passed by the "recording head" when in circular mode.
Cheers
Olivar
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
- oli_lab
- Member
- Posts: 1286
- Location: Brittany, France
- Contact:
You're right, but the size of the array is smaller than the size of the wavefile so you may miss some transients.
another idea would be to use this array and perform a peak analysis inside a "procedural" module (HH6 only)
https://support.ircam.fr/docs/AudioScul ... ethod.html
not simple
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
- oli_lab
- Member
- Posts: 1286
- Location: Brittany, France
- Contact:
Hello,
I did some homework, not perfect, works only with HH6
I did some homework, not perfect, works only with HH6
You do not have the required permissions to view the files attached to this post.
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
