Making Audio Captcha using audacity

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
AFJ
Posts: 13
Joined: Mon Nov 02, 2020 3:51 pm
Operating System: Windows 10

Making Audio Captcha using audacity

Post by AFJ » Sat Nov 21, 2020 11:50 am

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?

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Making Audio Captcha using audacity

Post by steve » Sat Nov 21, 2020 12:02 pm

How many times will you need to do this? Once, twice, 10 times, 50000 times, more?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

AFJ
Posts: 13
Joined: Mon Nov 02, 2020 3:51 pm
Operating System: Windows 10

Re: Making Audio Captcha using audacity

Post by AFJ » Sat Nov 21, 2020 12:18 pm

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.

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Making Audio Captcha using audacity

Post by steve » Sat Nov 21, 2020 12:35 pm

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).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Trebor
Posts: 9852
Joined: Sat Dec 27, 2008 5:22 pm
Operating System: Windows 8 or 8.1

Re: Making Audio Captcha using audacity

Post by Trebor » Sat Nov 21, 2020 3:16 pm

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 ?

AFJ
Posts: 13
Joined: Mon Nov 02, 2020 3:51 pm
Operating System: Windows 10

Re: Making Audio Captcha using audacity

Post by AFJ » Tue Dec 01, 2020 1:13 pm

Yes, I am trying to break audio captcha for which I need a dataset and I am trying to make my own dataset.

Post Reply