Stormworks: Build and Rescue

Stormworks: Build and Rescue

Ponys Microcontroller Tools - Music Box
31 Comments
chouchydog 6 May, 2024 @ 5:28am 
better late than never with an answer but thank you for answering it nonetheless
CrazyFluffyPony  [author] 5 May, 2024 @ 11:47pm 
the technical direction of the game and some tense situations with the devs
chouchydog 1 May, 2024 @ 7:08am 
i am curious why is it you stopped playing the game?
CrazyFluffyPony  [author] 3 Feb, 2024 @ 10:12am 
im sorry that i can not really help you. i am not playing the game anymore so i cannot write and test the code. But you can try to ask in the #lua chat of the official Stormworks Discord
EdrionBaton 1 Feb, 2024 @ 5:25am 
How do I change the code?
CrazyFluffyPony  [author] 1 Feb, 2024 @ 1:56am 
the way it is implemented right now, minimum delay is 1 tick, but you could adjust the code to do it.
You can however have a note longer then 1
EdrionBaton 26 Jan, 2024 @ 4:57am 
Is it possible to make a delay of 0 ticks between notes and a note longer than 1?
Captain Jack Sparrow 4 Jan, 2024 @ 12:44pm 
can someone do pirates of the carribean on this?
secord78 21 Nov, 2023 @ 9:48pm 
ok
fid 11 Jul, 2023 @ 8:36pm 
by the way, for anyone curious, if you wanna fix it just put a capacitor in between the composite read logic gate and the note itself. there are more complex ways to fix this that I don't exactly want to explain here
Titanic Stuff, And More! 28 Apr, 2023 @ 11:00am 
please make a never gonna give you up version, it would be hilarious
acemaster06 8 Jan, 2023 @ 5:16pm 
Yes please, I would love that.
CrazyFluffyPony  [author] 8 Jan, 2023 @ 2:28pm 
Hey, i am not playing the game anymore, if you or someone else wants to fix it, i am happy to link the fixed vehicle on this page.
acemaster06 8 Jan, 2023 @ 7:09am 
I have been using this for a while now, and have found that it is an excellent tool in making cool environments in this game. But I would like to say that as of the new buzzer update, it is now broken, and I cannot get it to work. I thought I would just say something if you had not noticed, as this is one of your older microcontrollers.
CrazyFluffyPony  [author] 21 Aug, 2022 @ 7:27am 
Sure, program it and i will put a link into my description
kenhudak88 12 Aug, 2022 @ 11:02am 
nice. but why not let it be made from a screen?
CrazyFluffyPony  [author] 18 Jul, 2022 @ 2:17am 
I don't know how the steam whistles work. But you have to get the conversion from pitch level to note. Then you can adjust it yourself
Rotary Media 17 Jul, 2022 @ 6:02pm 
can you make it work with steam whistles
fid 17 Jun, 2022 @ 12:40pm 
Thank you, worked. Originally, the minifier didn't work, but I replaced all the tones with variables (it didn't work so well with lengths) and I was able to shorten it to 4033/4096 characters total which feels like a miracle.
CrazyFluffyPony  [author] 17 Jun, 2022 @ 12:53am 
Did you try to minify it ( https://lua.flaffipony.rocks/)?

if that is not enough, replace tones and tone lengths with variables
Example:
a = "a"
_14 = 1/4

song = {{a,_14}}


then use the minifier again.
fid 16 Jun, 2022 @ 1:10pm 
(the song part is literally around 4644 characters long)
fid 16 Jun, 2022 @ 12:55pm 
That is very cool.. but.. err.. I made a song so long that it doesn't fit in the microcontroller. What should I do?
CrazyFluffyPony  [author] 16 Jun, 2022 @ 6:48am 
@iiBerlin sure! My copyright is as follows: NONE
do whatever you like with my workshop items. Cheers
fid 15 Jun, 2022 @ 6:56pm 
Can I put a song on the workshop? (of course, with this microcontroller)
RandomGuy0400 22 Mar, 2022 @ 12:45pm 
Finally: Rick Roll in Stormworks
surativefire 8 Jun, 2020 @ 10:15am 
thats really cool ill send this to baboshka
Mr Lennyn 24 May, 2020 @ 4:32am 
Thanks! That's really helpful. I'm loving this thing
CrazyFluffyPony  [author] 24 May, 2020 @ 3:32am 
The number sets the length of a full note in ticks.

Calculate bpm to ticks per full note:
ticks per full note = (1/((bpm/4)/60)) / 0.0167

128 bpm = 112 ticks per full note
60 bpm = 239 ticks per full note

I guess i will add a property toggle so you can choose between bpm and ticks per second speed control ;)
Mr Lennyn 23 May, 2020 @ 6:18pm 
I've been getting the hang of it, but I have another question: How does the numerical input work for tempo, how do i get, lets say, 60/bpm, if possible?
CrazyFluffyPony  [author] 23 May, 2020 @ 2:52pm 
faster then 1/4?

you can therotically choose any length. But the minimum is the length of the buzzer sound, Else it will sound akward.
Mr Lennyn 23 May, 2020 @ 8:55am 
This is pretty awesome. I'm playing with it now. I'm not sure how to get the tempos right tho, is there a way to go faster than 1/4? I'm very confused. Nice work tho.