So, I’m making a musical tesla coil, I’m getting midi pitches from a .mid file with python, then converting that note to a frequency, then sending that stuff to roblox. But, the frequency gets to like 100 - 300, so how would I convert that to work with Sound.Pitch / Sound.PlaybackSpeed?
Part of the code:
while true do
local data = getAndDecode()
local midiPitch = data["midiPitch"]
local midiFreq = data["midiFreq"]
print(midiPitch, midiFreq)
TestSound.Pitch = midiFreq
wait(1)
end
Frequencies:
