Hello Everyone
I am wondering if people would be willing if they have an example of Sample and Hold to use for a project i am working on.
I am interested in the classic sounding Sample and Hold insanity please share a patch if you have one so i may learn on how to make one properly
the one in the help files is not the kind i am talking about
i hope this makes sense
pp
Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
As I understand it, a classic sample and hold is capturing the instantaneous input voltage of an incoming signal, and remembering it.
[metro 5]
[adc~] |/ [snapshot~] | [f]
The [metro 5] is also banging on the [snapshot~]'s hot inlet with [adc~] if want samples at 5ms intervals.
However, these days, in my own mind at least, I think about "sample and hold" as meaning, "read a few seconds of audio from a source into a memory, and loop it." I don't know if others think this way also.
That would be a more complex circuit.
BH
On Wed, Apr 15, 2015 at 6:36 PM, Pagano, Patrick pat@digitalworlds.ufl.edu wrote:
Hello Everyone
I am wondering if people would be willing if they have an example of Sample and Hold to use for a project i am working on.
I am interested in the classic sounding Sample and Hold insanity please share a patch if you have one so i may learn on how to make one properly
the one in the help files is not the kind i am talking about
i hope this makes sense
pp
*Patrick Pagano B.S, M.F.A* Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
for sample-and-hold, as it is usually implemented for pitch in a synth, you actually don't even NEED to use the samphold~ object! you can just use a metro to simulate the clock, and then a random to simulate the noise input (that's what was usually used for synth sample and hold madness).
[metro 125] | [random 5000] | [/ 100] | [+ 40] | [mtof] | [phasor~] | [*~ 2] | [-~ 1]
likewise, you can use the same process for sample and hold on a filter by just adding a short [line~ 10] after the [mtof] and feeding that into the 2nd inlet of [vcf~]
or of course, you could run one process on the pitch and another on the filter, but just make sure to use a slightly different random number base to make them independent,
On Thu, Apr 16, 2015 at 10:37 AM, William Huston williamahuston@gmail.com wrote:
As I understand it, a classic sample and hold is capturing the instantaneous input voltage of an incoming signal, and remembering it.
[metro 5]
[adc~] |/ [snapshot~] | [f]
The [metro 5] is also banging on the [snapshot~]'s hot inlet with [adc~] if want samples at 5ms intervals.
However, these days, in my own mind at least, I think about "sample and hold" as meaning, "read a few seconds of audio from a source into a memory, and loop it." I don't know if others think this way also.
That would be a more complex circuit.
BH
On Wed, Apr 15, 2015 at 6:36 PM, Pagano, Patrick < pat@digitalworlds.ufl.edu> wrote:
Hello Everyone
I am wondering if people would be willing if they have an example of Sample and Hold to use for a project i am working on.
I am interested in the classic sounding Sample and Hold insanity please share a patch if you have one so i may learn on how to make one properly
the one in the help files is not the kind i am talking about
i hope this makes sense
pp
*Patrick Pagano B.S, M.F.A* Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
May you, and all beings be happy and free from suffering :) -- ancient Buddhist Prayer (Metta)
Don't forget to sign the
*Pledge to Resist*
*the Constitution Pipeline:*
- *The Pledge: TinyURL.com/Pledge2ResistCP
http://TinyURL.com/Pledge2ResistCP*
- *More info: TinyURL.com/Pledge2ResistCP1
http://TinyURL.com/Pledge2ResistCP1*
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Thu, Apr 16, 2015 at 8:49 AM, i go bananas hard.off@gmail.com wrote:
for sample-and-hold, as it is usually implemented for pitch in a synth, you actually don't even NEED to use the samphold~ object! you can just use a metro to simulate the clock, and then a random to simulate the noise input (that's what was usually used for synth sample and hold madness).
[metro 125] | [random 5000] | [/ 100] | [+ 40] | [mtof] | [phasor~] | [*~ 2] | [-~ 1]
But with [samphold~] you can also use other waveforms (instead of noise) for the sample input and for control (instead of [phasor~]). Plus, you can modulate the frequency of the control signal, which can yield nice results.
you can create other waveforms in the control domain too ;)
(positive saw wave)
[metro 10] | [f ]x[+1]x[mod 100] | [/ 100]
(sine)
[metro 10] | [f ]x[+1]x[mod 100] | [/ 100] | [cos]
etc....
On Thu, Apr 16, 2015 at 11:28 AM, i go bananas hard.off@gmail.com wrote:
you can create other waveforms in the control domain too ;)
(positive saw wave)
[metro 10] | [f ]x[+1]x[mod 100] | [/ 100]
(sine)
[metro 10] | [f ]x[+1]x[mod 100] | [/ 100] | [cos]
etc....
Of course you can, it's math operations both in the control and in the signal domain. But why do that, since there are oscillators for it?
On 2015-04-16 11:32, i go bananas wrote:
oscillators are expensive in CPU usage, compared to control signals.
you might want to rethink that statement.
the sole purpose of ~-objects (e.g. oscillators) is to *save* CPU-cycles. e.g. an [osc~] object will have both the phase-increment built-in and optimized, and use a lookup table to calculate the cosine (which is magnitudes faster than calculating the cosine as in [cos].
fgmasdr IOhannes
lol IOhannes.
do this in signal domain that is faster than audio domain:
[metro 125] | [random 5000] | [/ 100] | [+ 40] | [mtof] | [phasor~] | [*~ 2] | [-~ 1]
of course, running control signals at anywhere near audio rate is going to be silly, but in the sample and hold case, you only need to run one calculation every click of an audio beat, so about 125ms at generic 120bpm.
Thank you everyone, Bill yours is that classic S&H sound i was looking for I did randomize the osc~ too and it sounds even better like you suggested
the line~ helps alot too.
Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 ________________________________ From: i go bananas hard.off@gmail.com Sent: Thursday, April 16, 2015 1:49 AM To: William Huston Cc: Pagano, Patrick; pd-list@iem.at Subject: Re: [PD] examples of classic Sample and Hold
for sample-and-hold, as it is usually implemented for pitch in a synth, you actually don't even NEED to use the samphold~ object! you can just use a metro to simulate the clock, and then a random to simulate the noise input (that's what was usually used for synth sample and hold madness).
[metro 125] | [random 5000] | [/ 100] | [+ 40] | [mtof] | [phasor~] | [*~ 2] | [-~ 1]
likewise, you can use the same process for sample and hold on a filter by just adding a short [line~ 10] after the [mtof] and feeding that into the 2nd inlet of [vcf~]
or of course, you could run one process on the pitch and another on the filter, but just make sure to use a slightly different random number base to make them independent,
On Thu, Apr 16, 2015 at 10:37 AM, William Huston <williamahuston@gmail.commailto:williamahuston@gmail.com> wrote: As I understand it, a classic sample and hold is capturing the instantaneous input voltage of an incoming signal, and remembering it.
[metro 5]
[adc~] |/ [snapshot~] | [f]
The [metro 5] is also banging on the [snapshot~]'s hot inlet with [adc~] if want samples at 5ms intervals.
However, these days, in my own mind at least, I think about "sample and hold" as meaning, "read a few seconds of audio from a source into a memory, and loop it." I don't know if others think this way also.
That would be a more complex circuit.
BH
On Wed, Apr 15, 2015 at 6:36 PM, Pagano, Patrick <pat@digitalworlds.ufl.edumailto:pat@digitalworlds.ufl.edu> wrote:
Hello Everyone
I am wondering if people would be willing if they have an example of Sample and Hold to use for a project i am working on.
I am interested in the classic sounding Sample and Hold insanity please share a patch if you have one so i may learn on how to make one properly
the one in the help files is not the kind i am talking about
i hope this makes sense
pp
Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020tel:%28352%29294-2020
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
May you, and all beings be happy and free from suffering :) -- ancient Buddhist Prayer (Metta)
Don't forget to sign the Pledge to Resist the Constitution Pipeline:
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Try using [slide~] after a sample and hold, it'll make some nice portamento sounds, some synths have that feature.
[sah~] has a different behaviour where you can set the trigger threshold, you can use [noisi~] to trigger it randomly while using it for something else as well.
[noish~] is like a noise into a sample and hold, you can think noish~ as "noise hold"
cheers
2015-04-16 9:20 GMT-03:00 Pagano, Patrick pat@digitalworlds.ufl.edu:
Thank you everyone, Bill yours is that classic S&H sound i was looking for I did randomize the osc~ too and it sounds even better like you suggested
the line~ helps alot too.
*Patrick Pagano B.S, M.F.A* Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
*From:* i go bananas hard.off@gmail.com *Sent:* Thursday, April 16, 2015 1:49 AM *To:* William Huston *Cc:* Pagano, Patrick; pd-list@iem.at *Subject:* Re: [PD] examples of classic Sample and Hold
for sample-and-hold, as it is usually implemented for pitch in a synth, you actually don't even NEED to use the samphold~ object! you can just use a metro to simulate the clock, and then a random to simulate the noise input (that's what was usually used for synth sample and hold madness).
[metro 125] | [random 5000] | [/ 100] | [+ 40] | [mtof] | [phasor~] | [*~ 2] | [-~ 1]
likewise, you can use the same process for sample and hold on a filter by just adding a short [line~ 10] after the [mtof] and feeding that into the 2nd inlet of [vcf~]
or of course, you could run one process on the pitch and another on the filter, but just make sure to use a slightly different random number base to make them independent,
On Thu, Apr 16, 2015 at 10:37 AM, William Huston <williamahuston@gmail.com
wrote:
As I understand it, a classic sample and hold is capturing the instantaneous input voltage of an incoming signal, and remembering it.
[metro 5]
[adc~] |/ [snapshot~] | [f]
The [metro 5] is also banging on the [snapshot~]'s hot inlet with [adc~] if want samples at 5ms intervals.
However, these days, in my own mind at least, I think about "sample and hold" as meaning, "read a few seconds of audio from a source into a memory, and loop it." I don't know if others think this way also.
That would be a more complex circuit.
BH
On Wed, Apr 15, 2015 at 6:36 PM, Pagano, Patrick < pat@digitalworlds.ufl.edu> wrote:
Hello Everyone
I am wondering if people would be willing if they have an example of Sample and Hold to use for a project i am working on.
I am interested in the classic sounding Sample and Hold insanity please share a patch if you have one so i may learn on how to make one properly
the one in the help files is not the kind i am talking about
i hope this makes sense
pp
*Patrick Pagano B.S, M.F.A* Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
May you, and all beings be happy and free from suffering :) -- ancient Buddhist Prayer (Metta)
Don't forget to sign the
*Pledge to Resist *
*the Constitution Pipeline: *
- *The Pledge: TinyURL.com/Pledge2ResistCP
http://TinyURL.com/Pledge2ResistCP*
- *More info: TinyURL.com/Pledge2ResistCP1
http://TinyURL.com/Pledge2ResistCP1*
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list