[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 561: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 617: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
Forum • Demo for lo-fi SWO
Page 1 of 1

Demo for lo-fi SWO

Posted: Wed Jan 31, 2018 12:04 pm
by forum
The Moselle Stored Waveform Oscillator (SWO) defaults to 2x oversampling, 8x oversampling above high G or something, and sample interpolation. That combines to be enough that you really just can't hear aliasing.

But you can pick ANY sampling rate you want. Like, say, 8x UNDER-sampling. And you can turn off interpolation.

So: I should make a demo patch that purposely makes the SWO sound like a lo-fi trainwreck of a patch, just to let the user hear what it sounds like.

I might as well make a video of it too as I've never seen another synth show off it's lo-fi skillz.

Re: Demo for lo-fi SWO

Posted: Wed Jan 31, 2018 12:24 pm
by forum
Also make demos/videos showing how to lower sampling rate and bit depth.

Here's how:

To convert to 4-bit, reduce the input to one of 2^4 levels. Note values are normally -1 to 1, so we multiply and divide by 8 not 16. The .5 makes it symmetrical, in this case giving an output of 0 for inputs ranging from [-.0625 to +.0625).

[Filter]
Input = floor( Oscillator:Ouput * 8 + .5 ) / 8

To convert processing speed to 1/4 of actual speed, try something like:

[Filter]
Input = IF( Patch:SampleCount \ 4, Input@1, Oscillator:Output )

Input@1 is the value of this input one sample ago. The SampleCount goes up 1 every sample. The \ 4 means "take the remainder from dividing by 4." Result: every fourth input will actually be set from the oscillator output, but the remainder of the time the input is simply what the input was last sample.