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

Macros: Incorrect and inconsistent results from "Tone" command #4280

Open
SteveDaulton opened this issue Feb 6, 2023 · 7 comments
Open

Macros: Incorrect and inconsistent results from "Tone" command #4280

SteveDaulton opened this issue Feb 6, 2023 · 7 comments
Labels
bug An error, undesired behaviour, or missed functionality macros / scripting Bugs related to macros and scripts P3 Medium Priority regression Bug is a regression against previous version

Comments

@SteveDaulton
Copy link
Member

SteveDaulton commented Feb 6, 2023

Bug description

Original report: https://forum.audacityteam.org/viewtopic.php?p=463623#p463623

Steps to reproduce

  1. Run the following macro:

NewMonoTrack:
NewMonoTrack:
SelectTracks:Mode="Set" Track="0"
SetTrackStatus:Name="300"
SelectTracks:Mode="Set" Track="1"
SetTrackStatus:Name="400"
SelectTracks:Mode="Set" Track="0"
SelectTime:End="1" Start="0"
Tone:Amplitude="0.7" Frequency="300" Interpolation="Linear" Waveform="Sine"
SelectTracks:Mode="Set" Track="1"
SelectTime:End="2" Start="1"
Tone:Amplitude="0.7" Frequency="400" Interpolation="Linear" Waveform="Sine"
FitV:

  1. If the bug does not appear, undo and run the macro again.

Expected behavior

Trackpanel000

Actual behavior

Trackpanel001

Audacity Version

current master / alpha / nightly build; 3.3.2

Operating system

Any

@SteveDaulton SteveDaulton added bug An error, undesired behaviour, or missed functionality regression Bug is a regression against previous version labels Feb 6, 2023
@SteveDaulton
Copy link
Member Author

See also: #4146

@petersampsonaudacity petersampsonaudacity added the macros / scripting Bugs related to macros and scripts label Feb 6, 2023
@dozzzzer
Copy link
Contributor

@SteveDaulton
with the STRs above, on macOS it produces the following output:

image

Are you sure no steps are missing here?

@LWinterberg LWinterberg added the Could not reproduce We tried to reproduce this problem, but did not succeed. More detail needed? label Feb 24, 2023
@SteveDaulton
Copy link
Member Author

Are you sure no steps are missing here?

The macro is correct.
Assuming that you copied the macro correctly, that error message shows that Audacity failed to run the macro correctly.

@SteveDaulton
Copy link
Member Author

LWinterberg added the Could not reproduce

Does that mean that you got the expected result?
Did you try running it several times?

@dozzzzer dozzzzer added P3 Medium Priority and removed Could not reproduce We tried to reproduce this problem, but did not succeed. More detail needed? labels May 31, 2023
@MjnMixael
Copy link

Ran into this same issue last night. Ended up rolling all the way back to Audacity release 3.1.3 which does not have the issue.

@SteveDaulton
Copy link
Member Author

This has become worse in the new 3.4.0 release. I'm now consistently getting this error:

{
    "timestamp": 1699129479,
    "event_id": "7d1225ba71404fd1bcc40ff26a23398f",
    "platform": "native",
    "release": "audacity@3.4.0",
    "contexts": {
        "os": {
            "type": "os",
            "name": "Unix",
            "version": "5.15.0"
        }
    },
    "exception": {
        "values": [
            {
                "type": "Internal_Error",
                "value": "Internal error at /<path> line 1481.\nPlease inform the Audacity team at https://<path>.",
                "mechanism": {
                    "type": "runtime_error",
                    "handled": false
                }
            }
        ]
    }
}

@dozzzzer
Copy link
Contributor

dozzzzer commented Nov 6, 2023

I'm now consistently getting this error

I'm getting this error as well.

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 P3 Medium Priority regression Bug is a regression against previous version
Projects
None yet
Development

No branches or pull requests

5 participants