Giter Site home page Giter Site logo

gibber's Introduction

Gibber

Gibber is a live coding environment for the web browser, using the Gibberish.js audio engine, the CodeMirror code editor library and wrapping Three.js for 3d graphics and shader support. Version 2 of Gibber features a much more efficient audio engine, some interesting mapping abstractions and a server/database backend for publishing and browsing files and collaboratively live coding.

In order of preference, Gibber runs in Chrome, Safari, and Firefox. Gibber runs best when loaded from a web server, as it relies on server affordances for loading audio samples, but there's plenty to play around with if you don't have your own server. Or you can simply create your own web server using something like the python SimpleHTTPServer (http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python). The current public URL for the Gibber beta is http://gibber.mat.ucsb.edu. The older "stable" version is at http://www.charlie-roberts.com.

Version 2 is currently in beta, primarily because I'm still developing the server / database backend, but also because some additions to syntax are still being made. Since almost all of these changes are in fact additions, most of the original Gibber syntax should still work.

Below is a code sample that shows off the new mapping abstractions in Gibber by mapping the the amplitude of various drum sounds to the rotation of a Cube and a shader uniform.

// alternate between 440 and 880 Hz every half note
s = Sine().play( [440, 880], 1/2 )

// add vibrato at a rate of 3 Hz and a depth of 20 Hz
s.frequency = Add( 440, Sine(3, 20)._ )

// Electronic Drum synth/sequencer
a = XOX('x*o*x*o-')

// create a cube
b = Cube()

// map the rotation of the cube
// continuously follow the amplitude of drums

b.rotation.x = a.kick.Out
b.rotation.y = a.snare.Out

// a shader that simulates film grain and video noise
f = Film()

// map the scanline count to the hihat output
f.sCount = a.hat.Out

gibber's People

Contributors

charlieroberts avatar charlieroberts-rit avatar kybr avatar

Watchers

James Cloos avatar kilfu0701 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.