Is it possible to make a "Polyrhythm"?

I was curious if it was possible to create something like this provided in this video: https://www.youtube.com/watch?v=lsAlFKXAMjM

Tried to look for examples but never knew the actual name of what this type of thing is called and was wondering if said thing was possible to make in roblox? Just thought it’d be fun to try out. :slight_smile:

Hello there!

I think you could do it with a for loop, chanching the wait time for playing a sound based on the i variable
I think is better to show it than explain

local Timer = 1
local TimeDifference = 0.1
local SoundQuantiry = 10

local function MakeSound(Time, Pitch)

while true do

Sound.Pitch = Pitch

Sound:Play() -- Never worked with sounds, don't know if thats the way to play

task.wait(Timer + Time)

end

end

For i = 0, SoundQuantity, 1

task.spawn(TimeDifference * i, i)

end

Edit: Added a loop to make the sound and changed the “Add 10 different sound samples to” just change the pitch lol

Hope it helps :wink:

Sorry for the late reply, this looks sick! I’ll try it out thank you so much!

1 Like