Nocturnally Psychologizing Millipede
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

deriveur

0.0.10 • Public • Published

Geolocalised audio mixing

npm i

Depends on sono audio library. Have sono loaded on the window

let _deriveur = new Dervieur(layerData, locationData, controlOptions


layerData

like this

Reads assets from this:

"path": "../www-assets/tour/loc0/speaking/Cecile01_sleep_water_air.mp3",

Basically buckets of sound broken into layers:

speaking,music,effects

Folder structure

locationData

Lat/Lng coordinates for the geolocation to read from.

like this

controlOptions

`{ noVisualMap: true, noGeo: false, mapUpdateSpeed: 3500, filterOnlyAudioFormats: 'mp3', //Detector.IS_IOS ? 'mp3' : 'ogg', assetsUrl: REMOTE_ASSETS_DIR }

REMOTE_ASSETS_DIR is expecting https://storage.googleapis.com/samrad-alhambra/www-assets/

Keywords

none

install

npm i deriveur

Downloadsweekly downloads

0

version

0.0.10

license

none

repository

githubgithub

last publish

collaborators

  • avatar