Skip to content

Commit

Permalink
use audio-slot/source/sample for sample node
Browse files Browse the repository at this point in the history
  • Loading branch information
mmckegg committed Feb 22, 2015
1 parent 9ae1f49 commit cec9a7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion context/sources.js
Expand Up @@ -2,7 +2,7 @@ var wrap = require('audio-slot/source')
//var crap = require('audio-slot/constant-source')

module.exports = {
sample: wrap(require('soundbank-sample')),
sample: require('audio-slot/sources/sample'),
oscillator: require('audio-slot/sources/oscillator'),
granular: wrap(require('soundbank-granular'))
}
Expand Down
2 changes: 0 additions & 2 deletions package.json
Expand Up @@ -34,11 +34,9 @@
"soundbank-delay": "^2.0.0",
"soundbank-dipper": "^0.1.2",
"soundbank-granular": "^2.0.0",
"soundbank-oscillator": "^1.1.0",
"soundbank-overdrive": "^1.0.0",
"soundbank-pitch-shift": "^1.0.3",
"soundbank-reverb": "^1.0.0",
"soundbank-sample": "^2.0.0",
"tap-tempo": "0.0.0",
"teoria": "~0.4.0",
"through": "^2.3.4",
Expand Down
8 changes: 7 additions & 1 deletion views/editor/nodes/source/sample.js
Expand Up @@ -43,10 +43,16 @@ module.exports = function(node){
flex: true
}),

Range(QueryParam(node, 'transpose'), {
ModRange(QueryParam(node, 'transpose'), {
title: 'transpose',
format: 'semitone',
flex: true
}),

ModRange(QueryParam(node, 'tune'), {
title: 'tune',
format: 'cents',
flex: true
})

]),
Expand Down

0 comments on commit cec9a7d

Please sign in to comment.