Random sample and hold - please explain
2010-01-04 by tim.tashpulatov

Yahoo Groups archive
Index last updated: 2026-03-31 13:55 UTC
Thread
2010-01-04 by tim.tashpulatov
2010-01-04 by Michael Hawkins
Hi all, I am new to the group, am expecting my newly bought Poly-800 to arrive, and considering to buy HAWK-800 upgrade.
I've read through the list of HAWK-800 features, and would like to know how this Random Sample & Hold thing works. Any samples to illustrate its usages? Thanks.
2010-01-04 by gordonjcp
>It makes random beepy noises. "Sample and Hold" refers to the act of sampling an incoming voltage at a particular instant, and then holding it for a certain length of time. Take a look here:
> Hi all, I am new to the group, am expecting my newly bought Poly-800 to arrive, and considering to buy HAWK-800 upgrade.
>
> I've read through the list of HAWK-800 features, and would like to know how this Random Sample & Hold thing works. Any samples to illustrate its usages? Thanks.
>
2010-01-04 by tim.tashpulatov
--- In korgpolyex@yahoogroups.com, Michael Hawkins <korgpolyex800@...> wrote:
>
> Hi there,
>
> Check out this video http://www.youtube.com/watch?v=s36VDjadaTc
>
> At 1:05 there is a random sample and hold resonant filter sweep (coming out of the left.
>
> Mike.
2010-01-04 by Electrohead
On Jan 4, 2010, at 9:13 AM, "gordonjcp" <gordon@...> wrote:
--- In korgpolyex@yahoogroups.com, "tim.tashpulatov" <tim.tashpulatov@ ...> wrote:
>
> Hi all, I am new to the group, am expecting my newly bought Poly-800 to arrive, and considering to buy HAWK-800 upgrade.
>
> I've read through the list of HAWK-800 features, and would like to know how this Random Sample & Hold thing works. Any samples to illustrate its usages? Thanks.
>
It makes random beepy noises. "Sample and Hold" refers to the act of sampling an incoming voltage at a particular instant, and then holding it for a certain length of time. Take a look here:
http://www.super- freq.com/ ?p=89
In the first circuit diagram the 555 timer is an LFO that generates a very narrow pulse. This switches on the FET in the middle (marked G/D/S) which conducts for an instant. The capacitor connected to "D" charges up to whatever voltage is coming in from the noise source at the top almost instantly. When the FET switches off, the capacitor stays charged. The other FET forms a high-impedance buffer so that the cap doesn't discharge quickly.
The upshot of this is that you have a random voltage from the white noise source, but you hold the output at a particular level for a time depending on the speed of the LFO. These days, of course, it's all done in software - which is how the HAWK-800 can do it ;-)
2010-01-04 by Michael Hawkins
Mike, thanks for pointing this out. Can the same random effect be applied to notes pitch?
--- In korgpolyex@yahoogro ups.com, Michael Hawkins <korgpolyex800@ ...> wrote:
>
> Hi there,
>
> Check out this video http://www.youtube. com/watch? v=s36VDjadaTc
>
> At 1:05 there is a random sample and hold resonant filter sweep (coming out of the left.
>
> Mike.
2010-01-04 by gordonjcp
>Mmm, none that I've seen do ;-)
> So it's sampling from white noise? That's a great idea. Very random.
> Most synths sample a sine wave for S&H.
2010-01-04 by Michael Hawkins
--- In korgpolyex@yahoogro ups.com, Electrohead <electrohead2000@ ...> wrote:
>
> So it's sampling from white noise? That's a great idea. Very random.
> Most synths sample a sine wave for S&H.
Mmm, none that I've seen do ;-)
What you'd get is a very aliased sinewave depending on the frequency of te sine and the LFO rate. It's a useful if strange effect, good for cyclic patterns. Feeding a squarewave in will give you a variable pulse width pulse output, and a sawtooth wave will give you a "staircase" wave. A mixture of sinewaves (think Hammond organ waves) would give you very complex patterns.
Right, must go and build an outboard S&H now...
Gordon MM0YEQ
2010-01-04 by ASSI
> A high frequency sine wave sampled at low frequency will resemble aNo matter how you sample a sinewave you'll always end up with a
> random number generator.
2010-01-04 by Alex Drinkwater
On 4 Jan 2010, at 15:27, Michael Hawkins wrote:A high frequency sine wave sampled at low frequency will resemble a random number generator.
An infinitely high frequency sine wave sampled at infinitely low frequency would be a true random number generator. Except that since the sample rate is infinitely low, it would take an infinite amount of time to prove it.
;-)
MikeFrom: gordonjcp <gordon@...>
To: korgpolyex@yahoogroups.com
Sent: Mon, January 4, 2010 9:58:23 AM
Subject: [korgpolyex] Re: Random sample and hold - please explain
--- In korgpolyex@yahoogro ups.com, Electrohead <electrohead2000@ ...> wrote:
>
> So it's sampling from white noise? That's a great idea. Very random.
> Most synths sample a sine wave for S&H.
Mmm, none that I've seen do ;-)
What you'd get is a very aliased sinewave depending on the frequency of te sine and the LFO rate. It's a useful if strange effect, good for cyclic patterns. Feeding a squarewave in will give you a variable pulse width pulse output, and a sawtooth wave will give you a "staircase" wave. A mixture of sinewaves (think Hammond organ waves) would give you very complex patterns.
Right, must go and build an outboard S&H now...
Gordon MM0YEQ
2010-01-04 by Alex Drinkwater
On 4 Jan 2010, at 15:27, Michael Hawkins wrote:A high frequency sine wave sampled at low frequency will resemble a random number generator.
An infinitely high frequency sine wave sampled at infinitely low frequency would be a true random number generator. Except that since the sample rate is infinitely low, it would take an infinite amount of time to prove it.
;-)
MikeFrom: gordonjcp <gordon@...>
To: korgpolyex@yahoogroups.com
Sent: Mon, January 4, 2010 9:58:23 AM
Subject: [korgpolyex] Re: Random sample and hold - please explain
--- In korgpolyex@yahoogro ups.com, Electrohead <electrohead2000@ ...> wrote:
>
> So it's sampling from white noise? That's a great idea. Very random.
> Most synths sample a sine wave for S&H.
Mmm, none that I've seen do ;-)
What you'd get is a very aliased sinewave depending on the frequency of te sine and the LFO rate. It's a useful if strange effect, good for cyclic patterns. Feeding a squarewave in will give you a variable pulse width pulse output, and a sawtooth wave will give you a "staircase" wave. A mixture of sinewaves (think Hammond organ waves) would give you very complex patterns.
Right, must go and build an outboard S&H now...
Gordon MM0YEQ
2010-01-04 by Michael Hawkins
On Monday 04 January 2010, Michael Hawkins wrote:
> A high frequency sine wave sampled at low frequency will resemble a
> random number generator.
No matter how you sample a sinewave you'll always end up with a
sinewave. In your case it will be an alias of the original sinewave
since you are undersampling.
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk]>+
SD adaptation for Waldorf Blofeld V1.04R2:
http://Synth. Stromeko. net/Downloads. html#WaldorfSDad a
2010-01-04 by Michael Hawkins
So do you use/did Korg use this method to generate pseudo-random noise?
On 4 Jan 2010, at 15:27, Michael Hawkins wrote:A high frequency sine wave sampled at low frequency will resemble a random number generator.
An infinitely high frequency sine wave sampled at infinitely low frequency would be a true random number generator. Except that since the sample rate is infinitely low, it would take an infinite amount of time to prove it.
;-)
MikeFrom: gordonjcp <gordon@gjcp. net>
To: korgpolyex@yahoogro ups.com
Sent: Mon, January 4, 2010 9:58:23 AM
Subject: [korgpolyex] Re: Random sample and hold - please explain
--- In korgpolyex@yahoogro ups.com, Electrohead <electrohead2000@ ...> wrote:
>
> So it's sampling from white noise? That's a great idea. Very random.
> Most synths sample a sine wave for S&H.
Mmm, none that I've seen do ;-)
What you'd get is a very aliased sinewave depending on the frequency of te sine and the LFO rate. It's a useful if strange effect, good for cyclic patterns. Feeding a squarewave in will give you a variable pulse width pulse output, and a sawtooth wave will give you a "staircase" wave. A mixture of sinewaves (think Hammond organ waves) would give you very complex patterns.
Right, must go and build an outboard S&H now...
Gordon MM0YEQ
2010-01-04 by ASSI
> An alias that was the result of an infinitely low sampling rateNo. It would resemble DC. :-)
> would "resemble" noise.
>
> No?
2010-01-04 by Michael Hawkins
On Monday 04 January 2010, Michael Hawkins wrote:
> An alias that was the result of an infinitely low sampling rate
> would "resemble" noise.
>
> No?
No. It would resemble DC. :-)
If you're curious why this happens, the "natural" reconstructed signal
in this case lies between DC and the sampling frequency, which is
infinitesimally close to DC. You could reconstruct the signal alias
in any of the image bands as well, but then it would again be a
perfect sine since the bandwidth of the reconstruction filter has to
be infinitesimally small.
There have been several attempts at creating "true random" signals by
sampling from an ensemble of oscillators. None of them work
particularly well unless they're followed up by considerable digital
processing.
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk]>+
Wavetables for the Terratec KOMPLEXER:
http://Synth. Stromeko. net/Downloads. html#KomplexerWa ves
2010-01-04 by gordonjcp
> There have been several attempts at creating "true random" signals byAlthough this approach is used for the hihat/cymbal generator in a lot of analogue drum machines - look at the circuit for the TR606 for example. A single Schmitt trigger is wired up as a rough square-ish wave oscillator and mixed the others to form a complex metallic noise. Two of them are tapped off for the classic 808 cowbell.
> sampling from an ensemble of oscillators. None of them work
> particularly well unless they're followed up by considerable digital
> processing.
2010-01-04 by Atom Smasher
2010-01-04 by gordonjcp
> suffice it to say that a lookup table of 256 "randomly shuffled" valuesIt also leads to the possibility that you could have a start and a loop parameter to restrict the range within the lookup table that the "random" S&H uses. Couple that with MIDI-synced LFOs and you've got the basis of an interesting little rhythmic pattern generator.
> (as currently used in the HAWK-800) should be "random enough" for *most*
> musical applications.
2010-01-04 by Alex Drinkwater
On 4 Jan 2010, at 23:19, gordonjcp wrote:
>
>> suffice it to say that a lookup table of 256 "randomly shuffled"
>> values
>> (as currently used in the HAWK-800) should be "random enough" for
>> *most*
>> musical applications.
>
> It also leads to the possibility that you could have a start and a
> loop parameter to restrict the range within the lookup table that
> the "random" S&H uses. Couple that with MIDI-synced LFOs and you've
> got the basis of an interesting little rhythmic pattern generator.
>
> Gordon MM0YEQ
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
2010-01-05 by Electrohead
On Jan 4, 2010, at 6:19 PM, "gordonjcp" <gordon@...> wrote:
> suffice it to say that a lookup table of 256 "randomly shuffled" values
> (as currently used in the HAWK-800) should be "random enough" for *most*
> musical applications.
It also leads to the possibility that you could have a start and a loop parameter to restrict the range within the lookup table that the "random" S&H uses. Couple that with MIDI-synced LFOs and you've got the basis of an interesting little rhythmic pattern generator.
Gordon MM0YEQ
2010-01-05 by korgpolyex800
--- In korgpolyex@yahoogroups.com, Electrohead <electrohead2000@...> wrote:
>
> Wow! Looping a set of S&H results..
> That's another really great idea!!! I'd love to hear that!!
> I'm on Yahoo groups for every vintage/classic synth I own and this one is by far the best.
> I learn more here in one day than in a year on most of the other groups.
> Bravo to all of you who put in the time and effort to make this such a success!
>
>
>
>
> On Jan 4, 2010, at 6:19 PM, "gordonjcp" <gordon@...> wrote:
>
>
> > suffice it to say that a lookup table of 256 "randomly shuffled" values
> > (as currently used in the HAWK-800) should be "random enough" for *most*
> > musical applications.
>
> It also leads to the possibility that you could have a start and a loop parameter to restrict the range within the lookup table that the "random" S&H uses. Couple that with MIDI-synced LFOs and you've got the basis of an interesting little rhythmic pattern generator.
>
> Gordon MM0YEQ
>