Git Product home page Git Product logo

door-sim's Introduction

README

This repository contains some files related to our work on a physical informed simulation of a door-spring system which will eventually be used to drive a procedural audio model of the creaking hinge sound.

This project contains three folders for each software we used:

  • Processing contains the files related to the first 2 Processing sketches we made;
  • PureData contains all the patches for the procedurally generated sound;
  • Godot contains the game project folder with all the scene and resources for the simulation to work;

Processing

In order to use these processing sketches you need to install Processing. You need also some additional libraries by Andreas "soyamo" Schlegel like:

  • the controlP5, for the GUI to work properly;
  • and the oscP5 library, to send messages to the PureData patch. Yuo can download and automatically install them directly from the Processing IDE (here some useful instructions).

Below are the descriptions for these two sketches:

  1. The first one (door-sim) can work as a standalone sketch (you'll only need the controlP5 library). You can play with it pressing the spacebar in order to apply a force to the door and trigger the simulation. You can move the sliders to change some values of the physics like the mass of the door, the stiffness of the spring and so on;
  2. The second one (door-sim-osc) is meant to work tandem with the associated PureData patch, to add some sounds to the simulation (read below for more detailed information). In order for the two programs to communicate with eachother you need to have also the oscP5 library.

PureData

In order to use these patches you need to have Pure Data up and running and to install some additional libraries:

  • iemnet;
  • osc by Martin Peach; If you need more information on how to install the libraries please send us a line to the info [at] limulo [dot] net.

Inside the PureData folder you will find other three subfolders:

  • for_processing : this is the patch devised to be used with the second Processing sketch (door-sim-osc). Once you opened it, click on the DSP toggle to start the audio computations and on the OSC toggle to start the communication between the patch and the _processing_sketck. Then you can play with the processing sketch the same way you did with the first one (door-sim);
  • for_heavy : this is a modified version of the previous one in order to use it with the Heavy sound tools by enzienaudio. This tools have been used to obtain a VST2 and a JavaScritp version of the patch;
  • for_godot : this is another modified version of the first patch, devised to be used with the Godot game engine (see below);

Godot

This folder contains the game project folder for a 3D version of the spring-door simulation. This game is meant to be used only for demonstrational purposes during the Game Engines and Game sounds classes.

This project has been realized with a custom modification of the Godot game engine v2.1. The custom modifications we made integrates the libpd library in order for Godot to use PureData as its optional game audio engine.

This Godot integartion project is still a work-in-progress. You can find something on this repository (you will need to clone/download it and compile Godot from the source). For more information about that please feel free to drop us a line to the info [at] limulo [dot] net.

Contacts

For more additional information about this project feel free to drop us a line to the info [at] limulo [dot] net. Enjoy!

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.