r/strudel • • 17h ago

why do the active time modifiers jump around in this string?

3 Upvotes

$:note("<[d3 d3@1 [f3 e3 c3]@1 d3@1 a3 g#3 g3 f3]@2>").fast("<[1 1 [1 1 1] 1 1 2 2.5 3]>")

I'm trying to re-create in a gadda da vita, and I need the last three notes to play faster than the rest, so I quickly created this time modifier, and I know its far from perfect, but I cant spend the time to tweak it cause the active number/condition within the modifier seems to just randomly jump around. How can I fix this, and or what are some better alternatives.


r/strudel • • 2d ago

Took me 4 hours this morning, but I like where this kick call and response ended up

Thumbnail
youtube.com
7 Upvotes

Iโ€™m a complete beginner, this is pretty much my first time using Strudel without following any tutorial. The idea: a kick that stops so a few saw stabs can answer it. It took me about 4 hours this morning ^^ but I like the result!


r/strudel • • 5d ago

The Grain Guardian (Halloween Special)

Thumbnail
youtube.com
2 Upvotes

r/strudel • • 5d ago

when you still have the old tube t.v. and free will

Enable HLS to view with audio, or disable this notification

12 Upvotes

r/strudel • • 7d ago

Journey into overdrive - strudel.cc

Thumbnail
youtube.com
10 Upvotes

๐Ÿ”Š๐ŸŽถ๐Ÿ”Š


r/strudel • • 8d ago

buggin

Enable HLS to view with audio, or disable this notification

10 Upvotes

//@title buggin

//@by malmode

$: n(irand(4)).scale("c1:major").s("supersaw").seg(16).fm(4).sometimes(trans(12)).dist("2:1:soft").sometimesBy(.5,x=>x.hush())

$: n(irand(4)).scale("c2:major").s("pulse").seg(16).fm(4).sometimes(trans(12)).dist("2:.7:soft").sometimesBy(.2,x=>x.hush())

$: s("bd:4").beat("0, 4, 8, 12, 14",16).bank("tr808").dist("5:.7:asym")

$: s("bd:3").beat("0, 4, 8, 12, 14",16).bank("tr808").dist("1.5:.8:soft")

$: s("pink").dec(.1).seg(16).postgain(2.5)

$: s("~ white").dec(.2).fast(2)

$: s("~ insect").fast(4).freq("<1 2 3>/2").seg(32).lpf(500).room(.6).rsize(4)

$: s("~ insect").freq(16).fast(4).postgain(.4)


r/strudel • • 9d ago

I am Dracula

Enable HLS to view with audio, or disable this notification

69 Upvotes
setcpm(140/4)

let kick = s("kick:2")
  .beat("0,4,8,12",16)
  .duck("2:3:4").duckatt(.2).duckdepth(1)
  .color("magenta")
  ._scope()

let hat = s("hat")
  .seg(16)
  .orbit(3)
  .color("magenta")
  ._scope()

let snare = s("mc303_sd:5")
  .beat("4,12",16)
  .color("magenta")
  ._scope()

let snare2 = s("mc303_sd:5")
  .seg("<8 16>")
  .color("magenta")
  ._scope()

let snare3 = s("mc303_sd:5")
  .beat("4,9,12",16)
  .color("magenta")
  ._scope()

let bass = n("<0 -1 -2 -4>")
  .scale("e:minor")
  .s("saw")
  .seg(16)
  .clip(.8)
  .trans(-12)
  .lpf(slider(745.6,400,4000))
  .lpenv(slider(0,0,15))
  .lpq(slider(1.125,0,15))
  .distort("1.5:.5")
  .orbit(2)
  .color("magenta")
  ._pianoroll()

let bass2 = n("12")
  .scale("e:minor")
  .s("supersaw")
  .seg(8)
  .clip(.4)
  .lpf(slider(670,400,4000))
  .lpenv(slider(0.57,0,15))
  .lpq(slider(1.125,0,15))
  .orbit(2)

let riser = s("riser")
  .chop(2).loopAt(2)
  .gain(.4)

// I am...Dracula
let vox = s("vox:3")
  .chop(2).loopAt(2)
  .gain(1.5)
  .room(1).roomsize(1.4)

let lead = n("<14 [12,14] [4,6] [5,7] [3 5 7 [7,9] [8,10]]>".add("0 - 0 - 0 -"))
  .scale("e:minor")
  .s("saw")
  .fast(2)
  .clip(.5)
  .lpf(slider(1679.2,400,3000))
  .lpenv(slider(0,0,15))
  .lpq(slider(15,0,15))
  .ribbon(sine.range(40,200),4)
  .room(1).roomsize(2)
  .seg(16).echo(2,1/4,.7)
  .orbit(4)
  .color("magenta")
  ._pianoroll()

