Giter VIP home page Giter VIP logo

pineal's Introduction

Pineal

screenshot

An engine for graphic live-coding on an audio stream, something between Fluxus and Processing, but in Python!
(ok that's not true, it was in Python, now it is mainly in a pythonic Lisp dialect)

Example

(osc-source amp  "/amp")
(osc-source bass "/bass")
(osc-source high "/high")


(stroke-weight 4)

(on my-layer
    (fx [(scale (amp 1 1))]
        (draw my-layer))

    (fx [(scale (amp 4))]
        (pwired 4 [0 1 1 1])
        (psolid 4 [0 0 0 0.1]))

    (fx [(scale (bass 2))]
        (pwired 4 [0 1 0 1])
        (psolid 4 [0 0 0 0.1]))

    (fx [(scale (high 4))]
        (pwired 4 [1 1 1 1])
        (psolid 4 [0 0 0 0.1])))

(draw my-layer)

Screenshots

Some screenshots

Instructions

WARNING: pineal require Jack up and running, so install and confugure it before everything else

  • If you want to use pineal to "hear" audio from your pc, setup jack to create monitor input ports
  • Play your music
  • Create a file where write your visuals
  • Run ./run.hy yourfile.hy and connect pineal to the input source using qjackctl, claudia or something else
  • Edit your file
  • Every time you save output is updated
  • Have fun!

Dependencies

Make sure you are using Python 2, and install:

    hy==0.11.0
    pyglet
    watchdog
    jack-client==0.3.0
    scipy

If you have troubles installing scipy from pip you can use the one from your distribution repositories

Documentation

References are avaiable on Readthedocs

License

This project is released under the terms of GNU AGPL, see LICENSE file for details

Warning

This project is heavily in development. You can use it, I use it in "production" (coding at parties). But be prepared to continuous and unexpected changes in syntax (it's getting even more functional) and new features that randomly appear or disappear.

In case of doubt you can look at sample.hy or the examples/ folder, they should always work.

pineal's People

Contributors

edne avatar f-f avatar

Watchers

Mavitono Ultra 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.