Merge branch 'main' into atfornesmain
This commit is contained in:
commit
71b4e14dd3
17 changed files with 249 additions and 127 deletions
|
|
@ -52,11 +52,11 @@ n(pattern).scale("A:minor").piano().room(1)
|
|||
`}
|
||||
/>
|
||||
|
||||
To use hydra audio capture, call `initHydra` with `{audio:true}` configuration param:
|
||||
To use hydra audio capture, call `initHydra` with `{detectAudio:true}` configuration param:
|
||||
|
||||
<MiniRepl
|
||||
client:only="react"
|
||||
tune={`await initHydra({audio:true})
|
||||
tune={`await initHydra({detectAudio:true})
|
||||
let pattern = "<3 4 5 [6 7]*2>"
|
||||
shape(H(pattern)).repeat()
|
||||
.scrollY(
|
||||
|
|
|
|||
|
|
@ -42,6 +42,10 @@ Some amount of pink noise can also be added to any oscillator by using the `nois
|
|||
|
||||
<MiniRepl client:idle tune={`note("c3").noise("<0.1 0.25 0.5>").scope()`} />
|
||||
|
||||
You can also use the `crackle` type to play some subtle noise crackles. You can control noise amount by using the `density` parameter:
|
||||
|
||||
<MiniRepl client:idle tune={`s("crackle*4").density("<0.01 0.04 0.2 0.5>".slow(4)).scope()`} />
|
||||
|
||||
### Additive Synthesis
|
||||
|
||||
To tame the harsh sound of the basic waveforms, we can set the `n` control to limit the overtones of the waveform:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue