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

Possible bug problem with python 3.12 #5

Open
ClemeK opened this issue Nov 6, 2023 · 3 comments
Open

Possible bug problem with python 3.12 #5

ClemeK opened this issue Nov 6, 2023 · 3 comments

Comments

@ClemeK
Copy link

ClemeK commented Nov 6, 2023

Hi,

  1. I've downloaded\installed MusiclBeeps on my Windows10 machine and ran the test program which appears to contain 3 notes and a pause but when I run it I only get one note played and one line of text on the terminal.

This is under Python 3.12.0 64bit

I then changed my settings back to Python 3.11.4 64bit and it appears to be works!!!. It appears that something in 3.12 has broken your library.

  1. I downloaded your HappyBirthday.txt file and tried the following in a different program
import musicalbeeps
FileName = r"<MyPath>\HappyBirthday.txt"
musicalbeeps FileName

If I'm reading your instructions correctly this should play the tune in the file, But I keep getting an Invalid Syntax error on the filename (I've also tried it without the FileName variable and I get the same error)

@Kolya142
Copy link

musicalbeeps FileName is incorrect python syntax, correct is
"musicalbeeps.something(FileName)"

@Kolya142
Copy link

also you needed make note parser

@Oxcidius
Copy link

I have a similar issue with Python.3.12. It works fine in 3.11.4 but as soon as I upgrade to 3.12. it only plays one note.
Is there a syntax change between the two versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants