| General > General Technical Chat |
| function generator from pc audio port |
| << < (2/2) |
| tooki:
--- Quote from: OwaisAhmed on January 30, 2022, 09:04:12 am ---i don't have function generator or oscilloscope but i was looking for some sort of thing that can provide regulated high freqency sinewave or square wave so i thought about this idea. i just wonder if there going to be any problem using this method as a signal. --- End quote --- I've done this, but it's only for audio frequencies. "High" frequency in electronics often means frequencies far above audio frequencies, so using a PC as a signal gen is mostly useful for audio projects and very basic, low-frequency stuff. But it's really no substitute for a real signal generator, since it can only generate AC signals with no DC offsets, which limits its uses. |
| jonovid:
--- Quote from: tooki on January 30, 2022, 03:15:59 pm --- --- Quote from: jonovid on January 30, 2022, 10:34:25 am ---IMO any pc audio port is only good for 40Hz up to 15kz and sine wave at best. basic audio work try to get better if you can --- End quote --- Where do you get those numbers from? A standard 44.1kHz/16-bit audio output supports 20Hz-20KHz. Nor are non-sinusoidal waves a problem at lower frequencies. If the goal is audio work, then it's fully sufficient to match human hearing. (Since the bandwidth limits of the audio output are better than those of human hearing.) --- End quote --- I did the same with an XP windows software tone generator application , in the instructions it did say 15kHz upper limit but this maybe a software coding limitation. may also be to my age related hearing :palm: others on youtube have said standard pc audio is not the full flat 20Hz-20KHz |
| SmallCog:
If you've got nothing else splashing a few dollars on one of these isn't the worst idea ever https://www.ebay.com.au/itm/403325035966?hash=item5de80ba5be:g:GZ0AAOSwvCJg~20f&frcectupt=true |
| Bassman59:
--- Quote from: jonovid on January 30, 2022, 07:23:20 pm --- --- Quote from: tooki on January 30, 2022, 03:15:59 pm --- --- Quote from: jonovid on January 30, 2022, 10:34:25 am ---IMO any pc audio port is only good for 40Hz up to 15kz and sine wave at best. basic audio work try to get better if you can --- End quote --- Where do you get those numbers from? A standard 44.1kHz/16-bit audio output supports 20Hz-20KHz. Nor are non-sinusoidal waves a problem at lower frequencies. If the goal is audio work, then it's fully sufficient to match human hearing. (Since the bandwidth limits of the audio output are better than those of human hearing.) --- End quote --- I did the same with an XP windows software tone generator application , in the instructions it did say 15kHz upper limit but this maybe a software coding limitation. may also be to my age related hearing :palm: others on youtube have said standard pc audio is not the full flat 20Hz-20KHz --- End quote --- If a PC audio output doesn't pass 20 Hz to 20 kHz flat to maybe 1 dB, then it's broken. They're all capable of doing it. Perhaps the "others on YouTube" don't know what they're talking about? It would not be the first time. |
| OwaisAhmed:
thanks to everybody for helping me out. i'm gonna buy 10 dollar function generator kit because the voltages on pc audio port is also low. btw my application was putting and square wave signal on base of a transistor like in amplifier but not to run speaker on it. and sometime checking circuit working on square wave vs dc. for example capacitor timing and ripple. the only reason i was looking for higher frequency was to make small size higher frequency transformer and understand affect of frequency on electromagnetism induction. again thankyou to everybody. |
| Navigation |
| Message Index |
| Previous page |