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

Scheduled changes of wave type from a playing osc crashes on ESP32 #142

Open
bwhitman opened this issue Aug 7, 2024 · 1 comment
Open

Comments

@bwhitman
Copy link
Collaborator

bwhitman commented Aug 7, 2024

This is an edge case, fixed by resetting the oscs before doing this. But on ESP32 in Arduino, at least, you'll get a reboot if you do e..g

amy.send_message("v0f220l1");
long clock = amy.sysclock();
amy.drums(clock+5000, 2);

Where amy.drums() does NOT reset osc 0 before changing it to e.wave=PCM; e.patch=X;. We are committing a change so that the example code now does this reset, but this may bite other use cases.

This does not happen on macOS.

I feel like something in the ESP renderer (note, DAN, this is single core mode) is not happy with the state change while it's reading from a LUT. We can debug this with JTAG later if we need to fix this.

For now, the underlying thing is fixed in the example code.

@bwhitman
Copy link
Collaborator Author

bwhitman commented Aug 7, 2024

Dan said it may be freq here

#135 (comment)

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

1 participant