Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
88
void 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
UpdateChannels
Method · 0.45
TranslateMidiMessage
Method · 0.45
Calls
1
clamp
Function · 0.85
Tested by
no test coverage detected