SonicPi, TiddlyWiki and OSC?

199 views
Skip to first unread message

Alex Hough

unread,
Dec 8, 2018, 5:24:25 AM12/8/18
to TiddlyWiki
Dear All,

I've been playing with Sonic Pi [1] and was shown how it can take OSC data from TouchOSC [2]

I searched the web and found osc.js [3]

I was wondering if :
a) anyone exploring or wants to explore TiddlyWiki, SonicPi and OSC?
b) they would be interested in collaborating on a art installation using these technologies? 
c) TW could take the place of TouchOSC

All comments and thoughts most welcome

best wishes

Alex

Joe Armstrong

unread,
Dec 9, 2018, 7:57:20 AM12/9/18
to TiddlyWiki
Absolutely.

By coincidence, I've been collaborating with Jeremy and Sam - personally, I think SonicPi and TW are
soul-mates - on the surface they a different, but under the covers, they are very similar.

Jeremy is combining fragment of knowledge through transclusion, Sam is making music by combining
fragments of music (represented in code)

I wrote the OSC stuff in sonic pi in Erlang (there's a complete Erlang hidden inside SonicPi) -
and I have been thinking about using TW as an alternative front end to SonicPi - SonicPi uses the
supercollider internally (which is also controlled by OSC) - parts of the note scheduler inside SonicPi are
written in Erlang (mainly because concurrency and syncing up things is far easier in Erlang than in Ruby)

Jeremy and I have been playing with ways to make Erlang talk to TW so we can do stuff
outside the TW - and actually audio processing (like in the supercollider) would be great to do
outside the TW (alternative would be to use webaudio and webmidi inside the browser) - my feeling is
that webaudio in the browser is years behind the supercollider (but may catch up quickly)

Here's some links you might like to look at

Jed Carty

unread,
Dec 9, 2018, 9:04:41 AM12/9/18
to TiddlyWiki
I have never used OSC or SonicPi but I did make a few music synthesis projects when I was getting my degree and I have been made a few small generative music projects using tiddlywiki as the front end. I also have some experience hooking tiddlywiki into real time applications using it to control my robot and some automation projects I have been playing with. For that I used websockets as the communication channel.

A project like this could be fun.

Jeremy Ruston

unread,
Nov 9, 2019, 12:29:19 PM11/9/19
to TiddlyWiki
Belatedly, I’ve been working with Sam Aaron on integrating TiddlyWiki with Sonic Pi pretty much exactly as Joe suggested.

The code is here if you’d like to try it out (requires Node.js):


It has two fundamental capabilities, both based on adding the ability to send OSC messages from TiddlyWiki to Sonic Pi:

* To send fragments of code to Sonic Pi for execution
* To dynamically send the values of sliders to Sonic Pi

Thus, it is possible to use TiddlyWiki to store tunes as tiddlers, and to control the performances.

Sam and I presented our work at a keynote at CodeMesh 2019 yesterday in Joe’s honour along with Robert Virding, one of the co-inventors of Erlang with Joe.  I’ve copied some photos below, and will post the video here when it is available.

Best wishes

Jeremy.






-- 
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/7699a6db-85b5-45c9-8b85-76d9e9be984f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

PMario

unread,
Nov 10, 2019, 7:44:24 AM11/10/19
to TiddlyWiki
On Saturday, November 9, 2019 at 6:29:19 PM UTC+1, Jeremy Ruston wrote:
...
Sam and I presented our work at a keynote at CodeMesh 2019 yesterday in Joe’s honour along with Robert Virding, one of the co-inventors of Erlang with Joe.  I’ve copied some photos below, and will post the video here when it is available.

I'm looking forward to the video.

-m

Jeremy Ruston

unread,
Nov 29, 2019, 3:38:42 AM11/29/19
to tiddl...@googlegroups.com
The video of our talk about Joe has just been published:


Best wishes

Jeremy.




--
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 tiddlywiki+...@googlegroups.com.

PMario

unread,
Nov 29, 2019, 5:01:19 AM11/29/19
to TiddlyWiki
On Friday, November 29, 2019 at 9:38:42 AM UTC+1, Jeremy Ruston wrote:
The video of our talk about Joe has just been published:


Nice. Doing a live performance, with 3 different electronic components, during a talk is ambitious. It seems you have pleased the "demo gods" upfront!

-m

A Gloom

unread,
Nov 30, 2019, 12:26:38 AM11/30/19
to TiddlyWiki
For the first time in a long time, I (watched)listened to a youtube video... to see if I couls use this for sound effects/music for a TW running a "html" game...

something I'll need to pursue after checking out PMario's trigger mechanism...

I'll be showing some screenshoots but I took TW and using tiddlers as "modules", constructed a game interface using those "modules"
Reply all
Reply to author
Forward
0 new messages