Electronics > Projects, Designs, and Technical Stuff

Analog Disovery as Audio Analyzer

<< < (22/32) > >>

jaxbird:

--- Quote from: AlfBaz on March 29, 2016, 05:06:26 am ---
--- Quote from: ci11 on March 27, 2016, 02:34:16 pm ---Hi,

I can't get the download to work - got a 'Fatal Error - Unable to find "dwf.dll"'. What am I doing wrong? My PC in Win 7 x64, .Net 4.6.

Thanks.

--- End quote ---
Had the same problem. I've reported it to jaxbird but he seems to be away

In the interim this work around got me going
Download and install the old version of waveforms from here http://store.digilentinc.com/waveforms-download-only/
Select "downgrade" for all the options

This should be enough to get his program working.
If you want/need the new Waveforms2015 version as well as his software then continue with the following

With the old version now installed go to C:\windows\SysWOW64 and copy dwf.dll from this directory
Then go to C:\Users\<your user name>\AppData\Local\Apps\2.0\MZKGDAT1.PHM\N5YL8OR9.1AQ\audi..tion_0000000000000000_0001.0000_e5f4f61c851d23cd directory
At a guess some of those alphanumeric directories may be different in you installation. You need to find the folder containing these files-
Audio-Frequency-Icon.ico
AudioAnalyzerSuite.cdf-ms
AudioAnalyzerSuite.exe
AudioAnalyzerSuite.exe.cdf-ms
AudioAnalyzerSuite.exe.config
AudioAnalyzerSuite.exe.manifest
AudioAnalyzerSuite.manifest

Paste the copied dwf.dll here

You can now re-install the new version of waveforms(2015) and AudioAnalyzerSuite will use the DLL in its local directory first. allowing you to use his software and the new version of waveforms

--- End quote ---

The Waveforms software did a switch from 32 bit libraries to 64 bit without telling anyone, usually that would not be an issue, but I had my software set to expect a 32 bit library.

Anyway, updated version, it should work with both 32 and 64 bit versions of Waveforms.

Sorry for my slow response to this issue, I have been out travelling for some time.

jaxbird:
I have added functionality to compensate for external attenuation as the Analog Discovery (both 1 and 2) will start clipping at +/-25Vpp.

Just make a cable/adapter something like this:



This example will give 2:1 attenuation, so you'd enter 2.0 as attenuation factor and the software will scale everything accordingly to still provide all the correct values. The attenuation factor is shown in bottom right corner, just click on the value to change it.

Keep in mind the voltage/current and resistor ratings when choosing resistor values and that the Analog Discovery input impedance is 1M ohm.

jaxbird:
Added another feature. On most classic distortion analyzers you have an output to view the distortion and noise waveform on your scope. So I've tried to replicate this feature, it doesn't give any easily quantifiable information, but for those experienced in looking at this waveform it's got valuable information. Basically it's everything coming out of the amplifier except the fundamental tone.

My current test subject, a hybrid stereo amplifier with a tube front end voltage amplifier and transistor output stage:



And here a view of distortion vs frequency with the distortion/noise waveform in the scope view (the blue trace):



Easy to spot the dominant 2nd harmonic shown in the spectrum. Close to a nice sine wave. It's on a different scale as the main waveform. (blue values vs red value indicators)

The distortion waveform is not perfectly time aligned with the main trace, I'll probably try fix that in a furture update. Should still provide a useful feature like on the old skool distortion analyzers.

AlanG:

--- Quote from: jaxbird on May 26, 2016, 04:34:04 am ---This example will give 2:1 attenuation, so you'd enter 2.0 as attenuation factor and the software will scale everything accordingly to still provide all the correct values. The attenuation factor is shown in bottom right corner, just click on the value to change it.

Keep in mind the voltage/current and resistor ratings when choosing resistor values and that the Analog Discovery input impedance is 1M ohm.

--- End quote ---
I have not downloaded your latest build so these comments may not be applicable;
1) How many decimal places have you allowed for in the attenuation factor? e.g. can you enter 3.16?
2) Would you consider adding the option of entering the attenuation in dB? e.g. 10dB (as above)

regards,
Alan

jaxbird:

--- Quote from: AlanG on May 28, 2016, 11:04:27 pm ---
--- Quote from: jaxbird on May 26, 2016, 04:34:04 am ---This example will give 2:1 attenuation, so you'd enter 2.0 as attenuation factor and the software will scale everything accordingly to still provide all the correct values. The attenuation factor is shown in bottom right corner, just click on the value to change it.

Keep in mind the voltage/current and resistor ratings when choosing resistor values and that the Analog Discovery input impedance is 1M ohm.

--- End quote ---
I have not downloaded your latest build so these comments may not be applicable;
1) How many decimal places have you allowed for in the attenuation factor? e.g. can you enter 3.16?
2) Would you consider adding the option of entering the attenuation in dB? e.g. 10dB (as above)

regards,
Alan

--- End quote ---

Hello Alan,

Quick answers:

1. The value is stored in a 64 bit floating point, so as many as you like, so you could enter 3.1622776601683795 :) (I think the limit is 15 or 16 something) Just keep in mind it's not meant as a super precision instrument, as in, not competing with Audio Precision instruments in accuracy, but providing many of the same features.

2. I did considered this, my thinking is that a ratio would be easier for most users based on resistor values, but I'm open to using dB instead if this is the preferred option. Perhaps an option to enter either attenuation factor or dB would be ideal. I think I'll add that. Thanks for the suggestion.

Cheers
Jake

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod