Garry's Mod

Garry's Mod

139 ratings
Auto Playable Piano
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun
File Size
Posted
Updated
77.989 MB
6 Sep, 2024 @ 1:11am
5 Sep @ 11:27am
7 Change Notes ( view )

Subscribe to download
Auto Playable Piano

In 1 collection by DeadDuck
Auto Playable Piano: Full
6 items
Description
Description
Modded version of Playable Piano, now with Auto-Play feature.
Forget about learning how to play songs, now piano can play by itself!

Maps: vp_whitecomplex (Spawnicon), gm_fever_dream_christmas_edition (Screenshots), ttt_fernwood (Youtube Video), jazz_bar (Addon Image)
This addon on Github: https://github.com/Dead0Duck/Autoplayable_Piano

Credits
- MacDGuy: Author of original Playable Piano addon
- anthfgreco: Author of Playable Piano V2 addon which music sheet is used in this addon

Need more songs or instruments?
Check out my collection with additional content

SoundFont
This addon uses a different soundfont from the original addon.
This addon uses YDP-GrandPiano-20160804.sf2 which can be found here[freepats.zenvoid.org].

How to add your own songs
On site https://piano.dead0duck.ru you can convert MIDI files to code for piano.
Once you got code, now you need to place it in right place.
In addons folder, you need create a new folder with any latinian name, as example "pianosong_rock", and inside of that folder create this folder structure: "lua/duck_piano/songs".
Inside of "songs" folder create a new folder with unique name(Your nickname as example) and now create a lua-file (also with unique name) inside of your folder.
Now we have something like this "lua/duck_piano/songs/deadduck/rock.lua". Place code from site in your lua file.

Known issues
- Unknown

ConCommands
duck_piano_reload - Reload songs list

For Devs
This addon adds only 1 hook:
Realm
Name
Description
Arg 1
Arg 2
Returns
Shared
duckPiano.CanAutoPlay
Can player use auto-play?
Player
Number - Song Id, you can retrive song name with duckInstruments.GetSongName()
Bool - If false then block access to auto-play

Note: If you wan't to use this piano as base for your's instrument, then look at Auto Playable Synthesizer for example.
Popular Discussions View All (4)
4
17 Jul @ 2:19am
[EN] Suggestions
DeadDuck
2
1 May @ 8:28am
[RU] Предложения
DeadDuck
2
6 Oct, 2024 @ 9:50pm
[RU] Баги
DeadDuck
27 Comments
Lucy 8 Oct @ 5:11pm 
how to turn off the hud?
清·纯·蓝·调 18 Aug @ 3:18pm 
thank u,and i will do more!
DeadDuck  [author] 18 Aug @ 7:56am 
Cool! I’ve added your addon to the collection
https://gtm.steamproxy.vip/workshop/filedetails/?id=3325740073
DeadDuck  [author] 9 Aug @ 11:45am 
紫阳花, these added songs should be added on server itself too
紫阳花 7 Aug @ 5:04pm 
May I ask how to use the added songs on a server that has this mod installed?
susie gaster 26 Dec, 2024 @ 6:37am 
explanation on how to add songs worked perfectly, tysm!! it was so simple haha
Jesus is King Repent! 16 Dec, 2024 @ 12:08pm 
Hey! Can you add snowy from undertale piano song? It would mean alot to me, thanks!
nixongame 15 Dec, 2024 @ 4:32am 
could you plz make a yt tutorial how to add own songs cuz my last brain cell cant understand shit from description
Bubblegum Steve 9 Dec, 2024 @ 2:12pm 
There should be a way to switch to an empty text box where you can either type or copy and paste as there are a lot of sheets online that are already for qwerty, and that would be much easier than do the code method