abzza

Members
  • Content count

    6
  • Joined

  • Last visited

About abzza

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. abzza

    Using script with Spectrum on AD2

    @BaffleChallenged - wow, thanks for this! I've recently completed my speaker dummy load, which also includes selectable voltage dividers as you outlined in your document. Very nice. Going to dive into your scripts this evening!
  2. abzza

    Using script with Spectrum on AD2

    Thanks @attila! Yeah, I'm using the BNC adapter board and some heavy duty, shielded BNC cables for both the AWG and Scope channels - found much cleaner results overall. Thanks for the heads-up though! Busy putting together a selectable 8ohm/4ohm dummy load that can just plug straight into the Analog Discovery via BNC, which will make testing amplifiers much quicker and easier.
  3. abzza

    Using script with Spectrum on AD2

    Thanks @BaffleChallenged - I did much the same, although I incremented the script 1hz at a time for 20000 readings across the spectrum: for(var idx = 20; idx <= 20000; idx++) // 20hz to 20khz, 1hz increments The script takes about ~10 minutes to complete. Here was the output from a little LM1875 chip kit driving an 8 ohm dummy load. Neat! This was before I added the conversion from dB to % for THD (thanks this website for the explanation!), but it worked out to an average of -62dB, or 0.079% THD. Not too shabby for an eBay kit running in the open air. Another useful addition I added was to average all the THD values to give you a single value to compare against, as well as formatting the output into something more CSV friendly in case the results need to be saved and plotted elsewhere. I'll upload my script changes as well when I'm back at my laptop.
  4. abzza

    Using script with Spectrum on AD2

    @attila, you took the script right out of my... er... keyboard! Thank you for this, it's going to save me a lot of mental energy.
  5. abzza

    Using script with Spectrum on AD2

    Excellent, thank you! @tomtektest - I'm working on a Python script to at least do some basic automation of THD analysis across the 20hz-20khz spectrum. It won't be as pretty as the Audio Analyzer Suite, but it will get the job done. Will send it to you when it's ready to go!
  6. abzza

    Using script with Spectrum on AD2

    Seconded! The ability to use the Spectrum Analyzer within scripts would be invaluable.