justinsalamon / scaper

A library for soundscape synthesis and augmentation
BSD 3-Clause "New" or "Revised" License
383 stars 56 forks source link

Repeating events #101

Open ihounie opened 4 years ago

ihounie commented 4 years ago

Hi, I’m currently working along with my colleagues on repeated events which exhibit a certain temporal pattern, e.g. alarms. We'd like to contribute a feature to Scaper to deal with such scenarios. Our proposed solution is to create a method that, given an event specification, copies foreground events, shifts them by a certain amount of time and adds them to the eventSpec. We'd like to hear your thoughts on this, or on any alternative solutions you may consider worth discussing.