Miami Beach, Florida, USA
for max/msp users - cycler~, sine-wave generator
Author: kcr on October 22 2008
Viewed 557 times. 5 people liked this blog. You can rate it below if you haven't already.
People who enjoyed reading this: flies, lematt, astroid, yghartsyrt, fichu
--> sine-wave oscillator abstractions for max/msp
link

it is well known that max/msp's primal sine-wave oscillator,
cycle~ uses 512 samples of sine function table,
which is the half of the size of the other well known dsp environments,
such as supercollider and csound.

quite honestly i don't know what that exactly means,
but that fact, among others, sometimes brings the endless discussion
about the sound qualities on max/msp and various dsp environments.

i've seen many discussions about sound qualities,
and some are constructive while others are pointless.
the bottom line is people have opinions and they are entitled to them,
but since "sound quality" is not science,
for people tend to prefer slightly distorted sine-wave than "pure" sine-wave,
i don't think there is a definitive answer to all of this.

but i thought it would be fun to have a quick experimentation.
so here's what's inside:

cycler~, cycler_a~
sine-wave generator with customizable buffer table size.
i use 4096 samples in help files, which is 4 times bigger than the one on supercollider.
cycler_a~ is with anti-alias filter, which seems not working for some reason...
pix
link
link

cycler-s~, cycler-s_a~
sine-wave generator with saw-wave phase distortion.
a slight distortion sometimes sounds pleasant especially on lower frequencies.
if you want some old school vintage oscillator-type sine-wave feel, try this.
pix
link
link

cycler-p~, cyclerp_a~
the same concept as cycler-s~ but with pulse-wave phase distortion.
pix
link
link

cycler~_audiotest.help
you can compare the sound qualities of different max/msp oscillators,
such as cycle~, sinx~, oscbank, with cycler~.

cycler~_audiotest_fm.help
you can compare the sound qualities of fm synthesis using cycler~.
the difference is more noticeable than just sine-wave.

quite honestly, in cycler~_audiotest.help, i couldn't tell the difference.
but it made me feel a little better about using max/msp...

by the way, this collection of abstractions are of public domain,
so please feel free to use, modify, redistribute to your advatages,
if you are a max/msp user.
(they are not quite perfect, so you probably have to modify to your use)

if you don't use max/msp, this is very irrelevant,
but you can download the runtime here,
link
and open .help files to at least listen to the sound.

have fun.
Read kcr's other blogs.kcr's Recent Blogs
Comments

thanks !

that's awesome

i'm fond of really high quality SINE.

anybody got smapples that indicate a difference?

thanks guys.

i couldn't spot the difference by just listening to pure sine-wave.
but i'm working on a laptop headphone amp with the only capability of 44100hz sampling rate.
so maybe in a better system, it may be noticeale...

supposedly it should be easier to hear differences in lower frequencies. maybe 100hz and down.
i'm working on making kick sounds and other percussive sounds with cycler~ fm synth just to see
the difference in "density", another non-scientific word...

if you break it down and run oscillators with one phasor~,
you can do sample-to-sapmle comparison, which i haven't done.


Register / login
You must be a member to reply or post. signup or login