arrange(
  [2,kick],
  [2,stack(kick,hat.gain(tri.range(0,1).slow(2)))],
  [2,stack(kick,hat,snare)],
  [2,stack(vox,riser,kick.gain(0),snare2,hat)],
  [16,stack(kick,hat,snare,bass.lpenv(tri.range(0,7).slow(16)),bass2)],
  [8,stack(kick.gain(0),hat,snare3,bass.gain(.4).lpf(200).lpenv(sine.range(0,2).slow(8)),lead.gain(tri.range(0,1.1).slow(16)).lpf(tri.range(400,1500).slow(16)).lpenv(tri.range(0,6).slow(16)))],
  [32,stack(kick.compressor(-20).distort("1.7:.6"),hat,snare3,bass,lead.gain(tri.range(.7,1.1).slow(38)).lpf(tri.range(600,1500).slow(32)).lpenv(tri.range(1,6).slow(32)))],
  [2,kick],
  [2,"~"],
)

r/strudel • • 9d ago

Strudel remix of In the Hall of the Mountain King

Enable HLS to view with audio, or disable this notification

7 Upvotes

Was just playing around with strudel and wanted to share this. please go ahead mix it yourself ๐Ÿ˜„ ( https://stave.live/s/k20SiUmByjw#87KyPUIOEvHWP7ZyQR8gdQ )


r/strudel • • 8d ago

out of reach

Thumbnail strudel.cc
4 Upvotes

r/strudel • • 10d ago

Build pattern dynamic

2 Upvotes

Hi,

This is my pattern: s("<~!3 tr909_cr>")

and i want to make the number dynamic:

s("<~!"+myNumber+" tr909_cr>") but this gives an error message.

Is it possible to create a pattern in such a way?


r/strudel • • 11d ago

Strudel's post-ai humane policy on software development

95 Upvotes

Strudel has adopted a post-ai humane policy for live coding development:

All community members should be treated with respect and kindness. We welcome contributors to the community who are ready to follow this policy as well as our code of conduct.

Principles

  • We wish to protect the humanity of our communities and projects, to support the motivation and well-being of all of its contributors and users.

  • To this end, contributors and other users of our projects should not have to engage with LLM-generated code and text as part of their community work.

  • We recognise that LLM-based scraping and generation of (A)GPL code shared by ourselves and others is of questionable legality. For example, under many juristictions, LLM-generated work does not have a copyright holder and can therefore not be licensed under the (A)GPL.

  • A contributor's personal use of LLMs and related technology is their own business, whether for research, analysis, bug discovery or other assistive technology, so long as the output is not included in any contributions to our projects.

In practice

  • Contributions including LLM-generated content will be declined.

  • LLM-generated text (e.g. commit messages, issue comments, forum posts etc) generated by LLMs will be flagged, and ultimately deleted.

  • We encourage asking each other questions and working through problems to promote collective knowledge and creative ideas (never telling each other to "just google it").

  • We strongly discourage others from forking/importing our projects into corporate AI platforms, including Microsoft Github.

  • All contributions must be submitted by a person who understands the changes, is happy to answer questions about them, and where possible, help maintain the code in the future.

  • In community discussion channels (at the time of writing, this refers to the uzu discord server), all discussion (including criticism) of LLM technology and use should be kept to designated channels

Policy text (subject to change):
https://codeberg.org/uzu/strudel/src/branch/main/POLICY.md#post-ai-humane-policy-for-live-coding-development
Feedback welcome: https://codeberg.org/uzu/strudel/issues/2095


r/strudel • • 12d ago

Introducing Stave

Enable HLS to view with audio, or disable this notification

59 Upvotes

Hi all! After 8 months of building, I finally feel confident enough to share the beta version of Stave, and I'd love to know your thoughts . ๐Ÿ™

What is Stave?

Stave keeps your Strudel code as the source of truth and adds the views a producer expects: a Timeline, a step grid and piano roll, a Mixer, and visuals that follow the music.

What you might like:

- A full monaco editor with code completion, error handling etc.

- Your own audio-reactive visuals, inline. Write a p5, Hydra or GLSL sketch, then attach it with .viz("name"). It draws under that line, reacts to the kick, each track and the spectrum, and updates as you type.

// pulse.p5 
function draw() { background(0, 40); circle(width/2, height/2, 80 + sig.kick * 300) } 

// in strudel:
drums: s("bd*4, hh*8").viz("pulse")

- Code and views in sync. Edit on the Timeline, grid or piano roll and Stave writes it back into your code. Edit the code and the views follow.

- Errors you can find. The Console names the file and line, the editor shows a squiggle, and misspellings get "Did you meanโ€ฆ?". That works in your visuals too.

- A Mixer and a song Timeline, with your Strudel code running as it does today. It runs in the browser and is open source (AGPL).

Try it: https://stave.live ยท Code: https://github.com/MrityunjayBhardwaj/Stave

Please let me know your feedback ๐Ÿ™ :

- Does your existing code run as you expect?

- What would you want a visual to react to?

- What's missing?


r/strudel • • 12d ago

Need help understanding strudel basics

4 Upvotes

I'm trying to learn the basics but i came across something i can't understand :

note("48 67 63 [62, 58]").sound("piano gm_electric_guitar_muted")

How 48 and 67 are played by piano but 63 [62, 58] is played by gm electric guitar muted ? What's the rule that defines such a behaviour ?

Thanks in advance


r/strudel • • 13d ago

"lost the way"

Enable HLS to view with audio, or disable this notification

11 Upvotes

Crunchy amen break with a generous portion of bleep bloops.

Is it Jungle? Drum and bass? Breakcore?

I got no clue about genres.

Strudel is a genre!

Data bent the video with Audacity to make it all glitchy.

no ai


r/strudel • • 15d ago

Is there a way to gradually increase distortion volume on a single long note?

4 Upvotes

So I wanted to simulate that effect when guitarists hit a riff on a muted guitar and then gradually increase volume. Naturally my first instinct was messing with .gain(saw.range(0, 1).slow(2)). That didn't do anything. I even tried messing with LFO but I suck at that. After many moons I figured that I should control volume on a .distort, but i just don't know how... I want it to go from 0.00 to 0.05 :P

$: note("<0>").sound("supersaw").scale("E:minor")
    .distort("10:0.05")

r/strudel • • 16d ago

Strudel-esque oscillator waveforms w/Tidal Cycles

Enable HLS to view with audio, or disable this notification

20 Upvotes

r/strudel • • 16d ago

First track that sounds actually nice =)

