Stormworks: Build and Rescue

Stormworks: Build and Rescue

Ponys Microcontroller Tools - Music Box
32 条留言
pierce20119376 10 月 22 日 下午 6:23 
Could you make a version that outputs audio if possible, i would enjoy if i could play it through
my 1km large megaphones
chouchydog 2024 年 5 月 6 日 上午 5:28 
better late than never with an answer but thank you for answering it nonetheless
CrazyFluffyPony  [作者] 2024 年 5 月 5 日 下午 11:47 
the technical direction of the game and some tense situations with the devs
chouchydog 2024 年 5 月 1 日 上午 7:08 
i am curious why is it you stopped playing the game?
CrazyFluffyPony  [作者] 2024 年 2 月 3 日 上午 10:12 
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 2024 年 2 月 1 日 上午 5:25 
How do I change the code?
CrazyFluffyPony  [作者] 2024 年 2 月 1 日 上午 1:56 
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 2024 年 1 月 26 日 上午 4:57 
Is it possible to make a delay of 0 ticks between notes and a note longer than 1?
Captain Jack Sparrow 2024 年 1 月 4 日 下午 12:44 
can someone do pirates of the carribean on this?
secord78 2023 年 11 月 21 日 下午 9:48 
ok
fid 2023 年 7 月 11 日 下午 8:36 
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! 2023 年 4 月 28 日 上午 11:00 
please make a never gonna give you up version, it would be hilarious
acemaster06 2023 年 1 月 8 日 下午 5:16 
Yes please, I would love that.
CrazyFluffyPony  [作者] 2023 年 1 月 8 日 下午 2:28 
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 2023 年 1 月 8 日 上午 7:09 
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  [作者] 2022 年 8 月 21 日 上午 7:27 
Sure, program it and i will put a link into my description
kenhudak88 2022 年 8 月 12 日 上午 11:02 
nice. but why not let it be made from a screen?
CrazyFluffyPony  [作者] 2022 年 7 月 18 日 上午 2:17 
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 2022 年 7 月 17 日 下午 6:02 
can you make it work with steam whistles
fid 2022 年 6 月 17 日 下午 12:40 
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  [作者] 2022 年 6 月 17 日 上午 12:53 
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 2022 年 6 月 16 日 下午 1:10 
(the song part is literally around 4644 characters long)
fid 2022 年 6 月 16 日 下午 12:55 
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  [作者] 2022 年 6 月 16 日 上午 6:48 
@iiBerlin sure! My copyright is as follows: NONE
do whatever you like with my workshop items. Cheers
fid 2022 年 6 月 15 日 下午 6:56 
Can I put a song on the workshop? (of course, with this microcontroller)
RandomGuy0400 2022 年 3 月 22 日 下午 12:45 
Finally: Rick Roll in Stormworks
surativefire 2020 年 6 月 8 日 上午 10:15 
thats really cool ill send this to baboshka
Mr Lennyn 2020 年 5 月 24 日 上午 4:32 
Thanks! That's really helpful. I'm loving this thing
CrazyFluffyPony  [作者] 2020 年 5 月 24 日 上午 3:32 
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 2020 年 5 月 23 日 下午 6:18 
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  [作者] 2020 年 5 月 23 日 下午 2:52 
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 2020 年 5 月 23 日 上午 8:55 
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.