Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Ponys Microcontroller Tools - Music Box
   
Award
Favorite
Favorited
Unfavorite
Microcontrollers: Microcontroller
Tags: v0.10.19
File Size
Posted
Updated
81.274 KB
8 May, 2020 @ 9:13am
24 May, 2020 @ 3:40am
2 Change Notes ( view )

Subscribe to download
Ponys Microcontroller Tools - Music Box

In 1 collection by CrazyFluffyPony
Ponys Microcontroller Tools
19 items
Description
Features
  • you define a song and necessary notes in lua
  • you can change the speed of the song and when it plays


Examples
Cantina Band https://steamproxy.net/sharedfiles/filedetails/?id=2089374021
Spongebob Campfire Song Song https://steamproxy.net/sharedfiles/filedetails/?id=2089917512

Creating your own song
Take a look at the examples to see how its done
1. Get the real notes for the song
2. Write down the notes and length that should be played into the table
song = { ... }
3. Put all the necessary notes into the table
notes = { ... }
4. place buzzers for every defined note, connect them to the composite out of the lua script, and adjust their pitch according to the following table:
https://stormworks.gamepedia.com/Wiki/Guides/Music

Collection of all the tools
https://steamproxy.net/workshop/filedetails/?id=2080346369
31 Comments
chouchydog 6 May @ 5:28am 
better late than never with an answer but thank you for answering it nonetheless
CrazyFluffyPony  [author] 5 May @ 11:47pm 
the technical direction of the game and some tense situations with the devs
chouchydog 1 May @ 7:08am 
i am curious why is it you stopped playing the game?
CrazyFluffyPony  [author] 3 Feb @ 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 @ 5:25am 
How do I change the code?
CrazyFluffyPony  [author] 1 Feb @ 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 @ 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 @ 12:44pm 
can someone do pirates of the carribean on this?
secord78 21 Nov, 2023 @ 9:48pm 
ok
iiBerlin 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