Skip to content
/ sas Public

Simple Audio Sweeper. A handy tool for DIY audio enthusiasts. It generates any desired audio frequency and analyzes your audio system’s frequency response.

License

Notifications You must be signed in to change notification settings

PJDude/sas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Audio Sweeper

A little helper for your DIY audio projects

Features:

  • Simple generating any specific sound frequency
  • Generating a frequency response graph of a PC audio system with a microphone and speakers
  • Exporting results to image or csv file
  • Importing csv file
  • 8 separate buffers for comparing results
  • Portability
  • Live FFT graph with window function selection
  • Input and output device selection

Simple Audio Sweeper uses the sounddevice module to interact with system audio hardware, and NumPy for FFT analysis. The executable file is created with Pyinstaller. The GUI is built using TkInter

image info

Usage:

The microphone and speakers must be connected and configured. Audio from the speakers must be recorded by the microphone.

With mouse cursor on the frequency graph:

  • hold down the left mouse button to generate a specific frequency
  • right click (lock frequency)
  • use mouse wheel or keyboard arrows to modify locked frequency
  • run frequency sweep with action icon on the bottom

⚠️ Due to latency in the sound generation, propagation, registration, and analysis chain, manually recording the spectrum with rapid mouse movements can produce inaccurate (“lagged”) results, depending on the direction of movement. Accurate measurements can only be obtained by changing the frequency slowly or by using the automatic sweep, which is deliberately designed to operate at a controlled, slow pace.

With keyboard:

  • keys 1-8 to toggle visibility of specified samples buffer ('track')
  • Ctrl to enable recording signal (modify 'track')
  • arrows - modify locked frequency

Ensure silence during analysis. Do not allow any sound other than that emitted by the speakers to be recorded. The obtained characteristics will be the result of the characteristics of the microphone, loudspeakers and other components in the audio path, so for example when analyzing an amplifier with loudspeakers, the microphone used must have better parameters than them.

Download:

Portable executable packages for Linux and Windows can be downloaded from the Releases.

Supported platforms:

  • Linux
  • Windows (10,11)

Licensing

False positives issue

Reference to potential problems with Windows Defender and other antivirus programs.

Check out my homepage for other projects.