Go Back   Home > Forums > Source & Line > Digital Line Level
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 5th April 2009, 02:27 PM   #1
diyAudio Member
 
Join Date: Apr 2009
Post Intermodulation test signal

Hi,

Does anyone have the two-tone test signal (19 & 20 kHz, -3dBFS each tone) so that I can burn it into a CD. I want to use this signal to performance a intermodulation test for my PA.

Many thanks,

BitPoint
  Reply With Quote
Old 5th April 2009, 05:13 PM   #2
diyAudio Member
 
Join Date: Oct 2006
Default Re: Intermodulation test signal

Quote:
Originally posted by BitPoint
Hi,

Does anyone have the two-tone test signal (19 & 20 kHz, -3dBFS each tone) so that I can burn it into a CD. I want to use this signal to performance a intermodulation test for my PA.

Many thanks,

BitPoint

Hi BitPoint,

You will need -6dBFS each so it doesn't clip. If you can get a matlab script, here is the code to generate the test tone

clc;
TT = 60; %Total Time of Track in seconds
FS = 44.1e3; %Sample Rate
dB = 0; %Amplitude in dB
BITS = 16; %Number Of Bits Per Sample
F1 = 19e3; %Frequency 1
F2 = 20e3; %Frequency 2

AMP = 10^(dB/20) - .0001;
y =(AMP)*sin(2*pi*F1.*[0:1/FS:TT])/2 +(AMP)*sin(2*pi*F2.*[0:1/FS:TT])/2;
track = ['44p1k_19k_20k_16b.wav'];
wavwrite([y' y'],FS,BITS,track);



Dustin
  Reply With Quote
Old 5th April 2009, 11:00 PM   #3
Javin5 is offline Javin5  Switzerland
diyAudio Member
 
Join Date: Mar 2006
Location: Switzerland
Hi BitPoint

Just in case you don't have matlab, I can send you a test signal as an email attachment. Send me your email address and tell me the maximum capacity you can handle. A one minute wav-file is approx. 10.6 MB.

Kurt
  Reply With Quote
Old 5th April 2009, 11:15 PM   #4
Javin5 is offline Javin5  Switzerland
diyAudio Member
 
Join Date: Mar 2006
Location: Switzerland
A word of caution: Be absolutely sure that amp and speakers are disconnected when you test with the CD. A 20 kHz tone at full level could easily destroy your tweeters!
  Reply With Quote
Old 6th April 2009, 10:21 AM   #5
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
You can do miracles with open source SoX http://sox.sourceforge.net/ .

Code:
sox -V -r 44100 -c 2 -b 16 -t wav -n intermodul.wav synth 300 sine create 20000 synth sine mix 19000
Reads: create file intermodul wav with the same parameters as the non-existent input file (-n): fs 44100, 2 channels, 16 bits per sample, format wav. Apply the effect synth for 300 secs in mode create generating sine 20000Hz, chain another effect synth in mode mix generating sine 19000Hz. To prevent clipping, the mode mix halves the amplitude of input and generated signals automatically.

You can check spectrum of the resultant file by running

Code:
sox intermodul.wav -n remix 1 spectrogram -y 4
Cropped resultant picture spectrogram.png:
Attached Images
File Type: png spectrogram-cut.png (18.4 KB, 80 views)
  Reply With Quote
Old 6th April 2009, 11:06 AM   #6
PA0SU is offline PA0SU  Netherlands
diyAudio Member
 
PA0SU's Avatar
 
Join Date: Dec 2006
Location: Eindhoven
Every decent audio editer will generate the signals you want!
__________________
Systems that assume to know too much are more a hindrance than a help.
(Software Tools)
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Jitter test signal - 11025+229.6875hz. How to ? percy Digital Source 5 25th April 2007 12:13 AM
Proposal of new test signal for amplifiers, with regard to HF interference PMA Solid State 29 14th November 2006 05:45 AM
What's a good test signal to match two decks' azimuth with? damianm Analogue Source 4 18th June 2006 02:00 PM
Best Digital (bit perfect) Test Signal? drewm1980 Digital Source 3 23rd May 2005 12:09 AM
THD, Intermodulation, S/N Diogo Solid State 13 4th September 2002 12:29 PM


New To Site? Need Help?

All times are GMT. The time now is 06:31 PM.

Page generated in 0.09581 seconds (76.85% PHP - 23.15% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio