Skip to content

gmclan-org/piano_example

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

GameMaker 2023+ Piano demo

This demo shows how to change audio pitch by semitones, using Piano as an example.

It contains only one audio sample - which is note "C", and all others are played using "magical formula" - pitchShift = power(2, semitone/12), where semitone is number of semitones from default sound (for example D is +2 semitones). Works with negative numbers too.

As it uses additional params added recently in audio_play_sound, may not work in some GM versions from 2022 (and earlier).

You can check live demo on: https://gnysek.itch.io/gamemaker-piano

You can watch demo on youtube: https://www.youtube.com/watch?v=HgYJ12VPtU0

Made with <3 for https://gmclan.org

About

GameMaker piano (using pitch)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published