80Hz - 200µs signal

Help for Audacity 2.x.x on Mac OS X.
Forum rules
ImageThis forum is for Audacity 2.x.x on Mac OS X 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity 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
patrickp78
Posts: 3
Joined: Sat Mar 03, 2018 9:53 am
Operating System: OS X 10.10 Yosemite

80Hz - 200µs signal

Post by patrickp78 » Sat Mar 03, 2018 10:09 am

Hi,
Does somebody can explain me if it's possible to create in Audacity a signal of 80Hz with a pulse width of 200µs?
I suppose it is not a sinusoidal wave and the generate square signal menu does not display a pulse width parameter.
Thank's for your help

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

Re: 80Hz - 200µs signal

Post by steve » Sat Mar 03, 2018 10:45 am

patrickp78 wrote:to create in Audacity a signal of 80Hz with a pulse width of 200µs?
If you mean that you want a pulse wave with a pulse width of 200 µs and a pulse repetition frequency of 80 Hz, then running this code in the Nyquist Prompt effect will do that:

Code: Select all

(osc-pulse 8 -0.997)
Note that this is a digital signal between -1 and +1. If you intend to convert this to an analogue signal, there will aliasing and overshoot, which may or may not matter for your application.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

patrickp78
Posts: 3
Joined: Sat Mar 03, 2018 9:53 am
Operating System: OS X 10.10 Yosemite

Re: 80Hz - 200µs signal

Post by patrickp78 » Sat Mar 03, 2018 5:17 pm

Thanks for these informations.
In fact, I try to reproduce on Audacity the same signal as that of muscle strengthening devices, but I do not know what is the shape of the current and the only indications are for example:
- Frequency: 80 Hz
- Pulse width: 200 μs
And there is no indication regarding the pulse duration ...

cyrano
Posts: 1304
Joined: Fri Apr 17, 2015 11:54 pm
Operating System: OS X 10.9 Mavericks

Re: 80Hz - 200µs signal

Post by cyrano » Sun Mar 04, 2018 12:01 pm

On such a device, you can safely assume a 50% duty cycle, imho. :D

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

Re: 80Hz - 200µs signal

Post by steve » Sun Mar 04, 2018 2:16 pm

cyrano wrote:On such a device, you can safely assume a 50% duty cycle, imho. :D
How does that work with the specified "80Hz with a pulse width of 200µs"?
Wouldn't the pulse width at 80 Hz with 50% duty cycle be 625 µs?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

cyrano
Posts: 1304
Joined: Fri Apr 17, 2015 11:54 pm
Operating System: OS X 10.9 Mavericks

Re: 80Hz - 200µs signal

Post by cyrano » Mon Mar 05, 2018 10:10 am

I would expect such a device to have specs written by the marketing dept...

patrickp78
Posts: 3
Joined: Sat Mar 03, 2018 9:53 am
Operating System: OS X 10.10 Yosemite

Re: 80Hz - 200µs signal

Post by patrickp78 » Mon Mar 05, 2018 10:41 am

Sorry, it's in french!
Stim1.png
Stim1.png (106.64 KiB) Viewed 263 times
Stim2.png
Stim2.png (273.81 KiB) Viewed 263 times

Post Reply