-
Notifications
You must be signed in to change notification settings - Fork 1
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
Host example page #1
Comments
I think I like your first solution best - let the user define a "demo" property with a link... anyone who implements a web audio component can just leverage github pages to host their own example with whatever resources they need, or if it's very complicated they can host it on their own server. The latter solution sounds pretty complicated, and tbh, with the current state of web audio projects, I feel like anyone who would want a visible UI for a particular component would want to build it themselves so that the styling and representation would fit their app. It's a bit of a stretch to anticipate that people who want a UI for a module will accept whatever default styling the module implementer decided, I think. Of course, this solution opens the door for many people to implement various UI's with various themes for the same component. But then what would we do with all the various skins? Create a searchable repository of them? Maybe this is a possibility for some time down the road, but not now IMO. I see this second solution fitting very well in an app which is like an in-browser DAW (which, if I remember correctly, a few people are working on atm), so that the DAW builders can just include default UIs with each component (just like VSTs). But the majority of web audio apps will be within a wide spectrum of awesome creativity, wherein people will be styling their own parameter controls to fit the app design. That's my $0.02. |
Yeah, definitely pretty complicated.. and yeah, I had in mind DAW style manipulation -- for most demos, most controls are not going to be visible (based off of current culture of demos, that is), and just wondering how to get different skins for possibly the same component.. maybe down the road once we have a few implementations -- I can imagine clicking on a component (on component.fm), and all "UIs" that are made for that are listed there.. would be pretty hot, heh |
And also, Rack is done in a way to be customizable, and can drop in your own skin to modify all of Rack's UI stuff for all components, and then do specific styling for a single component if needed, but I guess I was thinking more of things that will have a canvas element and additional rendering constraints |
That would be sweet, I could see that. That's true, Rack is pretty customizable. I haven't made any modules that rely on a canvas, so I don't have any experience to go on there. I suppose if the UI had pretty complicated rendering constraints it would make sense that the module implementer take that responsibility away from the user by building their own UIs. Hm I guess this is a pretty complicated situation.. |
This might be a stretch, but I think it'd be really cool to host the example page for a given module on component.fm. A lot of our current implementations have an
example
folder in the root directory with anindex.html
and such. I think for some cases the example page could be really interesting, and for modules where the demo plugin doesn't quite fit, hosting the example page would be a great alternative (i.e. hosting the spectrograph example page).This isn't to replace the demo plugin, but to be implemented in addition. Thoughts?
The text was updated successfully, but these errors were encountered: