Skip to content

sfx()'s note property isn't defaulted to what is set in SFX tab in Python binding #2920

@GarniyHlopchik

Description

@GarniyHlopchik

Whenever you call sfx() in a python project without directly specifying the note you want to play it with, it defaualts to the lowest note (C-1), not the note this sfx should play at. For example, on my sfx tab the note of sfx 0 is supposed to be C-4

Image

But if I call it with sfx(0), it will play on note C-1. In order to play it on C-4, I have to call sfx(0, "C-4") explicitly. In all other interpreters calling without specifying the note seems to work fine, the problem is only on python as far as I can see (I tested js, lua, moon, wren). As far as binary versions I have this problem on the latest official version as well as the latest unofficial build by someone in the comunity (I think it's from August-ish 2025), I am using the Windows version, and I don't see any issues here that have to do with this problem so it probably still exists on the main branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions