4 ms·
And Mac. Either the notes(frequencies) are not being filtered, causing all sorts of harmonic noise, especially when added together (most likely), or (probably
by ImprovedSilence 6y ago
And Mac. Either the notes(frequencies) are not being filtered, causing all sorts of harmonic noise, especially when added together (most likely), or (probably and) the individual tones are not being normalized before being added together, and its clipping. edit: it's also possible the tones are looped over a short period and there are discontinuities between the loops (filtering will also fix if this is the case)
Awesome concept though, I really love to see stuff like this, and it's great to experiment with and find new (to me) "synergies" between notes/chords.
- klodolph 6y agoOr, more likely, the gain is just too high.
- ImprovedSilence 6y agoYes, but that doesn't explain how to fix it. The signal is clipping (slight distinction from too much gain, because too much gain causes clipping) if you notice, one note is mostly clear, but the more notes played, the worse it sounds. He’s adding all the tones together, and not re-normalizing them before his addition. Which i suppose could be thought of as “not adjusting individual gain down” before adding signals together. Also filtering really would work wonders if he's just generating pure tones (sine waves).
- seancolsen 6y agoThanks for your detailed thoughts and feedback! I think you're correct about the need to normalize the gains. I've opened this ticket to track progress on doing that (or whatever else needs to be done to fix the clipping): https://github.com/seancolsen/octave-compass/issues/80 https://github.com/seancolsen/octave-compass/issues/80 Pull requests welcome! There are some notes in there pointing others to the relevant part of the code if anyone else wants to take a stab at fixing!