Posted 03 November 2012 - 06:40 AM
I have been working on a music machine using noteblocks and bundled cables. However, as it seems, i am unable to send redstone signals that are within 0.2 seconds of each other without randomly missing a few of them. The program is built up by functions like this one.
There are 25 of these functions. One for each noteblock. However, if i lower the sleep time between changing bundled outputs, it starts to loose notes. Aparently the redstone signals does not update very often, and i have to wait for each signal to update in order to start a new one.
Does anyone know a way to get past this problem? Its really hard to make good music if the minimum tone length is 0.2 seconds…
local function F(time)
rs.setBundledOutput("back",colors.orange)
sleep(time-0.1)
rs.setBundledOutput("back",0)
sleep(0.1)
end
There are 25 of these functions. One for each noteblock. However, if i lower the sleep time between changing bundled outputs, it starts to loose notes. Aparently the redstone signals does not update very often, and i have to wait for each signal to update in order to start a new one.
Does anyone know a way to get past this problem? Its really hard to make good music if the minimum tone length is 0.2 seconds…