diyAudio

diyAudio (http://www.diyaudio.com/forums/)
-   Digital Source (http://www.diyaudio.com/forums/digital-source/)
-   -   sine wave with 1% residual distortion (http://www.diyaudio.com/forums/digital-source/99474-sine-wave-1-residual-distortion.html)

Bernhard 4th April 2007 09:28 PM

sine wave with 1% residual distortion
 
I am looking for a 1 min wave file of a sine wave with 1% or 0,1% residual distortion to check for errors of a THD program.http://www.beautyphoto.de/analogic_harm_pgm.jpg

DSP_Geek 4th April 2007 11:46 PM

What frequency, sample rate? If you can live with a mono .wav file at 44.1 or 48 kHz, I think my email provider will let me post one to you (10 megabyte limit).

jcx 5th April 2007 01:46 AM

http://www.diyaudio.com/forums/showt...45#post1061145

just series connect another sine Vsouce with the harmonic frequency and level you want to use (in place of the "dither" Vsource in the example), look up the syntax for .wav output in LtSpice help and you can create stereo as well as other sample rates

jcx 5th April 2007 05:25 PM

if you try the LtSpice approach you should use an older version, the current april 3 V2.20j release has broken .wavefile input - but bug fixes come fast with LtSpice, hopelfully only a week

I think output is OK so you can still create .wav test files with the current version, you just can't view and fft them in LtSpice until the .wavfile read bug is fixed

.wav files with periodic content compress in .zip format by huge ratios - if anyone wanted to post some test files

Bernhard 6th April 2007 09:30 PM

I would be happy with a 1 minute, 1 kHz mono wave, 44,1 kHz sampling rate, 16 bit,

with 1% distortion

that I can burn on CD.

dddac 7th April 2007 03:15 PM

Quote:

Originally posted by Bernhard
I would be happy with a 1 minute, 1 kHz mono wave, 44,1 kHz sampling rate, 16 bit,

with 1% distortion

that I can burn on CD.


1% d2 d3 d4 d5 ??????

Bernhard 7th April 2007 04:50 PM

Quote:

Originally posted by dddac



1% d2 d3 d4 d5 ??????


So that a distortion meter would show exactly 1%.

jcx 7th April 2007 05:48 PM

2 Attachment(s)
the zip should contain a 2 channel 16 bit 44.1K .wav

1st second 1 KHz -3 dB, no added distortion

left channel 3rd harmonic
1% 1-2sec,
2% 2-3sec,
3% 3-4sec,
4% 4-5sec,
5% 5-6sec;

right channel 1% distortion component
2 KHz 1-2sec,
3 KHz 2-3sec,
4 KHz 3-4sec,
5 KHz 4-5sec,
6 KHz 5-6sec;

jcx 7th April 2007 05:50 PM

2 Attachment(s)
and the LtSpice .asc used to write the test .wav

[ current LtSpice version works, wavefile input also works after I restarted my computer - must have corrupted the wav file somehow - however I am now having trouble with LtSpice' fft: 100mS record ok, 1 second gives slightly wrong magnitudes ]

Bernhard 10th April 2007 08:55 AM

Quote:

Originally posted by jcx

1st second 1 KHz -3 dB, no added distortion

left channel 3rd harmonic
1% 1-2sec,
2% 2-3sec,
3% 3-4sec,
4% 4-5sec,
5% 5-6sec;

right channel 1% distortion component
2 KHz 1-2sec,
3 KHz 2-3sec,
4 KHz 3-4sec,
5 KHz 4-5sec,
6 KHz 5-6sec;

Thanks, could you please send me by email at least 30 sec of the 1% wave, I have no soundcard or software to make the file longer.


All times are GMT. The time now is 03:05 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio


Content Relevant URLs by vBSEO 3.3.2