MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / SetPitch

Method SetPitch

Source/ChannelHandler.cpp:88–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void CChannelHandler::SetPitch(int Pitch)
89{
90 // Pitch ranges from -511 to +512
91 m_iPitch = std::clamp(Pitch, -511, 511); // // //
92}
93
94
95/*! \brief Retrieves the identifier of the channel.

Callers 2

UpdateChannelsMethod · 0.45
TranslateMidiMessageMethod · 0.45

Calls 1

clampFunction · 0.85

Tested by

no test coverage detected