https://github.com/baggepinnen/augmentoraudio.jl
Data augmentation for audio
https://github.com/baggepinnen/augmentoraudio.jl
Last synced: 7 months ago
JSON representation
Data augmentation for audio
- Host: GitHub
- URL: https://github.com/baggepinnen/augmentoraudio.jl
- Owner: baggepinnen
- Created: 2019-11-18T05:33:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-13T07:36:57.000Z (almost 5 years ago)
- Last Synced: 2025-01-22T04:13:39.184Z (9 months ago)
- Language: Julia
- Size: 32.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/baggepinnen/AugmentorAudio.jl)
[](https://codecov.io/gh/baggepinnen/AugmentorAudio.jl)An audio extension of [Augmentor.jl](https://github.com/baggepinnen/Augmentor.jl)
# Installation
```julia
using Pkg
pkg"add https://github.com/baggepinnen/Augmentor.jl"
pkg"add https://github.com/baggepinnen/AugmentorAudio.jl"# or
using Pkg
pkg"dev https://github.com/baggepinnen/Augmentor.jl"
pkg"dev https://github.com/baggepinnen/AugmentorAudio.jl"
```# Operations
- `Amplify(factor)` yep, it does what it sounds like.
- `GaussianNoise(power)` add gaussian noise to signal
- `RandomSinus(arange=(0,1), frange=(0,0.5), logspace=true)` add a random sinusoid to the signal. Specify frequency and amplitude range and whether to sample frequency log-spaced.
- `Mixup(path_to_files, wrap=false),Mixup(vector_of_signals, wrap=false)` provide a path to a folder with signals or a vector of signals. A random signal is drawn and added to the input. If `wrap`, a short signal is repeated several times to cover the input.
- `LinearFilter(::DSP.FilterCoefficients)` Filter the input through a specified linear filter.
- `AlphaSubGaussianNoise(n, α=1.5)` Adds [alpha sub-gaussian noise with memory](https://arl.nus.edu.sg/twiki6/pub/ARL/BibEntries/SigProc2016RandomVariate.pdf) to the signal. This noise is a good approximation to the noise created by [snapping shrimps](https://en.wikipedia.org/wiki/Alpheidae). Generated using [AlphaStableDistributions.jl](https://github.com/org-arl/AlphaStableDistributions.jl).