Audacity 2.4.1, Win10
Hi,
I’m doing some (very amateur) testing of hand-written audio software. Basically, I’m playing a ‘control’ WAV file (pure Sin wave) from players written in different languages and recording it in Audacity (running on the same machine). The players are written in:
- Python (using the python-sounddevice library)
- Python (using the pyaudio library)
- UWP (C# - Universal Windows Platform - using the native audio DLLs, etc.)
I then wanted to examine the waveforms of all three recordings to see how well the apps played the audio out. Not scientific - all sorts of potential problems with interactions between processes, hardware conflicts, etc. But I just hoped to get a rough feeling - if one player was consistently showing drop-outs for example, it should be quite clear.
For background:
I did a similar recording test - Audacity playing a control WAV file (the same pure Sin wave) and all 3 apps recording it. All 3 recordings succeeded but the waveforms showed different attenuating effects going on and distortion of the sin wave (different distortions but consistent for each app).
Anyway, back to my playback issue:
The UWP/C# app plays fine and Audacity records its output fine and the waveform looks OK.
The Python apps do play the control WAV file fine. But when they start to play the control WAV file, Audacity just stops recording. There’s no error, nothing in the Audacity logs (Help > Diagnostics > Show log). No indication of why Audacity stops recording.
Any pointers much appreciated.