Skip to content

Music at hack4play with strudel.cc

Posted on:
less than a minute

This document is a work in progress.

ThereIsNoPassword

Use my talk at IndiaFOSS last year as a reference.

  1. What kind of music do you listen to?
  2. What programming experience do you have? Does it matter?
  3. What do you expect to leave with after this workshop?
  4. Do we have time to jam? Use flok locally pnpx [email protected] if we get the time.

Should we turn this sad tune to upbeat dance music?

  1. What is that initHydra()?

Samples 101

Samples again (?)

Try some of these

$: s("bd bd cp@2")
$: s("bd hh bd hh")
_$: s("bd*4\)
_$: s("hh*8")
_$: ("~ sd")
$: s("bd sd [~ bd] sd, hh*6").bank("RolandTR909")

Glossary

To set a specific bpm, use setcpm(bpm/bpc) bpm: the target beats per minute, bpc: the number of perceived beats per cycle. setcpm(110/4) s("bd sd bd rim, hh*8") could be interpreted as 4/4 time with a tempo of 110bpm.

Tempo is based on perception. The choice of sounds also has an impact on the tempo feel. This is why the same CPM can produce different perceived tempos.

Playing more than one note at a time is generally called a chord. Notes are discernible sounds.

Slow down using /, Alternate using <>, Elongate using @, Replicate using ! , Parallel using ,, Speed up using *, Sub-sequence using [], Rest using ~.

Filters help shape a sound

bd = bass drum, sd = snare drum, rim = rimshot, hh = hihat, oh = open hihat, lt = low tom, mt = middle tom, ht = high tom, rd = ride cymbal, cr = crash cymbal, cp = clap