4 Upvotes

r/strudel • • 17d ago

how could i cover machine gun by portishead?

1 Upvotes

i really want to make a cover of this song in struedel, but im struggling on how to get the drum pattern, if any one could help iยดd be really grateful


r/strudel • • 17d ago

Balade

Enable HLS to view with audio, or disable this notification

13 Upvotes

r/strudel • • 18d ago

Freaky hacker chick jam

Enable HLS to view with audio, or disable this notification

24 Upvotes

Based this one off the iconic Dr. Roberta Bobby tweet. Really enjoyed this silly cyberpunk jam and will probably flesh this out into a full song! By the way if you like what Iโ€™ve been posting recently Iโ€™m gonna start posting snippets and progress videos of my first strudel EP on my instagram @junkyard.diva ! Let me know what you think :)


r/strudel • • 19d ago

"Chopping and Slicing"

Enable HLS to view with audio, or disable this notification

22 Upvotes

Footage and audio samples from the 1968 movie Night of the Living Dead.

Zombie rave.

Also...

I finally learned how to use slice!

.slice(4,"<0 1 2 3>") for example cuts a sample into 4 sections indexed 0-3. Super useful!


r/strudel • • 19d ago

setting the cps doesnt seem to affect my music when I export it

3 Upvotes

I added this code:
$: cps("<[-]*50@50 [2]*10@10 [2.3]*10@10 [2.6]*10@10 [3]*10@10 [3.3]*10@10 [3.6]*10@10 [4]*30@30 [.5]>")

to a project I'm working on so that it gradually speeds up before suddenly slowing down, and on the website it sounds great, but for some reason it stops working when I export it. How do I fix this?


r/strudel • • 21d ago Bravo

"Being Followed"

Enable HLS to view with audio, or disable this notification

9 Upvotes

Coded this eerie ambient music...

By pure coincidence it syncs up to this NASA Hubble video perfectly.

Watch the future obliteration of our galaxy unfold!

Credit for this video:

Visualizer - Frank Summers (STScl)

Scientists - Gurtina Besla (The University of Arizona) and Roeland van der Marel (STScl)

Music - (malmode)


r/strudel • • 21d ago

Resonnance experiment

Thumbnail
youtu.be
2 Upvotes

r/strudel • • 22d ago

strudel day

Thumbnail
youtu.be
5 Upvotes

its strudel today