PageSourceSearch

https://creativecodingstrudel.vercel.app/_app/immutable/nodes/4.Cg2BRBrA.js

js creativecodingstrudel.vercel.app collected 2026-10-03 06:25:51 UTC 1,505 bytes, 5 lines download raw bytes

1import{i as m,j as l,a as d,e,k as u,b as h}from"../chunks/disclose-version.DJkIE14k.js";import{p as g,a as v}from"../chunks/runtime.6s3s3ArT.js";import{S as c,a as f,V as x,d as w}from"../chunks/strudel.BeNTML83.js";var H=h(`<div><!> <div id="pingpong1"><p>1. Just for fun, here is a strudel-program using all of the techniques we learned at the
2			"sound( )"-page. It contains 5 different examples which takes the previous example and adds
3			something to it. To run each example, remove the <b>'//'</b> in front of each row of text.</p> <ol><li>The first example plays 4 <b>B</b>ass<b>D</b>rums.</li> <li>The second uses sub-patterns to play a <b>B</b>ass<b>D</b>rum and a <b>S</b>nare<b>D</b>rum
4				at the same time.</li> <li>Adding <b>H</b>i<b>H</b>ats between the other drums from the above example.</li> <li>Adding even more <b>H</b>i<b>H</b>ats, now using sub-patterns to play at the same time as
5				the <b>B</b>ass<b>D</b>rum <b>S</b>nare<b>D</b>rum.</li> <li>This last example is the most complex, repeating some drums with the <b>'*'</b>, and even making sub-patterns WITHIN sub-patterns!</li></ol> <p>The possibilities are endless!</p></div> <!> <!></div>`);function S(a,n){v(n,!1);const o=w.pingpong,t={cmd:[],stx:[]};m();var s=u(a,!0,H),i=d(s),p=e(e(i,!0)),r=e(e(p,!0)),b=e(e(r,!0));c(i,{pageid:"pingpong",numExamples:1,extras:[]}),f(r,{title:"sound()",get url(){return o[0]},height:800}),x(b,{get commands(){return t.cmd},get syntaxes(){return t.stx}}),l(a,s),g()}export{S as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.