mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-05 14:58:03 -04:00
test new pianoroll
This commit is contained in:
+21
-3
@@ -81,6 +81,13 @@ import ImgTile from './ImgTile';
|
||||
<MaxiRepl
|
||||
canvasHeight={600}
|
||||
code={[
|
||||
'"c3 d3".pianoroll()',
|
||||
`stack("<d2 g2 c2@2>",
|
||||
"<[f3,c4] [f3,b3] [e3,b3]@2>"
|
||||
.early(1/4).struct("x(3,8)".slow(2)))
|
||||
.transpose("<0 1>/4".early(1/4))
|
||||
.tone((await piano()).toDestination())
|
||||
.pianoroll({overscan:2})`,
|
||||
`"0 4 <5 7> 2"
|
||||
.off(1/16,add(5))
|
||||
.echo(4,.125,.7)
|
||||
@@ -90,7 +97,7 @@ import ImgTile from './ImgTile';
|
||||
))
|
||||
.slow(4)
|
||||
.tone((await piano()).toDestination())
|
||||
.pianoroll({background:'transparent'})
|
||||
.pianoroll({ from: -3, to: 3 })
|
||||
`,
|
||||
`samples({
|
||||
clubkick: 'clubkick/2.wav',
|
||||
@@ -112,6 +119,17 @@ stack(
|
||||
.tone(metal().set(adsr(0,.06,0,0)).chain(vol(0.5),out()))
|
||||
)
|
||||
// by yaxu`,
|
||||
`"c3 d3 eb3 g3".iter(4).every(3,x=>x.transpose(7))
|
||||
.superimpose(
|
||||
x=>x.late(1/8).transpose(7).color('white'),
|
||||
x=>x.late(1/4).transpose(12).color('yellow'),
|
||||
)
|
||||
.velocity(rand.range(.5,1))
|
||||
.legato(rand.range(.5,2).slow(2))
|
||||
.slow(2)
|
||||
//.degradeBy(.2)
|
||||
.tone((await piano()).toDestination())
|
||||
.pianoroll({minMidi:40,maxMidi:80})`,
|
||||
]}
|
||||
/>
|
||||
|
||||
@@ -122,8 +140,8 @@ stack(
|
||||
|
||||
<div className="text-left">
|
||||
|
||||
- 💻 Studied Computer Science and Media in Stuttgart, working as a software developer by day
|
||||
- 🎺 Trumpet Player, studied Jazz and Popular Music in Mannheim
|
||||
- 💻 Studied Computer Science and Media, working as a software developer by day
|
||||
- 🎺 Trumpet Player, studied Jazz and Popular Music
|
||||
- 🎤 Dilettante Music Producer of all kinds of genres
|
||||
- 💿 ocassionally publishes music with Lui Mafuta & Puste
|
||||
- 🔌 Modular Synth & Electronics Lover, Dilettante DJ ..
|
||||
|
||||
Reference in New Issue
Block a user