Environment
- Audacity: 3.7.5 portable
- OS: Windows 11 Pro (build unknown)
- UI language: IT (but reproducible with English command names in Macros)
Steps to reproduce
- Start Audacity. Make sure the project is empty (no tracks).
- Tools → Macros → New → name it BoingTest.
- Insert these steps into the macro:
NewStereoTrack:
SelectTracks: Mode="Set" Track="0" TrackCount="1"
SelectTime: Start="0" End="1" RelativeTo="ProjectStart"
Tone: Frequency="440" Amplitude="0.8" Type="Sine" Duration="1"
- Tools → Apply Macro… → Project.
Expected
- Audacity generates a 1-second tone in the newly created track.
Actual
- Immediate crash with “Internal error in WaveTrack.cpp at line 1232” (dialog shown).
Notes
- If there is already at least one audio track in the project BEFORE applying the macro, no crash occurs.
- The crash also occurs when using
Chirp
orPizzicato/Pluck
instead ofTone
. - Adding
SetTrackStatus: Focused="1" Selected="1"
and/or priming withSilence
does not avoid the crash when the first audio track is created and a generator is executed within the same macro. - Looks like the first WaveTrack is not fully initialised before the generator writes data.
Macro used:
NewStereoTrack:
SelectTracks: Mode="Set" Track="0" TrackCount="1"
SelectTime: Start="0" End="1" RelativeTo="ProjectStart"
Tone: Frequency="440" Amplitude="0.8" Type="Sine" Duration="1"
I hope I managed to explain clearly what happened.
I also hope it’s something that can be fixed and that I didn’t make a mistake on my end.
If the developers need any more information, I’m here.
Thanks for your patience—I’m a new user
Kain TS