Skip to content

Commit

Permalink
replacement of es5 functions to es6 classes feat p5.Phrase , p5.Part …
Browse files Browse the repository at this point in the history
…,P5.Score (#538)
  • Loading branch information
endurance21 authored Aug 29, 2020
1 parent df1ffef commit 0c3ce50
Show file tree
Hide file tree
Showing 2 changed files with 324 additions and 309 deletions.
10 changes: 8 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,26 @@ import './reverb';
import Metro from './metro';
p5.Metro = Metro;

import './looper';

import { Phrase, Part, Score } from './looper';
p5.Phrase = Phrase;
p5.Part = Part;
p5.Score = Score;


import SoundLoop from './soundLoop';
p5.SoundLoop = SoundLoop;


import Compressor from './compressor';
p5.Compressor = Compressor;



import peakDetect from './peakDetect';
p5.peakDetect = peakDetect;



import SoundRecorder from './soundRecorder';
p5.SoundRecorder = SoundRecorder;

Expand Down
Loading

0 comments on commit 0c3ce50

Please sign in to comment.