Transient marking an audio file
-
I'm looking to mark the transients of an audio file. Any ideas on how to do this?
-
@Crystal-Audio What's the end purpose? Do you just need to see them for analytical reasons?
-
I want to mark them and then clip transient to transient into separate audio files.
-
Reaper can do that. The dynamic split tool has an at transients option.
It's also possible in Ardour with the Rhythm Ferret tool, or by a script.
-
@d-healey That makes sense. I would like to do it with a script so it happens in the fx plugin. How do you script this interaction?
I assume it looks something like:
Add gain module
Use script to analyze for a gain change of n dBs over time m msI'm just not sure how to write this out in c++. Any suggestions?
-
Oh, I meant a lua script in Ardour, I have no idea how to do it directly in HISE unfortunately.
-
@Crystal-Audio I've tried this in python(not C++) and its less trivial than you might think.... I'd start by examining a library that does "onset detection" say; https://github.com/aubio/aubio
-
@Lindon That's the library I use in Ardour :)
-
@Lindon Thanks for the link and the tip. I'll check it out. Did you have success when you tried?
What does "its less trivial than you might think" mean? Easier, harder than expected? -
@Crystal-Audio "trivial" - small, inconsequential, easy.
Therefore "Less trivial" = not small, not easy, not as simple as you think.