No Description

Matthias Wagner 3ef295b5b8 added window numbers as roman numerals 3 years ago
ApproxPi_SingleWindow.cpp 3f0a8978dd Renamed ofAppPi->ApproxPi_SingleWindow. Made refactoring and changes accordingly. Added comments. 3 years ago
ApproxPi_SingleWindow.h 3f0a8978dd Renamed ofAppPi->ApproxPi_SingleWindow. Made refactoring and changes accordingly. Added comments. 3 years ago
PiApproximator.cpp 7eb989db13 Multichannel, single window application done. Bugs in OSC control. Need to abstract END time and N channelsto a run-time setting. 3 years ago
PiApproximator.h 3f0a8978dd Renamed ofAppPi->ApproxPi_SingleWindow. Made refactoring and changes accordingly. Added comments. 3 years ago
PiSettings.h 52219f20b4 gui integrated into single window app 3 years ago
README.md 467c5c5e59 Minor update readme 3 years ago
SquareOsc.h d96a9fae09 Renaming and reorganizing phase 1 -- basic 3 years ago
ofApproxPiSetupGUI.cpp 3f0a8978dd Renamed ofAppPi->ApproxPi_SingleWindow. Made refactoring and changes accordingly. Added comments. 3 years ago
ofApproxPiSetupGUI.h 3f0a8978dd Renamed ofAppPi->ApproxPi_SingleWindow. Made refactoring and changes accordingly. Added comments. 3 years ago
ofPiApproximator.cpp 3ef295b5b8 added window numbers as roman numerals 3 years ago
ofPiApproximator.h 3f0a8978dd Renamed ofAppPi->ApproxPi_SingleWindow. Made refactoring and changes accordingly. Added comments. 3 years ago

README.md

Approximating Pi

Approximating pi is a multichannel audio-visual piece written by Clarence Barlow. This repo is an implementation of this piece for a multichannel playback of arbitrary length and up to 16 channels.

The current implementation is written for Openframeworks on OSX10.11.

Usage

Clone this repo into the src directory of a fresh openframeworks project. Make sure the openframeworks project has the following addons.

Add the follwing assets to the bin/data folder:

Modify the main.cpp file to this:

#include "ofMain.h"
#include "ApproximatingPi/ApproxPi_SingleWindow.h"

int main( ){
    ofSetupOpenGL(ApproxPi_SingleWindow::defaultWindowWidth(), ApproxPi_SingleWindow::defaultWindowHeight(), OF_WINDOW);
    ApproxPi_SingleWindow* app = new ApproxPi_SingleWindow();
    ofRunApp(app);
}

Note: This app also requires that the assets are bundled within the Contents/Resources/data folder of the built app. You can either move it manually, or use a script to do this automatically on every build.

In XCode, you would typically add this line to the end of the run script within the Build Phases tab to achieve this.

cp -r bin/data "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Resources";

Authors:

-Akshay Cadambi (akshay19.92 at g-mail dot com)
-Matthias Wagner (Github: matzewagner)
For: Clarence Barlow.
Last performed: March 28 2016 at SBCAST, Santa Barbara (6 Channel, 2 hour version)