Giter Site home page Giter Site logo

karnpapon / memas Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 3.54 MB

MeMaS, (/'mɛm-məs/) (MEta-Manifold Audiovisual System) is a set of tools for live-performance utilising computer vision with corpus-based concatinative synthesis

C++ 17.35% C 61.05% Python 15.50% SuperCollider 6.11%

memas's Introduction

MeMaS

MeMaS, (/'mɛm-mə/) (MEta-Manifold Audiovisual System), a set of tools for exploring a connection between image and sound, utilising computer vision with corpus-based concatinative synthesis

clone repo with submodule (memas_sc)

git clone --recurse-submodules https://github.com/karnpapon/MeMaS

folder structure

  • /memas_sc: a SuperCollider extension.
  • /python_cam_tracker: a Python tool for tracking target by OpenCV
  • /mapping_sounds: put any sound sources here
  • /mapping_sounds_data: a mapping_sounds's data exported after analysing with MeMaSEngine
  • /supercollider_setup: setup SC for live-performance (please install required libraries)
  • /esp32_setup: setup esp32-camera (the easiest way is using Arduino IDE)

prerequisites

some library can be installed easily with quarks

quickstart

  • cd python_cam_tracker && python3 main.py, to start ESP32-camera (default osc configs are --ip 127.0.0.1 and --port 57120)
    • it'll send osc msg (x and y coord immediately (ranges are normalized to 0.0 - 1.0) )
    • NOTE: currently osc's path is hardcoded as /test_plotter/1 (rework soon)
  • start memas_sc, by evaluating each blocks in memas_sc/sc_init.scd
    • OPTIONAL: memas_sc/ndef.scd should run after memas_sc/sc_init.scd is done.
  • click OSC button in SuperCollider's window (MeMasEngine) to start receiving osc msg from ESP32
  • for step-sequencer please see anu

notes

  • export PYTHONPATH=., expose port so python can find relative path
  • python3 algo/warp_perspective_video.py --video resources/pp2.mp4, test example

resources

memas's People

Contributors

karnpapon avatar

Stargazers

Poom Yimyuean avatar Wasawat Somno avatar

Watchers

 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.