I was worried I wasn't going to be able to get dirty/noisy stuff generating audio because my input signals are so simple.
But … it turns out a hacked together overdrive, a bitcrusher, and simple reverb can really wreck a sin wave!
I was worried I wasn't going to be able to get dirty/noisy stuff generating audio because my input signals are so simple.
But … it turns out a hacked together overdrive, a bitcrusher, and simple reverb can really wreck a sin wave!
The increment ++ notation is goofy. Like, I get that it's a parallel idea to increment and decrement instructions in machine code. But any optimizer will turn x += 1 into an INC, so why bother with a special notation just for one? It just seems like a silly thing everyone copies from C.
Also I still can't decide if ternary ? : operators are rubbish or not. Sometimes seem to make things neater, other times seems like it's just making the code more obtuse to newbies.
eating salsa but you have a cut on the inside of your lip 😩
I'm pretty sure there's a formulation of rectangular/pulse wave that uses only floor() and not signbit(), but I was too lazy to figure it out.
I made made a little pastebin with a few periodic functions I was listening to. https://pastebin.com/kUQf4Ehb
I'm surprised how the (approximate) cycloid sounded nicer and a bit less nasal than the rectified sine wave, considering they look so similar.
@morganth #username I just intended to make up a word! A search turned up that it was one of several spellings of a feudal rank that also became used as a surname.
So there are evidently a few people whose name is vavasor. I've just kept it because I dunno, I still like it and it's not *too* odd.
@chr @MightyPork Oh, okay, that's helpful I think!
I'm scratching the surface of audio generation and the square waves sound way louder than sine waves? Like, I double checked my ranges and they're both producing amplitudes between [-1,1].
Apparently this has something to do with the harmonic contributions in square waves? Where sine waves only have the natural frequency.
It's also noticeable in the sawtooth, it's so odd … like, an extra third-of-a-times-louder.
@elomatreb This looks EXTREMELY familiar. (Tusky has had this glitch before)
It was like a few weeks ago when me and a friend were doing this. I just remembered it.
Also, kirby's up-tilt kick thing is the funniest most powerful move.
Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.
All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.