Skip to content

v0.14

Compare
Choose a tag to compare
@therewasaguy therewasaguy released this 23 Aug 02:05

p5.sound.js v0.14 2014-08-18

  • Recording: add p5.SoundRecorder class. SoundFile has a .saveSound() method to save as .wav
  • Sequencer: p5.Part, p5.Phrase, p5.Score, setBPM() etc (in development)
  • p5.Oscillator defauts to 0 amp (better for envelopes)
  • p5.Signal class introduced to manage .add, .mult and .scale of audio signals. p5.Oscillator and p5.Env get .add, .mult and .scale methods
  • new way to modulate: pass the oscillator or envelope as the parameter, i.e. carrier.freq(mod), or carrier.freq(mod.scale(-1, 1, 400, 600)) (converts to a p5.Signal)