# Data augmentation for audio

**URL:** <https://discourse.julialang.org/t/data-augmentation-for-audio/31117>\
**Category:** Machine Learning\
**Tags:** data, machine-learning\
**Created:** [November 15, 2019, 6:46am UTC](https://discourse.julialang.org/t/data-augmentation-for-audio/31117 "2019-11-15T06:46:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [November 15, 2019, 6:46am UTC](https://discourse.julialang.org/t/data-augmentation-for-audio/31117/1 "2019-11-15T06:46:49Z")

</div>

Hey!

We are likely to embark on an adventure to create something very similar to @Evizero’s excellent package [Augmentor.jl](https://github.com/Evizero/Augmentor.jl), but for environmental acoustic recordings. I think the overall idea of [Augmentor.jl](https://github.com/Evizero/Augmentor.jl) looks solid, and the support for audio would require us to simply implement a number of new Augmentor operations.

Supporting audio would likely require some new dependencies, while some of the existing dependencies of Augmentor are not required for audio. Would it make sense, and would you, Evizero, be supportive of, separating out core functionality of Augmentor.jl into an “AugmentorBase.jl” or similar? Augmentor.jl, as well as a potential new AugmentorAudio.jl, would then make use of the common functionality in AugmentorBase.

---

<div class="post-metadata">

**Author:** ![findmyway](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/findmyway/32/4946_2.png) [@findmyway](https://discourse.julialang.org/u/findmyway)\
**Post date:** [November 15, 2019, 7:49am UTC](https://discourse.julialang.org/t/data-augmentation-for-audio/31117/2 "2019-11-15T07:49:28Z")

</div>

I have a sense that someone will also create a TextAugmentor.jl eventually 😃. Though the methods would differ a lot.

---

<div class="post-metadata">

**Author:** ![Evizero](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/evizero/32/10118_2.png) [@Evizero](https://discourse.julialang.org/u/Evizero)\
**Post date:** [November 15, 2019, 8:19am UTC](https://discourse.julialang.org/t/data-augmentation-for-audio/31117/3 "2019-11-15T08:19:35Z")

</div>

I like the idea (and I appreciate being asked). The issue is that I have not had the time to spend any serious amount of work in julia related activities. I don’t think Augmentor currently works on 1.X for example.

If you do want to reuse things I encourage you to copy paste the code excerpts you deem useful into some “augmentorbase.jl” file in your new package. There is always the option to pool resources at a later point and then refactor into a dedicated AugmentorBase later

---

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [November 15, 2019, 8:30am UTC](https://discourse.julialang.org/t/data-augmentation-for-audio/31117/4 "2019-11-15T08:30:31Z")

</div>

Thanks for getting back to me. I’ll see what we can make of it and will keep you in the loop in case we move forward!

---

<div class="post-metadata">

**Author:** ![CosmicSpittle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cosmicspittle/32/24028_2.png) [@CosmicSpittle](https://discourse.julialang.org/u/CosmicSpittle)\
**Post date:** [February 25, 2022, 4:06am UTC](https://discourse.julialang.org/t/data-augmentation-for-audio/31117/5 "2022-02-25T04:06:30Z")

</div>

Did you get anywhere with this new (potentially) project. I think this would be a useful package.

Robert

---

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [February 25, 2022, 5:59am UTC](https://discourse.julialang.org/t/data-augmentation-for-audio/31117/6 "2022-02-25T05:59:32Z")

</div>

I started here  
[https://github.com/baggepinnen/AugmentorAudio.jl](https://github.com/baggepinnen/AugmentorAudio.jl)  
but did not get very far, and have not touched it in a few years.
