generating arhythmic patterns
I’m working on a patch that generates arhythmic but tonal music. Basically a metronome triggers a random note of a scale, creating a steady rhythm of random notes. To make the rhythm more interesting I have the note’s midi number loaded into a message but only actually triggered on 3/5 of the note.
----------begin_max5_patcher---------- 651.3oc0X0saaBCF8Z3ovBsKSmrM+DX2smiopJSvi5JhcjsSWRpZe1mwDVxV CfCMijdQLxeX974b99ASdw2KHWrgpB.eC7Cfm2K9ddVS0F71O2KXIYyhJhxt r.5tBxh2Bl0bqUD8hGY7xGjzE5F2fRS+JbFHZdh8Rb6H398OCqv5HQ9S2gws NhudIiWQ01MAevnXst0Jr13q990CybDsKoJEoj1tKZ5FKJC3BME7EzvzHLad 8kXT8HJsCZ.aczOEbMmrjZu02kLR0YPPzQNQw1YcBBa13FyMqTucEsAgAAf6 Ggjvo+xf42oHqDUaeCP2cmZKW+HHwgHL1FayrSvvSKMnzyTZPWDoQwJ4lMXT BT9ZsVv6i+gPK+gIMYHsimj+IifkuiN4Dd4EMZKMaAEf.XPHHBD2CYwMUvgP 6kz9C13yLXmbRYH4bqClcheiRs5pcQpCMJhCOjMzUiBD5yeiBIgWHVBPvgSZ vysEJI8lzjcUjDFW+ep6PK2QQC2cH851bPKJKqn8wEnMzkfaCfcGFO5EFRSP TSkOP4j7JKJgW.ZN5HVG4wFLJE.TLbX9mYazmD2G+itJowW9WL3R0cipfvYC WcG94p51rs4ToCbug0w8VR3vaC+fEK3QnKyNUViE9AUL9+9w.VIn19eKZJwZ 4hVutuKN3fHTPUZFmnYlNkGVS8wCNZQOxJJn7iYbASUKBEceZeWgSpCvIaxP ShCnIZxPSjCnIbxPSnCnY5xap+RtgyiSmN73.btsPS8QbMeXwT.GjKU43oK4 wc7LQ5iywK3zgGzMFdv2P3A4R9C71BOnjQhmlibPVs5YpTs2mVnXNQ1SB4e9 i.BLmBpYp0iAR5yr10m5W6sW8+8HRhaN -----------end_max5_patcher-----------
Is there a better way to do it? I’m asking because I’d like to not have to essentially mute some of the notes.
This sounds incredibly rhythmical. Or do you mean something else, perhaps?
How do you define arrhythmical, because this isn’t, by my definition.
If you want it really "off" you can do something like this:
----------begin_max5_patcher---------- 763.3ocyXF0aZCCDG+4vmBqn81nYwN1Fmo8v1miooJShK0UINnDSGzp1O6y1 ILnsTvgNYFOfHmM996e97cG73jn34MqEcwfuB9IHJ5wIQQNSVCQCOGEWyWWT w6bSK9lpF0p53oCCIUxZyilQRSRGLtjqKtUpVbcqnP2u1nY1gAYzzDJFmgYS ArLqEjwN3WCeQyBKUUBsySvo+06acAbOWzxqEZQ60BEedkvIfgwZVoMqgdyR QuusRlqimBhmyUKh22a8S04NzfUYoaa1L+tqfjsayaZTZkwgtg9QqjWs+Hcx Gbi.QIoVqOMYh8sodRTk32FuscA0h0NlE+E.L07JI9HTM0wvL7NpRvGmpniC o2ANvC.mrf.mhl5ZgR+F5TJTcR8l+5o1Ey8NHDO9fvWhizCfCzkLV4ylaVmN NAmMKIOKKEhsP3LiSjpwDkPujToSTAfdb8gkmfXLJkZSPclXwkZwjhYDoWtn YW9FvqLKTbRNkRPHymQIj.Dw.CBUDOTxKd9z.fjlmLKCkRLwFXh6RD4T.3j4 JPn3yPx0htN9BwaNIUMZA3SdDmionDDg.Y1xD1Ro.HazGli3jDkdICvW1Ts4 Yf3gq51nz2B7I8HijfSyYLSvdNyu5BugOcxEJy1aDw6rfPo4qz5F0Qf.j3R8 ggYITXJyVhH2kBHezL3XsYcHBPi+2cr2xUkM0.D1iy6caUJKHUCyujWHLsK2 1X5oD7cdgVduvmRinbjKOAj7QJK5OfvWR.MD5Prcc6QoQHMICgfyLgOrvD97 w5314m3Jo50+dO2dzZ+kHqqYUawVgN3dvtMXonSKUbszjUY2bfubR2JKMMpu eYvRYm82q41TG9ryW4f8PNgSMPunS3jCwS4.Cib7PMjfAGuXC8+J4jGL0P8P M1N6Bjbx8PNg6nx1r1ooCJb2q7VOggOuJv3ctZwNS8zWAiub48h1tg0zIES4 86ZZsORmNo+ekr+QWQz3Vw8xsyG6rvaMU00lR5qZ6KhtlYaB03mml7G.9fYy tA -----------end_max5_patcher-----------
your question is ambiguous; you say you want to generate arhythmic, tonal music, but your patch does the opposite– it is very atonal (aka viennese) and very rhythmic.
so going in that direction of rhythmic atonality:
----------begin_max5_patcher---------- 1372.3oc0Z01bZiCD9yjeEZX5Ls8NRG8hks4918G39CbsSGAVPbqsEijbRnc Z+se5E6.Iw.Bv3v8gZGjsj28Ye1U6tp+7lQimIdjqFC9Kv+BFM5m2LZjaH6. iZ98nwkrGmWvTtWarVrbYAe7D+ixybCJl8saIv1AqpKyqJ3Z2DPMCthIYkbM W9UdEalYELOCtYBhZ8KmgeH85Ubu7MNuROF7k10SxU7JMSmKp9pjOW6eITZ5 mfS.noP6s1KalESO+t7pkcLC+M7z1qfuXmxut4F6kIAhNKUOja9B3NvG7zNw G7QiO3cgOimX929TULF6ztHGtPbpJAehpZE+AiZ0pSZ9itOx3LYc02MeBvsI cABosCtPToqLZr6Q+sLmUzI7P1KEwtHp7e3VDjU2Bh4zAvjl3vBXj8VBxgRv SDXlKJKMLyWgLqE0f4h5hL.qPI.0JNvCVKDRPoPxAuujWHxxm+d.ewBqv0rD E4UbyLqbqSbqtKWNyQRdRs2FmS1MNC9GlTJdXudqOGtgcA2nm9t6vUjfZ7nh B1UD489RH1aT20TbOaFleGqZIGnVw4Y.wBfwoSJ.764x0.cdIGv.UBMGjq.k rLdm1.RP1f32da.lF6H1IgZBvT3mnlI3LcotIGE0yV.VgILGXFy3..z7xUBv GJUfU1w3L8GOCDm91i3zHGsE4Yug.4TB0OCmeBM4hf4k0EZvr0.UIqnfqzfr ZoSzOCzN5JfemR76nkZYsgf1DneOPRzlXL8OZyVAzBWnk74F.esMZ+h5hmPc UmvNNHXmbE.6QTKd2jyTPwUhS74kgrSzOOReGZW8c9CJfjUkIJq3Jk0F3I7R v8rhZ94.6ngD12YfYTji2l5368ctaFwNurtri71RhNx71v6M00Wn1zoTTZx9 RdaxKxgatnPH8O2XsPSigoVJXJhFmF6HijoXj4uPGHZ.0G60yNoM0NzunpmO Bh5BVw8BrhNUXcuPiOusFBGc5PCMjqXnog0fI8AzTWNiK6.APmY1LGeEk6HZ zt7HmYRj9fEjSgtsGvtxyBKeHH0OC2MJ7rPWUQdV2nazktcEaflVLEC2r0h4 aZGhB2WP+FnHF2VPp0eD16DM7+uHZuFmhP9R1IjdfxriXU+gweG1E5AOMz6n hWAOyPUMHiIgAZ+iL7GWIAqDO7A7m+7Dv6xQerq348Y5SGKJETz7otc+SnWB xyeBh6j6bMScvPeV5Qndf5v+QFa9u6pif3iPEgGTZiR72nsWOIoszT7.aI+U lQWigdGpK0.d4RWAehD6VC3TWBJTjuM28KwdknX8uA7ebqZck9NPbWj7ismu ndAZT4KqLef..nHrK6eu++I212Y0Z8l1ors9GeBZ4qTmCtGHBGu04Xzzb+S0 ccmmxS7vdHO6zlscJQmrIaWkA65HLh1UD6n2D27CZ7aPkoNJPL8RfJM0pg55 rsHuInRnaf4OUm3tcucKfqePu3XPcKnc7mCUJQsbdqDzdtmfMEzjwU57JeqU 27R1C+aqW5t7rLd01dGY4JqCiCRgcZzBUdbeJzgjmzgUdND9PFLwIJTqEZXP mz.jGzfgNjqJoIIDiUxUE0w1QuqIwY3brdgluC4I5.dVOuwtS15x1cxsGkZR nRM7JRpQgX6s8Obfr8gIOvAKpJJj8jODUrLOakvjiQSdAj3HaEv3XWcTQMIY 8re4OubbLwcFWwWFBanH8.40Gh3LbwDQgr69vgNnP1c21AjgxuHX4YfxMLD+ TzvkqZbfgMNEowWnAa0p64RUyR5DDS0Weyu6g6+ZW1SFv+SW8Pik76yae+H2 HLooRGsoLmZouPqGSiGei867qa9O.VV5p4B -----------end_max5_patcher-----------
well, technically all the patches in this thread are still *chromatic*, we’ve just offset ours a bit and avoided large intervals.
Sorry, should have explained this better in my initial post. The patch I’m building takes in wind speed data in a 1-360 int, and a different scale is triggered by each 90 degrees (the patch I included is just an example I made to outline the method I’m using. the actual patch is tonal). The tempo varies according to wind speed data (which is why I’m using the metro) and I want the rhythm I generate to sound random and not like straight metronome beats. Basically I guess I’m looking for a way to take in metronome beats and spit them out at irregular intervals. Thanks for the suggestions.
Rand~ is a sample and glide lfo that changes target points at the specified frequency. To convert your metro speed to frequency you can use !/ 1000. or translate @in ms @out Hz. You may need to adjust the ranges, but it will give you a locally unevenly distributed rhythm. If you want it more evenly distributed you can blend in a sine wave.
>Basically I guess I’m looking for a way to take in metronome beats and spit them out at irregular intervals.
but…why? I mean, if you’re randomizing the intervals, then why use the interval at all?
you can feed the metro object with new interval values while it’s running.
it sounds like you just need to scale wind speed to usable time values.?
@wetterberg — I guess this needs a bit more explanation. What I’m making is an interactive installation that pulls in all different kinds of lake data (including but not limited to wind speed and direction) and sonifies it. motion sensors on site at the installation determine the pace at which the data is read – ie, the number of people present and the amount they move speeds up and slows down the sounds accordingly. The only way I could think of setting this up was to have cv generate a number which is scaled and sent to the metronome, which then triggers the notes. It’s functioning at the most basic level right now, which is spitting out a constant, accelerating/decelerating stream of notes while skipping randomly to generate a semblance of "rhythm". In the interest of time, I’m trying to find a solution involving the metronome so that I don’t have to change the fundamental structure of the patch. However I’m open to anything and out of curiosity want to see if there’s any other ways to do what I’m aiming for regardless of what objects are used. Thanks again for the suggestions, I’ve been busy and haven’t had time to try any out but will soon and I’ll post some results.
With so many data factors that are constantly changing it seems to me it wouldn’t be necessary to use random generators at all. Maybe just some math and > < would make it more organic yet still feel "random"
Also, generating random numbers and then "muting" some of those numbers doesn't seem like a bad way of going about it at all.
I’d say take away all randomness; if you’re sonifying a dataset, then randomizing over it just negates the whole thing.
I mean, in the interest of time, you could just do metro->random->the same metro and be done with it.
instead of metro, you can also use a [del] with feedback loop.