You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
charlie roberts
charlieroberts
Primary developer of gibber, gibberish, genish, and other libraries. Co-developer of the gibberwocky live-coding environments.
A short demo of using genish.js in an HTML file with a scriptprocessor node.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simply put, prototypical inheritance means that any object can delegate property lookups and method calls to any other object.
Prototypical inheritance is also used in Lua, AppleScript, and many other languages have add-ons / extensions to support it.
It was first used in the language Self.
vara={test: function(){console.log('I am testing')}}// create a new object with an argument prototype
gibberwocky communicates using the websocket protocol with a max4live plugin.
Theoretically any client should be able to interface with the plugin using this websocket interface.
Everytime the Abelton timeline advances a beat, the max4live plugin sends a request to the gibberwocky client for the subsequent beat's events. For example, on beat 3, the plugin will send a request for all events that should occur during beat 4. This one beat of latency ensures that all messages arrive with plenty of time to spare. Alternative interfaces to the gibberwocky client could ignore these messages and implement their own timing strategies (using Ableton Link or MIDI clock etc.)
Benchmark comparisons of common synthesis tasks between Genish.js and the Web Audio API, for the 2017 Web Audio Conference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An proposed API for using the Tidal pattern language in Gibber
Gibber-Tidal
This is a proposed API for using the Tidal pattern language (https://tidalcycles.org/patterns.html) in Gibber.
The basic idea is extend Gibber to support calls to .tidal() in addition to its current .seq() method. This
would enable any audiovisual property or method to be controlled using Tidal patterns.
// create a synth and sequence it// using indices into a global scalea=Synth()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters