2.3.1 • Published 9 years ago

soundbank-slot-editor v2.3.1

Weekly downloads
26
License
ISC
Repository
github
Last release
9 years ago

soundbank-slot-editor

Visual node editor for soundbank audio-slots.

Used as the sound editor in Loop Drop.

Install

$ npm install soundbank-slot-editor

TODO

Currently only allows the predefined set of sources, processors, modulators from Loop Drop. Needs to be user definable, or get available nodes automatically from AudioContext.

API

var SlotEditor = require('soundbank-slot-editor')
var element = document.getElementById('SlotEditor')

var soundbank = INSTANCE_OF_SOUNDBANK

var currentId = null
var editor = SlotEditor(audioContext, element)

function editSlot(id){
  var descriptor = soundbank.getDescriptor(id)
  editor.set(descriptor)
  currentId = id
}

editor.on('change', function(descriptor){
  soundbank.update(descriptor)
})

editSlot(0)
2.3.1

9 years ago

2.3.0

9 years ago

2.2.0

9 years ago

2.1.2

9 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.0

9 years ago

1.2.0

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago