Forums > MaxMSP

Antialiased oscillator?

November 16, 2013 | 12:43 pm


I’m using different oscillators in Max: cycle~, tri~, saw~,..
Although they are antialiased, I still get very weird noises in the upper range. Does anyone else have this problem too?

I uploaded a short .wav on wetransfer to state the problem:

tri~, an antialiased oscillator is used. The problem in the high register is also audible in the tri~ help file.

November 16, 2013 | 1:19 pm

it… sounds very different from what it sounds like on my system.

How did you record it? What’s your Max audio settings? Which other objects are in the audio path?
It sounds really boosted in the low end, and the high notes are really hard to hear. On my system I *do* get banding going up there, at around 4khz I hear one really clearly, and at 8khz there’s some somewhat loud sidebands as well, and going upwards from there it gets worse…but never as problematic as in your sound, and never as low-pitched.

November 16, 2013 | 2:01 pm

I’m sorry…I forgot to eliminate the low-pass filter. The problem is however even more clear without it:

Probably there is something wrong in my patch, the tri~ help patch does sound better, but still with banding as you mention. Is there a way to solve this?

November 16, 2013 | 3:16 pm

share your patch, otherwise no one can really help you without guessing a whole lot. This also sounds different than on my machine… Audiofiles aren’t a help beyond stating that you have banding in your sounds.

November 16, 2013 | 3:17 pm

actually, I take that back: it sounds like you’re overdriving your output.

November 16, 2013 | 5:30 pm

yes, actually my patch isn’t the issue. I will be able to solve the problem.
The "real" problem is the fact that the Max oscillators have sidebands at around 4 Khz.

there is probably no solution for this..?

November 17, 2013 | 9:11 am

while cycle has interpolation, it is _not bandlimited like the other two you mentioned.

November 17, 2013 | 11:19 am

The "real" problem is the fact that the Max oscillators have sidebands at around 4 Khz.

Well, no, I’m saying tri~ sounds nothing like your sample on my machine – it honestly does sound like you’re introducing odd harmonics, **which is why I asked about your patch**.

you can also see the sidebands in the tri~ help comparison thing.
And have you tried hipass-filtering below your fundamental?

Also, have you read about nyquist yet? tri~ generates very high frequency harmonics if you set your fundamental to 4khz, of course those will fold to some degree.

November 19, 2013 | 9:57 am

Hello again, I didn’t notice your reply up till now. I know there was a problem in my patch. The "official" tri~ helppatch does sound very good, but even there I can still hear weard things in the high register, although of course not as obvious as my patch.

I’m not at home at the moment, I will do some research about nyquist and get back to you this evening, thanks for your help!

Viewing 9 posts - 1 through 9 (of 9 total)

Forums > MaxMSP