Skip to content

Commit

Permalink
rename sndcore module as audiocontext
Browse files Browse the repository at this point in the history
  • Loading branch information
therewasaguy committed Jun 15, 2018
1 parent f14890c commit 80c3d54
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = function(grunt) {
'Tone' : 'node_modules/tone/Tone',
'automation-timeline': 'node_modules/web-audio-automation-timeline/build/automation-timeline-amd',
'panner' : 'src/panner',
'sndcore': 'src/sndcore',
'audiocontext': 'src/audiocontext',
'master': 'src/master',
'helpers': 'src/helpers',
'errorHandler': 'src/errorHandler',
Expand Down
4 changes: 2 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

define(function (require) {

var p5SOUND = require('sndcore');
require('master');
require('audiocontext');
var p5SOUND = require('master');
require('helpers');
require('errorHandler');
require('panner');
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion src/gain.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

define(function (require) {
var p5sound = require('master');
require('sndcore');

/**
* A gain node is usefull to set the relative volume of sound.
Expand Down
7 changes: 3 additions & 4 deletions src/reverb.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
define(function (require) {
var CustomError = require('errorHandler');
var Effect = require('effect');
require('sndcore');

/**
* Reverb adds depth to a sound through a large number of decaying
Expand All @@ -14,9 +13,9 @@ define(function (require) {
* extends p5.Reverb allowing you to recreate the sound of actual physical
* spaces through convolution.
*
* This class extends <a href = "/reference/#/p5.Effect">p5.Effect</a>.
* Methods <a href = "/reference/#/p5.Effect/amp">amp()</a>, <a href = "/reference/#/p5.Effect/chain">chain()</a>,
* <a href = "/reference/#/p5.Effect/drywet">drywet()</a>, <a href = "/reference/#/p5.Effect/connect">connect()</a>, and
* This class extends <a href = "/reference/#/p5.Effect">p5.Effect</a>.
* Methods <a href = "/reference/#/p5.Effect/amp">amp()</a>, <a href = "/reference/#/p5.Effect/chain">chain()</a>,
* <a href = "/reference/#/p5.Effect/drywet">drywet()</a>, <a href = "/reference/#/p5.Effect/connect">connect()</a>, and
* <a href = "/reference/#/p5.Effect/disconnect">disconnect()</a> are available.
*
* @class p5.Reverb
Expand Down
1 change: 0 additions & 1 deletion src/soundRecorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ define(function (require) {

// inspiration: recorder.js, Tone.js & typedarray.org

require('sndcore');
var p5sound = require('master');
var ac = p5sound.audiocontext;

Expand Down
1 change: 0 additions & 1 deletion src/soundfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

define(function (require) {

require('sndcore');
var CustomError = require('errorHandler');
var p5sound = require('master');
var ac = p5sound.audiocontext;
Expand Down

0 comments on commit 80c3d54

Please sign in to comment.