Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal error when running macro that uses generator #6410

Open
RyanMetcalfeInt8 opened this issue May 9, 2024 · 1 comment
Open

Internal error when running macro that uses generator #6410

RyanMetcalfeInt8 opened this issue May 9, 2024 · 1 comment
Labels
bug An error, undesired behaviour, or missed functionality macros / scripting Bugs related to macros and scripts

Comments

@RyanMetcalfeInt8
Copy link
Contributor

Bug description

Here is a screenshot showing the macro & internal error:

image

Steps to reproduce

Add macro shown in the following screenshot, and click 'Apply Macro to Project'.

image

Expected behavior

This macro should produce a new track filled with 30s of noise.

Actual behavior

Internal error.

Audacity Version

other

Operating system

Windows

Additional context

This is using a compiled version of Audacity, using 3.5.1 tag.

@petersampsonaudacity
Copy link

petersampsonaudacity commented May 10, 2024

Testing on W11 with 3.5.1

The problem appears to arise due to step 1 in the macro, the creation of the new mono track.

1) Empty project

When I run this on an empty project I get this failure message:
image

===================================================================

2) Project with existing audio

When I run it on a project that already has audio I get thie "Internal error ..." message:
image

===================================================================

3) Macro without the mono track creation

If I remove the first Macro item that creates a new mono track then the macrro works
a) on a project with a single audio track
b) on a project with multiple audio tracks a mixture of both mono and stereo

@petersampsonaudacity petersampsonaudacity added the macros / scripting Bugs related to macros and scripts label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error, undesired behaviour, or missed functionality macros / scripting Bugs related to macros and scripts
Projects
None yet
Development

No branches or pull requests

2 participants