/trajectories

Sound-spatializing trajectories with doppler & binaural things for composers and producers

Primary LanguageMax

trajectories

spatial approach to rhythmic contours

This repository contains:

  • electron app for path authoring
  • max patch for applying the movement to a set of audio files

Electron app: visual indication of paths (trajectories) and dynamics of motion (rests, accelerations).

Trajectories exports a single multichannel wav file containing:

  • doppler -- pitch-shift curve data according to doppler effect
  • distance -- square law for distance-based attenuation
  • azimuth -- angle from listener, normalized to be 0 to 1 for 360 degrees
  • panning -- normalized L-R panning for exaggeration (0..1)
  • velocity -- average is set to 0, accelerations & decelerations are mapped to [0..1] and [0..-1], respectively

dependencies

javascript

  • global (system) level:
    • node
    • npm
    • bower
    • coffee-script
    • electron

for global dependencies on OSX:

if you don't have node:

brew install node

after getting node:

sudo npm install -g coffee-script electron bower

for everything else:

npm install --only=prod
bower install

build on osx:

./make.sh

run:

electron .

max