Hi Robson, I think that a great number of opcodes use tables because the operations they are doing require to some degree non-realtime operations. For shifting the signal in realtime, this should do the job: http://www.csounds.com/manual/html/pvscale.html The example in the pvscale manual entry shows how to use it to add a detuned version to the original to function as a harmonizer, preserving formants (haven't tried, but that's what it says! =) ). Hope that helps! steven On 2/27/06, Robson Cozendey wrote: > Hi Chaochi, > > I was having the same problem some time ago. The first thought to solving > this is to use the opcode " sndwarp" to shift the pitch, but the problem > with it is that sndwarp reads from a table, not from an stored signal. > An option, that I have not tried yet, is to use the UDO "freqShift" which is > found in: > > http://www.csounds.com/udo/displayOpcode.php?opcode_id=50 > > A possible problem with freqShift is that it moves the harmonics too in a > linear way, which change the spetrum of the signal and may cause > inharmonicity for large pitch shifts. > A problem with so many opcodes of CSound is that they read their signal from > a table, and it is not possible to read them from a variable. > Who knows if in the future we will have opcode versions for reading from > tables and from variables? It would make CSound more suitable for real-time, > since tables are most useful only for non real-time tasks. > > > >From: "Chaochi Chang" > >Reply-To: csound@lists.bath.ac.uk > >To: > >Subject: Re: [Csnd] How can I manipulate input signal? > >Date: Fri, 24 Feb 2006 10:43:30 -0500 > > > > > >Hi Steven > >Thanks for the information. I am trying to shifting the signal's pitch > >via a fixed amount. Any suggestion about that? Thanks. > > > >Chaochi > > > > > >-----Original Message----- > >From: Steven Yi [mailto:stevenyi@gmail.com] > >Sent: Friday, February 24, 2006 3:47 AM > >To: csound@lists.bath.ac.uk > >Subject: Re: [Csnd] How can I manipulate input signal? > > > > > >Hi Chaochi, > > > >Once you have the signal in, there are many ways to adjust it's > >character. You can filter it like any other signal using filters > >(i.e. butterlp, butterbp, moogvcf, etc.) for coloring, or phase vocode > >it with another signal to get a different coloring, or convolve the > >signal with an impule response, etc. It all depends really on what > >kind of character of sound you are looking for. > > > >As for tune, are you trying to tune a signal say like Antares > >Auto-Tune where the signal becomes quantized to a scale? Or shifting > >signal's pitch via a fixed amount (i.e. transposed up a minor second)? > > > >steven > > > > > > > >On 2/23/06, Chaochi Chang wrote: > > > Hi All > > > I try to use "asig1 in" to get the signal from microphone. > > > I have tried to use "asigout = asig1 * kamp" (kamp is > > > an adjustable value from FLTK UI) > > > I want to know what opcode I can use to manipulate the > > > input signal, such as adjust its tone/tune? Thanks a lot! > > > > > > Chaochi > > > -- > > > Send bugs reports to this list. > > > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > > > > >-- > >Send bugs reports to this list. > >To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > >-- > >Send bugs reports to this list. > >To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > > _________________________________________________________________ > Copa 2006: Juiz @#$%*&!? e mais frases para seu MSN Messenger > http://copa.br.msn.com/extra/frases/ > > -- > Send bugs reports to this list. > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk >