Sound effects and Sequencing

View slides


Bubbles with sound



Sound Effect


Massive impact

starter

Rain on a tin roof

starter


Sirens

starter


Sequencing notes

  • Tone.Transport
    • start
    • stop
    • toggle
    • go between start and stop
    • seconds
    • get current position in seconds
    • position
    • get beats:bars:sixteens
    • bpm
    • beats per minute

  • schedule
  • scheduleRepeat

higher level sequencers


Event

  • abstracts away Tone.Transport.schedule and provides a schedulable callback for a single or repeatable events along the timeline
  • loop
    • true of false
  • loopEnd
  • loopStart
  • mute
    • won’t fire if mute is true

  • playbackRate
    • interval if looped
  • probability
    • add randomness to note triggered probability
  • progress
    • where are we in the loop?

[starter](https://codepen.io/lsuddem/pen/LaVvpw?editors=0011) --- ## Part * collection Tone.Events which can be started/stopped and looped as a single unit.

starter

Sequence

  • alternate notation of a part

starter

Loop

  • an event that loops by default
  • notes can not be passed in like event though
  • it’s good for looping things that aren’t note based
  • lets redo out rain example with Loop

Rain loop

starter


Pattern

  • play through note arrays like sequence or part
  • arpeggiate based on Tone.CtrlPattern type
  • see: docs
  • CtrlPattern types
    • up, down, upDown, downUp, alternateUp, alternateDown, random, randomWalk