Sonix.ai experiment

54 views
Skip to first unread message

Alex Hough

unread,
Dec 12, 2018, 5:30:27 PM12/12/18
to TiddlyWiki
Dear All,

Sonix.ai have kindly donated an hour of transcription time. My approach here is to use Sonix in an art project, an installation along with Sonic Pi ... practice as research they call it...

I'd like to be able to embed their media player. You can see an example on the link [1] below. However I am not sure where to put the javascript. Below is a screenshot

Screen Shot 2018-12-12 at 22.26.08.png

Research Tool?

I think it could be good for working with transcribing audio where tagging fragments of text are coded and tagged...



best wishes

Alex

[1] https://sonix.ai/how-to-capture-great-audio

Note: the javascript seems to just be for formating.... i can't see how it produces a media player


<script type="text/javascript">
  (function(s,o,n,i,x) {
    if(s[n])return;s[n]=true;
    var j=o.createElement('script');j.type='text/javascript',j.async=true,j.src=i,o.head.appendChild(j);
    var css=o.createElement("link");css.type="text/css",css.rel="stylesheet",css.href=x,o.head.appendChild(css)
  })(window,document, "__sonix",'//sonix.ai/widget.js','//sonix.ai/widget.css');
</script>
<!-- END SONIX (HTTPS://SONIX.AI) EMBED CODE -->




coda coder

unread,
Dec 12, 2018, 5:55:01 PM12/12/18
to TiddlyWiki
That widget.js is a hefty lump of minimized javascript - the player is likely in there.

TonyM

unread,
Dec 13, 2018, 1:52:10 AM12/13/18
to TiddlyWiki
Alex,

A lead but not an answer, With help, I used an "embed code" demanded by Yammer.com by placing the following in a tiddler tagged $:/tags/RawMarkup

<script type="text/javascript" src="https://s0.assets-yammer.com/assets/platform_embed.js"></script>

The script included is loaded at wiki load time, and provides the resource for another javascript tiddler and macro definition.

This should get you started.

Tony
Reply all
Reply to author
Forward
0 new messages