Thanks Josiah, this actually already helps

I'll take a look the coming days

Am Montag, 19. März 2018 20:53:48 UTC+1 schrieb @TiddlyTweeter:
>
> For adding changes the configurator at  
> https://configurator.abcjs.net/audio/ shows the difference in the JS code 
> at the bottom. For LOOP you could just set it so. For INSTRUMENT NUMBER 
> (program) you'd need a way to interact with the value in the JavaScript. 
> For DOWNLOAD, how to prettify its display.
>
> The code for LOOP, INSTRUMENT set to 7, and MIDI download is ...
>
> import 'font-awesome/css/font-awesome.min.css';
> import 'abcjs/abcjs-midi.css';
> import abcjs from 'abcjs/midi;
>
> abcjs.renderMidi(
>     "midi-id",
>     abcString,
>     {
>         program: 7,
>         generateDownload: true,
>         inlineControls: {
>             loopToggle: true,
>         },
>         startingTune: 0,
>     });
>
> abcjs.midi.startPlaying(document.querySelector(".abcjs-inline-midi"));
>
> abcjs.midi.stopPlaying();
>
> //abcjs.midi.setSoundFont("");Enter code here...
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f448d87a-adda-4aff-8774-502c4af03725%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to