Csound Csound-dev Csound-tekno Search About

[Csnd] transposing a signal

Date2010-05-24 22:15
FromStefan Thomas
Subject[Csnd] transposing a signal
Dear community,
I would like to know, if it is  possible to "transpose" a sound (i mean the pitch of it).
Of course I know I can do:
asig1 oscil iamp, icps, ifn
asig2 oscil icpa, 2*icps, ifn
amix = asig1*asig2
But, if asig1 would be a rather complex sound, it would be more convienient to do something like
itransposefaktor = 2
itranspose thetransposingopcode itransposefaktor
asig2 = itranspose*asig1

Date2010-05-24 23:36
FromRory Walsh
Subject[Csnd] Re: transposing a signal
There are many ways to do this, most of which I'm happy to report are
quite easy. You can use one of the PVS opcodes, either psvanal with a
pvsadsyn whereby you alter the transposition ratio, i.e.,  kfmod in
the manaul, or you can try pvsshift. There are examples in the manual,
if you get stuck post back.

Rory.

On 24 May 2010 22:15, Stefan Thomas  wrote:
> Dear community,
> I would like to know, if it is  possible to "transpose" a sound (i mean the
> pitch of it).
> Of course I know I can do:
> asig1 oscil iamp, icps, ifn
> asig2 oscil icpa, 2*icps, ifn
> amix = asig1*asig2
> But, if asig1 would be a rather complex sound, it would be more convienient
> to do something like
> itransposefaktor = 2
> itranspose thetransposingopcode itransposefaktor
> asig2 = itranspose*asig1
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-05-25 07:49
FromOeyvind Brandtsegg
Subject[Csnd] Re: transposing a signal
I might be wrong, but maybe what you want can be done with the diskin
opcode (?),
similarly with loscil or flooper opcodes.

best
Oeyvind

2010/5/24 Stefan Thomas :
> Dear community,
> I would like to know, if it is  possible to "transpose" a sound (i mean the
> pitch of it).
> Of course I know I can do:
> asig1 oscil iamp, icps, ifn
> asig2 oscil icpa, 2*icps, ifn
> amix = asig1*asig2
> But, if asig1 would be a rather complex sound, it would be more convienient
> to do something like
> itransposefaktor = 2
> itranspose thetransposingopcode itransposefaktor
> asig2 = itranspose*asig1
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"