gogins / cloud-5

Complete browser-based computer music studio for algorithmic composition and live coding
Other
9 stars 1 forks source link

Better templates #56

Closed gogins closed 11 months ago

gogins commented 11 months ago

I'm using the full kit here, pieces in HTML5 with other languages embedded, possibly including Strudel. The objective is to make all new pieces using a recent older piece as a template, regardless of the target platform, i.e. browser vs. NW.js, with as many resources as make sense already embedded in the piece.

I will create several templates by updating the best pieces, all in the cloud-5/public directory:

I shouldn't go crazy here.

gogins commented 11 months ago

The views:

The buttons:

gogins commented 11 months ago

The HTML page should be reorganized to simplify composing and maintenance. The following sections should come at the top of the HTML code in the following order:

  1. About.
  2. Score generator.
  3. Strudel patch.
  4. Shader code.
  5. Csound orchestra.
  6. Log.
  7. Csound controls (dat.gui menu).
  8. Main menu and infrastructure.

As far as possible, each section should be self-contained, with the parts the user is most likely to edit at the top of the section, and the supporting code at the bottom of the section.

gogins commented 11 months ago

Perhaps to attach the dat.gui menu in the right place: https://stackoverflow.com/questions/40523458/dat-gui-size-and-position-of-menu-javascript-css

gogins commented 11 months ago

Fix:

gogins commented 11 months ago

Rendering cloud_music_no_9 to soundfile in NW.js writes audio (although the soundfile name is funny), but of course Csound races ahead while Strudel is going in real time. The way to deal with this for Strudel pieces would be to write a file using fout during a regular live performance.

Render in a browser might or might not "work" but, even if it works, the soundfile will be written in private storage in the browser sandbox. I don't want to deal with this if I don't have to.

gogins commented 11 months ago

The Poustinia variations are working. There's a hangup because I can't fool around with VST3 parameters and export just one preset from Reaper, and I can't seem to get the VST3PluginTestHost program to run audio from an instrument into the Valhalla reverb. But simply setting the parameters seems to work. And program change doesn't seem to work with the Valhalla, either.

With the speed of the MacBook, this is a very productive way of working.

To do: