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

OPL3 Duo with OPL3 demotune hangs with Raspberry Pi #90

Open
sneakernets opened this issue Aug 25, 2021 · 6 comments
Open

OPL3 Duo with OPL3 demotune hangs with Raspberry Pi #90

sneakernets opened this issue Aug 25, 2021 · 6 comments
Assignees
Labels

Comments

@sneakernets
Copy link

Hi, I'm using an original Raspberry Pi B model, and the OPL3 version of the demotune program hangs about 5 seconds in, playing the same note forever. The other demotune program doesn't have this issue.

The hardware test seems fine, but I don't know what that program is really supposed to sound like.

@DhrBaksteen
Copy link
Owner

I'll have a look to see if there is an issue.

@DhrBaksteen DhrBaksteen self-assigned this Aug 26, 2021
@DhrBaksteen
Copy link
Owner

I've not been able to reproduce this issue. If it still exists then please provide more info like what software versions are running on your Pi.

@sneakernets
Copy link
Author

sneakernets commented Sep 20, 2021

I'm using the latest Raspberry Pi OS release on a Pi 1 B model, that much I know. I will make a video to demonstrate where the demo song is hanging up. for now I can put an arrow where the song is hanging on voice1:

                                                         v   
const char voice1[] = "i96t150o5l8egredgrdcerc<b>er<ba>a<a>agdefefedr4.regredgrdcerc<b>er<ba>a<a>agdedcr4.c<g>cea>cr<ag>cr<gfarfearedgrdcfrc<bagab>cdfegredgrdcerc<b>er<ba>a<a>agdedcr4.cro3c2r2";
const char voice2[] = "i96o4l8crer<br>dr<ar>cr<grbrfr>cr<grbr>crer<gb>dgcrer<br>dr<ar>cr<grbrfr>cr<grbr>ceger4.rfrafergedrfdcrec<br>d<bar>c<agrgd<gr4.o4crer<br>dr<ar>cr<grbrfr>cr<grbr>cege";
const char voice3[] = "i2o3l8r4gr4.gr4.er4.err4fr4.gr4.gr4.grr4gr4.er4.er4.frr4gr4>ccr4ccr4<aarraar4ggr4ffr4.ro4gab>dr4.r<gr4.gr4.err4er4.fr4.g";

I will try on a newer model Raspberry Pi this week and see if it hangs there too.

@sneakernets
Copy link
Author

Odd - it runs fine with the Pi 4, but not the Pi 1! I wonder what's going on there?

@DhrBaksteen
Copy link
Owner

Can you check what version of Wiring Pi is running on both Pis with gpio -v ? Maybe there is a difference there, or could there be some other software running in the background interfering with the gpio?

@sneakernets
Copy link
Author

sneakernets commented Oct 12, 2021

The Pi 1 has this:

gpio -v
gpio version: 2.50
Copyright (c) 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

Raspberry Pi Details:
  Type: Model B, Revision: 02, Memory: 512MB, Maker: Sony
  * Device tree is enabled.
  *--> Raspberry Pi Model B Rev 2
  * This Raspberry Pi supports user-level GPIO access.

I'll check the Pi 4 tonight.

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

No branches or pull requests

2 participants