The following are in LUA but not in C, for the Envelope type:
playdate.sound.envelope:setScale(scale)
playdate.sound.envelope:setOffset(offset)
playdate.sound.envelope:trigger(velocity, [length])
playdate.sound.envelope:setGlobal(flag)
And while we're here, the LUA docs for playdate.sound.envelope:setRelease(release)
have an error where they refer to the argument as attack
.