GithubHelp home page GithubHelp logo

improv-analysis's Introduction

Improv Analysis

Interactive visualisation for Rodrigo Constanzo's improvisation self-reflection framework.

Contents

  • a Wordpress plugin to store improv analyses in a database
    • mostly written in PHP/MySQL, but uses $wpdb object & hides behind the Wordpress login
  • a standalone PHP script to dump out analyses as JSON
  • analysis visulation
    • written in JS

Install

Wordpress plugin

  • get plugin files to Wordpress install
    • e.g. cp -r plugin/ $WORDPRESS_PATH/wp-content/plugins/improv-analysis-2.0
    • OR ln -s ~user/improv-analysis-2.0/plugin $WORDPRESS_PATH/wp-content/plugins/improv-analysis-2.0
  • enable plugin
  • go to the "install" page of the plugin & create the tables!

Standalone PHP script

  • create plugin/db_config.php from the template in plugin/db_config_sample.php

Analysis visualisation

Datafiles

  • audio file readable by Web Audio API in your browser of choice (eg. MP3)

CSV file - improv analysis format

"time","streamid","comment"
00:02.000,3,"Rhythm not responding like I would like. Adjust."
00:04.000,3,"Rhythm density to liking, prepare to play percussion."
00:06.000,1,"Reset mind."
  • time is mm:ss.0000
  • streamid is
    • 1: Material
    • 2: Formal
    • 3: Interface
    • 4: Interaction

CSV file - Reaper format

#,Name,Start
M1,Not Sure what to do,0:01.729
M2,Initial hesitation,0:02.716
M3,"Impulsive start (Inner monologue: ""Just GO, FFS"")",0:03.500
  • time is mm:ss.0000

Licence

  • New code: Not known...
  • Portions written by oncletom under unknown licence

References

d3

charts

data processing

time formats

js range sliders

waveform-view

html5 audio playback

improv-analysis's People

Contributors

madwort avatar rconstanzo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

improv-analysis's Issues

Time display is incorrect

Zoom bars & waveform hover both display incorrectly calculated timestamp. Probably due to calculation being hardcoded for old 960px wide display & not adjusted for new 500px wide display.

wget should grab all necessary resources

Necessary resources (mp3/csv) files are loaded by javascript, which works ok in a browser but if you wget an analysis page it does not execute the javascript so does not archive these files.

zoom=true does not display correct file/data

zoom=true displays default (Everything (1a)) play/zoom bar no matter what data is loaded.

[improv-analysis unique_name="analysis2" audio_url="http://www.rodrigoconstanzo.com/analyses/Everything 1b.mp3" data_url="http://www.rodrigoconstanzo.com/analyses/Everything 1b.csv" audio_length="165.887" left_bound="0" right_bound="165.887" bubble_chart=true waveform=true zoom=true]

Waveform rending bug in safari - analysis rod1

For some reason this analysis:
http://rodrigoconstanzo.com/analyses/?q=rod1

Only renders the first 40seconds of the image in Safari 9.02, whereas Firefox 39 renders the whole thing correctly.

I've emptied cache, and tried it on multiple computers, and still nothing.

waveform zoom not working with left/right bound

Using following shortcode still shows complete waveform display.

[improv-analysis unique_name="analysis13" audio_url="http://www.rodrigoconstanzo.com/analyses/PA 1.mp3" data_url="http://www.rodrigoconstanzo.com/analyses/PA 1.csv" audio_length="363.408" left_bound="82" right_bound="96" waveform=true bubble_chart=true activity_log=true]

Create bulk upload for analysis database

id name title display title date filmed date analyzed duration id instruments performers analysis linked to type stream meth. comments keywords media url direct link
  Rodrigo Constanzo Everything. Everything at once. Once. (1a) Constanzo - Everything at once. (1a) 28 October 2013 29 October 2013 209.629 1a drums + electronics 1   improvisation 1 Analysis created before system conceived. ciat-lonbarde, drums, percussion, synth, dmx, light https://www.youtube.com/watch?v=i3tYa2N9fm4 http://rodrigoconstanzo.com/analyses/?q=1a
  Rodrigo Constanzo Everything. Everything at once. Once. (1b) Constanzo - Everything at once. (1b) 28 October 2013 30 October 2013 165.887 1b drums + electronics 1   improvisation 1 Analysis created before system conceived. ciat-lonbarde, drums, percussion, synth, dmx, light https://www.youtube.com/watch?v=1FKE3D7swWY http://rodrigoconstanzo.com/analyses/?q=1b

activity log not working with left/right bound

The following shortcode shows complete activity log regardless of the bounding.

[improv-analysis unique_name="analysis13" audio_url="http://www.rodrigoconstanzo.com/analyses/PA 1.mp3" data_url="http://www.rodrigoconstanzo.com/analyses/PA 1.csv" audio_length="363.408" left_bound="82" right_bound="96" waveform=true bubble_chart=true activity_log=true]

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.