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

Cycling '74 RNBO library not working in editor with CDN #3302

Open
ogbabydiesal opened this issue Dec 19, 2024 · 1 comment
Open

Cycling '74 RNBO library not working in editor with CDN #3302

ogbabydiesal opened this issue Dec 19, 2024 · 1 comment
Labels

Comments

@ogbabydiesal
Copy link

p5.js version

1.9.3

What is your operating system?

Mac OS

Web browser and version

Arc: Version 1.73.0 (56815), Chromium Engine Version 131.0.6778.140

Actual Behavior

https://editor.p5js.org/thomasjohnmartinez/sketches/BUinia5BO
This sketch demonstrates connecting p5.sound.js to the Cycling 74' RNBO audio library (https://rnbo.cycling74.com/learn/getting-the-rnbojs-library).

The code doesn't work due to the RNBO library not being loaded correctly from their CDN and a CORS policy. However, works locally and deployed to the web.

Expected Behavior

A workaround was provided by @raclim here where the library is uploaded directly into the sketch editor: https://editor.p5js.org/raclim/sketches/N853ZgNtf

Steps to reproduce

Steps:

  1. create a new p5 sketch in the editor
  2. follow the steps in the "Getting the RNBO library" guide found here: https://rnbo.cycling74.com/learn/getting-the-rnbojs-library

Snippet:

https://editor.p5js.org/thomasjohnmartinez/sketches/BUinia5BO

Copy link

welcome bot commented Dec 19, 2024

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

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

1 participant