A simple example of text to music

The example below shows text in a text box and a button that will launch a music player. It is a very example to show the basic idea. In proper use the text would be within a node of the graph and might be being edited by a pair (or “dyad”) of users. Quite how the collaborative editing would work is being formulated at the moment. The example here is helping us think about this and hopefully might enthuse people to get involved. We are also working on an example that will render a graphic rather than music.

In the music example (link below) there is text in “.abc” format - this is the most popular text to music notation. We have extended it using the commenting mechanism:

%%my comment

We use this to provide extra “expression directives” for instance to set some reverb. Our in house directives all begin bd_ e.g.

%%bd_reverb_wet 0.35

%%bd_reverb_decay 2.5

The %%bd_ directive is also used to wrap the media extension text in a directive that sets the interpreting module.

No more on the exact form of the directives for now as we are still experimenting - if you have any thoughts please reply below.

One thing to flag for comments though …it seems an attractive idea to allow the same directives to be included across all media extensions - if the interpreting modules can interpret the directive fine - otherwise it just ignores it. An example of such a directive might be

%% bd_intensity 0.8

this might control colour brightness in a graphics module and volume+vibrato in a music module - yes …it needs…some thinking over …

Here’s the web link:-

https://wrcstewart.github.io/butterflydreaming_music_1/

(developers can clone from GitHub but let us know what you are doing as the directive syntax is not yet stable)