Garry's Mod

Garry's Mod

141 个评价
Auto Playable Piano
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 实体
插件标签: 快乐
文件大小
发表于
更新日期
77.989 MB
2024 年 9 月 6 日 上午 1:11
9 月 5 日 上午 11:27
7 项改动说明 ( 查看 )

订阅以下载
Auto Playable Piano

在 DeadDuck 的 1 个合集中
Auto Playable Piano: Full
6 件物品
描述
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.
热门讨论 查看全部(4)
4
7 月 17 日 上午 2:19
[EN] Suggestions
DeadDuck
2
5 月 1 日 上午 8:28
[RU] Предложения
DeadDuck
2
2024 年 10 月 6 日 下午 9:50
[RU] Баги
DeadDuck
27 条留言
Lucy 10 月 8 日 下午 5:11 
how to turn off the hud?
清·纯·蓝·调 8 月 18 日 下午 3:18 
thank u,and i will do more!
DeadDuck  [作者] 8 月 18 日 上午 7:56 
Cool! I’ve added your addon to the collection
https://psteamcommunity.yuanyoumao.com/workshop/filedetails/?id=3325740073
DeadDuck  [作者] 8 月 9 日 上午 11:45 
紫阳花, these added songs should be added on server itself too
紫阳花 8 月 7 日 下午 5:04 
May I ask how to use the added songs on a server that has this mod installed?
real life dog 2024 年 12 月 26 日 上午 6:37 
explanation on how to add songs worked perfectly, tysm!! it was so simple haha
Jesus is King Repent! 2024 年 12 月 16 日 下午 12:08 
Hey! Can you add snowy from undertale piano song? It would mean alot to me, thanks!
nixongame 2024 年 12 月 15 日 上午 4:32 
could you plz make a yt tutorial how to add own songs cuz my last brain cell cant understand shit from description
Bubblegum Steve 2024 年 12 月 9 日 下午 2:12 
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