Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: creating a variable width pulse wave...

Date2009-11-10 02:34
From"Partev Barr Sarkissian"
Subject[Csnd] Re: Re: Re: Re: creating a variable width pulse wave...
Another one is to apply a "morph" to the width parameters in your 
function table in your "score".

Or set-up more than one pulse in your score function table and 
morph between them. That should leave you with some controllability.

I morph amplitudes, frequencies and phase relations to minimize
a mechnical aspects and get it to flow a bit more naturally. It
doesn't sound so robotic and mechnised (well, unless I want it to).

-Partev



=======================================================================




--- jacobjoaquin@gmail.com wrote:

From: Jacob Joaquin 
To: csound@lists.bath.ac.uk
Subject: [Csnd] Re: Re: Re: creating a variable width pulse wave...
Date: Mon, 9 Nov 2009 15:18:10 -0800

> Hey all,
> I know the vco opcodes do this for you, but for those of us who are trying
> to make assembling from smaller parts a lesson in learning what we're doing
> . . .
> How do you generate your own pwm sound generator?
> Greg

There are many viable approaches.  Off the top of my head, I think one
could create a pwm generator out of these ingredients:

phasor
user-defined opcode
setksmps
if then else endif

I'd be happy to elaborate. Not sure if you want the solution, or if
you want to try doing it yourself. The latter is more fun. :)

Best,
Jake

Date2009-11-10 02:51
FromGreg Schroeder
Subject[Csnd] Re: Re: Re: Re: Re: creating a variable width pulse wave...
Yes, I understand the Shannon-Nyquist theorem, folks. That's why I don't just do it with a mess of line segment ftables. :-p
To multisampling and/or dusting off my trig I go . . .
Greg

On Tue, Nov 10, 2009 at 11:34 AM, Partev Barr Sarkissian <encino_man@netscape.com> wrote:
Another one is to apply a "morph" to the width parameters in your
function table in your "score".

Or set-up more than one pulse in your score function table and
morph between them. That should leave you with some controllability.

I morph amplitudes, frequencies and phase relations to minimize
a mechnical aspects and get it to flow a bit more naturally. It
doesn't sound so robotic and mechnised (well, unless I want it to).

-Partev



=======================================================================




--- jacobjoaquin@gmail.com wrote:

From: Jacob Joaquin <jacobjoaquin@gmail.com>
Subject: [Csnd] Re: Re: Re: creating a variable width pulse wave...
Date: Mon, 9 Nov 2009 15:18:10 -0800

> Hey all,
> I know the vco opcodes do this for you, but for those of us who are trying
> to make assembling from smaller parts a lesson in learning what we're doing
> . . .
> How do you generate your own pwm sound generator?
> Greg

There are many viable approaches.  Off the top of my head, I think one
could create a pwm generator out of these ingredients:

phasor
user-defined opcode
setksmps
if then else endif

I'd be happy to elaborate. Not sure if you want the solution, or if
you want to try doing it yourself. The latter is more fun. :)

Best,
Jake
--
The Csound Blog - http://csound.noisepages.com/


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




_____________________________________________________________
Netscape.  Just the Net You Need.


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2009-11-10 08:16
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: Re: Re: Re: creating a variable width pulse wave...
Hi,

Victor hasn't chimed in, but he develop a methd of producing
bandlimited pulses and other waveforms using FM. He wrote an article
about this for AES, the Csound journal and others.

Some more information:
There's an example in QuteCsound showing the difference between
band-limited and non-bandlimited oscillators (with and without
interpolation).

Cheers,
Andrés

On Tue, Nov 10, 2009 at 2:51 AM, Greg Schroeder  wrote:
> Yes, I understand the Shannon-Nyquist theorem, folks. That's why I don't
> just do it with a mess of line segment ftables. :-p
> To multisampling and/or dusting off my trig I go . . .
> Greg
>
> On Tue, Nov 10, 2009 at 11:34 AM, Partev Barr Sarkissian
>  wrote:
>>
>> Another one is to apply a "morph" to the width parameters in your
>> function table in your "score".
>>
>> Or set-up more than one pulse in your score function table and
>> morph between them. That should leave you with some controllability.
>>
>> I morph amplitudes, frequencies and phase relations to minimize
>> a mechnical aspects and get it to flow a bit more naturally. It
>> doesn't sound so robotic and mechnised (well, unless I want it to).
>>
>> -Partev
>>
>>
>>
>> =======================================================================
>>
>>
>>
>>
>> --- jacobjoaquin@gmail.com wrote:
>>
>> From: Jacob Joaquin 
>> To: csound@lists.bath.ac.uk
>> Subject: [Csnd] Re: Re: Re: creating a variable width pulse wave...
>> Date: Mon, 9 Nov 2009 15:18:10 -0800
>>
>> > Hey all,
>> > I know the vco opcodes do this for you, but for those of us who are
>> > trying
>> > to make assembling from smaller parts a lesson in learning what we're
>> > doing
>> > . . .
>> > How do you generate your own pwm sound generator?
>> > Greg
>>
>> There are many viable approaches.  Off the top of my head, I think one
>> could create a pwm generator out of these ingredients:
>>
>> phasor
>> user-defined opcode
>> setksmps
>> if then else endif
>>
>> I'd be happy to elaborate. Not sure if you want the solution, or if
>> you want to try doing it yourself. The latter is more fun. :)
>>
>> Best,
>> Jake
>> --
>> The Csound Blog - http://csound.noisepages.com/
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>> _____________________________________________________________
>> Netscape.  Just the Net You Need.
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"