Author Topic: Generating custom wave forms.  (Read 523 times)

0 Members and 1 Guest are viewing this topic.

Offline chinoyTopic starter

  • Regular Contributor
  • *
  • Posts: 93
  • Country: in
    • RDDreams
Generating custom wave forms.
« on: April 23, 2022, 09:02:32 am »
So for years I managed with a cheap USB Sound card. And windows software to output any kind of signal I want.
Latter the same USB sound card started to work with android.
This worked well for years.
It allowed you to pick the shape of the wave form you want i.e. square / sawtooth etc. it allowed you to pick the freq you want.
And the voltage as long as it was under 5 volts.

But what if I want to put out customised wave forms. Say I want a sine wave with a nipple projection on each end.
How would one achieve this.

Preferably without having to invest a few thousand dollars in a high end function generator.
I vaguely remember one of the s/w allowed you to code a custom wave form. But cant remember the name.

More recently I found a blue tooth board with built in amp. In normal mode it works like a blue tooth receiver but if you plug in a USB port it become a sound card. Its like 2-3$. And by using the inbuilt AMP or an external amp you can boost your voltage output as high as you want.
Some software even allow you to inject noise into your signal.
It would be nice if there was a post linking all the PC based. s/w which allows you to use your sound card as a scope or as a function generator. Back in the day we would hook up the mic to probes and use it as a cheap scope. PC scope was a popular s/w back then.
Worst case I am thinking of doing a pic or arduino project that allows one to output custom wave forms. 
Good thoughts, Good deeds, Good words.
All the religion you need in life.
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3272
  • Country: gb
Re: Generating custom wave forms.
« Reply #1 on: April 23, 2022, 11:58:34 am »
The phrase you should be looking for is "arbitrary waveform generator".  Pretty sure you could do this with Scilab (https://www.scilab.org/) though this is primarily a powerful numeric analysis and data visualisation tool (a kind of open source Matlab) so don't expect some knobs and button to twiddle, you would generate the waveform with math functions which can then be sent to the audio output.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9089
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Generating custom wave forms.
« Reply #2 on: April 23, 2022, 12:53:07 pm »
It would be nice if there was a post linking all the PC based. s/w which allows you to use your sound card as a scope or as a function generator. Back in the day we would hook up the mic to probes and use it as a cheap scope. PC scope was a popular s/w back then.
Try baudline. http://baudline.com/
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf