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

Feature Request: file picker / drag and drop for audio files #86

Open
fliprubin opened this issue Nov 9, 2024 · 1 comment
Open

Feature Request: file picker / drag and drop for audio files #86

fliprubin opened this issue Nov 9, 2024 · 1 comment

Comments

@fliprubin
Copy link

I'd love to see the ability to let users drag and drop audio files into a plugin, or use the system file picker.

I see you can pre-load external files via the .cmajorpatch file, but the user being able to add their own files would allow for building sample manglers, granular synths, drum pads, etc.

Unless it's already possible?

@0xchase
Copy link

0xchase commented Nov 11, 2024

The two approaches I know of are:

  1. From javascript, generate and JIT cmajor code that includes the chosen file names
  2. Load and parse your files from javascript, then write the data to an endpoint

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

2 participants