Page 1 of 1

Making Audio Captcha using audacity

Posted: Sat Nov 21, 2020 11:50 am
by AFJ
Hello everyone, I have two folders. One of them contains A-Z and 0-9 audio clips of 1.5 seconds and in another folder I have different kinds of noises. I want to take 5 characters from first folder (randomly) and stitch them. Then randomly select a noise from the noise folder and add that to the already 5 characters audio that has been stitched. Can I do this using audacity?

Re: Making Audio Captcha using audacity

Posted: Sat Nov 21, 2020 12:02 pm
by steve
How many times will you need to do this? Once, twice, 10 times, 50000 times, more?

Re: Making Audio Captcha using audacity

Posted: Sat Nov 21, 2020 12:18 pm
by AFJ
I want this 1000 times first, then 5000 times and if needed then 10,000 times. I am making a dataset for training a neural network.

Re: Making Audio Captcha using audacity

Posted: Sat Nov 21, 2020 12:35 pm
by steve
If you know Python, then probably your best option would be to automate Audacity with Python. See: https://manual.audacityteam.org/man/scripting.html

(Note that the scripting API is not yet frozen, so there may be changes in later versions of Audacity, though such changes are likely to be small).

Re: Making Audio Captcha using audacity

Posted: Sat Nov 21, 2020 3:16 pm
by Trebor
AFJ wrote:
Sat Nov 21, 2020 11:50 am
... I want to take 5 characters from first folder (randomly) and stitch them. Then randomly select a noise from the noise folder and add that to the already 5 characters audio that has been stitched ...
Maybe possible with SoX ... https://en.wikipedia.org/wiki/SoX

[stitch = concatenate ]
AFJ wrote:
Sat Nov 21, 2020 12:18 pm
... if needed then 10,000 times. I am making a dataset for training a neural network.
unCaptcha-ing ?

Re: Making Audio Captcha using audacity

Posted: Tue Dec 01, 2020 1:13 pm
by AFJ
Yes, I am trying to break audio captcha for which I need a dataset and I am trying to make my own dataset.