Skip to content

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

Open
@ogbabydiesal

Description

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions