? Simulated Tremolo+Vibrato in MML ● SmileBASIC Source

Sign In

*Usernames are case-sensitive
Forgot my password
This website has been moved, please see this post

Simulated Tremolo+Vibrato in MML

DON'T use this in real life. It won't work.
0 votes
  • Wavy
2 Comment(s) MZ952 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Third Year My account is over 3 years old Website Reading I like to read books! Hobbies How does it work? (Whoops don't know mml, but I'm curious anyway lol) rando rando Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Second Year My account is over 2 years old Website Avatar Taboo I didn't change my avatar for 180 days Website So the @MP8,8,64,0 makes the sound have vibrato. So the actual sound it’s making has vibrato. But I’m also playing the same type of sound a 64th of a half-step away (with @D) (a small bit more than a cent) and that causes them to be very slightly off sync. Because of the science behind sound and all that, the sine waves (@[email protected] before WAVSET or WAVSETA are used) are sometimes in sync doubling the volume, and are sometimes opposites and cancel each other out. This gives an effect similar to tremolo. Normally to add tremolo to MML, you’d use @MA in a similar way to @MP for vibrato, but you can’t do both at the same time using this. But because of this detuning thing, you can do both at once. People can’t tune that finely lol So because people can’t really tune to less than a cent, that makes this slow of a tremolo pretty much impossible to achieve by detuning. The average human ear can hear about a 5 cent difference, which 5 is almost 2x bigger than a 64th of 100. So you’d think that you’d just get faster tremolo, but once it gets far enough that it’s humanly possible, you start hearing bad intonation instead of fake tremolo. That’s because 5 cents, being the smallest thing we can identify as being “out of tune”, happens to be included in things we detect as “out of tune”. But it might not be too bad until we get further out of tune because 5 cents is fairly small. I’m not telling you to be lazy with your tuning, though, because that can destroy a performance. EDIT: tbc the second spoiler is about why you can’t really do this with real instruments. EDIT2: Forgot how many cents are in a half step lol