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

Error initializing MIDI output device #246

Closed
francheton opened this issue May 13, 2017 · 13 comments
Closed

Error initializing MIDI output device #246

francheton opened this issue May 13, 2017 · 13 comments

Comments

@francheton
Copy link

Hello,

I just upgraded my PowerTabEditor from 1.7.0 to 2.0.0 alpha 10 under windows 10.

When I load all the .ptb files I previously build with the older version, I obtain this message :

"error initializing MIDI output device"

=> Who can help me ?

Best regards.

@DontBelieveMe
Copy link
Contributor

Can you link/attach an example of a ptb file that causes the crash?

@alfredowl
Copy link

I am experiencing the same problem. when I got to set the midi output device /File/Preferences/Midi there are no items in the drop down for 'Midi Output Device'. Any help would be much appreciated.

thanks,

@joeSeggiola
Copy link

Hi @alfredowl , have you fixed somehow? I have the exact same issue, I tried installing a MIDI mapper and a MIDI synth, but nothing changed...

@joeSeggiola
Copy link

Ok, looks like there's something wrong in beta 11. I uninstalled and re-installed beta 10, now it plays! In File > Preferences > Midi Output Device I can see a device, where in bete 11 there was nothing.

@cameronwhite
Copy link
Member

Interesting, I'll see if I can reproduce the same in my windows VM. I think the main thing that would have changed in alpha 11 was upgrading to a newer version of the RtMidi library

@joeSeggiola
Copy link

joeSeggiola commented May 30, 2020

@cameronwhite Thanks for looking into it. Also, beta 10 plays fine, but can't open my old PTB files (PowerTab 1.7), I can send you privately an example via email if you like. The same file opens fine with beta 11, so I tried to save a PT2 from there and open it in beta 10, but it fails (but I guess it's normal since it's an older version of the saved file...?).

@cameronwhite
Copy link
Member

Yeah, I think the file format version number was bumped in alpha 11 due to adding left hand fingerings. I wasn't aware of any issues that were fixed with opening old ptb files, though, so I'd be interested to see a file that had an issue

@joeSeggiola
Copy link

@cameronwhite Ok, I'm sending it to you now, to the email I see on your GitHub profile.

I think the file format version number was bumped in alpha 11

Yes, I saw that "version": 4, I tried to manually change to "version": 3 (a man can hope!) but it didn't work... 😄

@cameronwhite
Copy link
Member

Thanks, got the email!

@acjay
Copy link

acjay commented May 31, 2020

Same problem with Alpha 11 on Windows 10. I uninstalled and installed Alpha 10 and playback works fine.

@cameronwhite
Copy link
Member

I can repro on my VM and am looking into it

@joeSeggiola - Based on the file you sent, I think the issue opening that file in alpha 10 is the non-ASCII characters in the file name, which #244 fixed

@cameronwhite
Copy link
Member

Ah, I think the issue is that the vcpkg build of RtMidi isn't configured correctly - microsoft/vcpkg#6993

cameronwhite added a commit that referenced this issue Jun 1, 2020
This verifies that there is at least one API that is not the dummy RtMidi API.

#246
cameronwhite added a commit that referenced this issue Jun 1, 2020
This is enabled on Windows until the RtMidi package from vcpkg is configured correctly.

#246
@cameronwhite
Copy link
Member

OK, the midi issues on Windows should be fixed now!
I've updated the alpha 11 release with a new Windows build that incorporates those changes.

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

No branches or pull requests

6 participants