Csound Csound-dev Csound-tekno Search About

[Csnd] AW: Re: AW: Re: crazy poscil?

Date2009-03-09 01:48
FromMarco Stroppa
Subject[Csnd] AW: Re: AW: Re: crazy poscil?
Thanks a lot, Victor, you basically got it and put me on the right track. The right formula was the other way around (sr/ftlen(ifile)), but it was easy to find.

My "poscil" has been healed!

Best,


Marco


----- Ursprüngliche Mail ----
> Von: victor 
> An: csound@lists.bath.ac.uk
> Gesendet: Sonntag, den 8. März 2009, 20:19:09 Uhr
> Betreff: [Csnd] Re: AW: Re: crazy poscil?
> 
> That is because the 'freq' input is not exactly a 'pitch' input  (what
> you want). You will need to convert it by multiplying by
> table_size/sr
> 
> Victor
> 
> ----- Original Message ----- From: "Marco Stroppa" 
> To: 
> Sent: Sunday, March 08, 2009 3:22 PM
> Subject: [Csnd] AW: Re: crazy poscil?
> 
> 
> 
> Well, I tried that too, but I get (with this file) a C (a tiny bit low) rather 
> than an A, and I do not understand why. I'm still using csound 5.08, but I guess 
> this should be the problem. On the other hand, if I used loscil with 
> ibas=kcps=1, it works all right. Perhaps I will go back to losci...:-)!
> 
> Best,
> 
> 
> Marco
> 
> 
> ----- Ursprüngliche Mail ----
> > Von: peiman khosravi 
> > An: csound@lists.bath.ac.uk
> > Gesendet: Sonntag, den 8. März 2009, 15:52:10 Uhr
> > Betreff: [Csnd] Re: crazy poscil?
> > 
> > Hello,
> > 
> > shouldn't the frequency be 1/p3?
> > 
> > instr 1
> > a1    poscil 32000.0, 1/p3, 1
> > out a1
> > endin
> > 
> > Best
> > Peiman
> > 
> > 2009/3/8 Marco Stroppa :
> > > Dear csounders,
> > > I wonder whether somebody can explain to me why in the extremely simple
> > > orc/sco file included, which is simply reading a file stored in a GEN01 > 
> with
> > > a poscil (for reasons of quality) the result sounds almost 12 times > 
> higher,
> > > while it should have the same frequency. Am I doing something strange to
> > > poscil? I am a bit puzzled.
> > > Thanks for any advice.
> > >
> > > Marco
> > >
> > >
> > 
> > 
> > Send bugs reports to this list.
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
> 
> 
> 
> 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"= 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"






Date2009-03-09 08:30
Fromvictor
Subject[Csnd] Re: AW: Re: AW: Re: crazy poscil?
oh yes, sr/table_size (sorry I got it wrong, it was a quick reply).
----- Original Message ----- 
From: "Marco Stroppa" 
To: 
Sent: Monday, March 09, 2009 1:48 AM
Subject: [Csnd] AW: Re: AW: Re: crazy poscil?



Thanks a lot, Victor, you basically got it and put me on the right track. 
The right formula was the other way around (sr/ftlen(ifile)), but it was 
easy to find.

My "poscil" has been healed!

Best,


Marco


----- Ursprüngliche Mail ----
> Von: victor 
> An: csound@lists.bath.ac.uk
> Gesendet: Sonntag, den 8. März 2009, 20:19:09 Uhr
> Betreff: [Csnd] Re: AW: Re: crazy poscil?
>
> That is because the 'freq' input is not exactly a 'pitch' input  (what
> you want). You will need to convert it by multiplying by
> table_size/sr
>
> Victor
>
> ----- Original Message ----- From: "Marco Stroppa"
> To:
> Sent: Sunday, March 08, 2009 3:22 PM
> Subject: [Csnd] AW: Re: crazy poscil?
>
>
>
> Well, I tried that too, but I get (with this file) a C (a tiny bit low) 
> rather
> than an A, and I do not understand why. I'm still using csound 5.08, but I 
> guess
> this should be the problem. On the other hand, if I used loscil with
> ibas=kcps=1, it works all right. Perhaps I will go back to losci...:-)!
>
> Best,
>
>
> Marco
>
>
> ----- Ursprüngliche Mail ----
> > Von: peiman khosravi
> > An: csound@lists.bath.ac.uk
> > Gesendet: Sonntag, den 8. März 2009, 15:52:10 Uhr
> > Betreff: [Csnd] Re: crazy poscil?
> >
> > Hello,
> >
> > shouldn't the frequency be 1/p3?
> >
> > instr 1
> > a1    poscil 32000.0, 1/p3, 1
> > out a1
> > endin
> >
> > Best
> > Peiman
> >
> > 2009/3/8 Marco Stroppa :
> > > Dear csounders,
> > > I wonder whether somebody can explain to me why in the extremely 
> > > simple
> > > orc/sco file included, which is simply reading a file stored in a 
> > > GEN01 >
> with
> > > a poscil (for reasons of quality) the result sounds almost 12 times >
> higher,
> > > while it should have the same frequency. Am I doing something strange 
> > > to
> > > poscil? I am a bit puzzled.
> > > Thanks for any advice.
> > >
> > > Marco
> > >
> > >
> >
> >
> > Send bugs reports to this list.
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"=
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"






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


Date2009-03-09 13:51
From"Dr. Richard Boulanger"
Subject[Csnd] Re: crazy poscil? Correct Formula - Oscils as Samplers Models in Manual
Glad to see this work out for you Marco,

It might be nice to add this formula - and these example instruments  
to the manual
- as the way to use the oscil family as samplers - to correctly  
playback and transpose
recordings vs the gen10 family??

Marco?
Victor?
Andres?

And - it would be cool to have a manPage of useful conversions and  
formulas?

John?


Dr. B.


On Mar 8, 2009, at 9:48 PM, Marco Stroppa wrote:

>
> Thanks a lot, Victor, you basically got it and put me on the right  
> track. The right formula was the other way around (sr/ftlen(ifile)),  
> but it was easy to find.
>
> My "poscil" has been healed!
>
> Best,
>
>
> Marco
>
>
> ----- Ursprüngliche Mail ----
>> Von: victor 
>> An: csound@lists.bath.ac.uk
>> Gesendet: Sonntag, den 8. März 2009, 20:19:09 Uhr
>> Betreff: [Csnd] Re: AW: Re: crazy poscil?
>>
>> That is because the 'freq' input is not exactly a 'pitch' input   
>> (what
>> you want). You will need to convert it by multiplying by
>> table_size/sr
>>
>> Victor
>>
>> ----- Original Message ----- From: "Marco Stroppa"
>> To:
>> Sent: Sunday, March 08, 2009 3:22 PM
>> Subject: [Csnd] AW: Re: crazy poscil?
>>
>>
>>
>> Well, I tried that too, but I get (with this file) a C (a tiny bit  
>> low) rather
>> than an A, and I do not understand why. I'm still using csound  
>> 5.08, but I guess
>> this should be the problem. On the other hand, if I used loscil with
>> ibas=kcps=1, it works all right. Perhaps I will go back to  
>> losci...:-)!
>>
>> Best,
>>
>>
>> Marco
>>
>>
>> ----- Ursprüngliche Mail ----
>>> Von: peiman khosravi
>>> An: csound@lists.bath.ac.uk
>>> Gesendet: Sonntag, den 8. März 2009, 15:52:10 Uhr
>>> Betreff: [Csnd] Re: crazy poscil?
>>>
>>> Hello,
>>>
>>> shouldn't the frequency be 1/p3?
>>>
>>> instr 1
>>> a1    poscil 32000.0, 1/p3, 1
>>> out a1
>>> endin
>>>
>>> Best
>>> Peiman
>>>
>>> 2009/3/8 Marco Stroppa :
>>>> Dear csounders,
>>>> I wonder whether somebody can explain to me why in the extremely  
>>>> simple
>>>> orc/sco file included, which is simply reading a file stored in a  
>>>> GEN01 >
>> with
>>>> a poscil (for reasons of quality) the result sounds almost 12  
>>>> times >
>> higher,
>>>> while it should have the same frequency. Am I doing something  
>>>> strange to
>>>> poscil? I am a bit puzzled.
>>>> Thanks for any advice.
>>>>
>>>> Marco
>>>>
>>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>> csound"
>>
>>
>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"=
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>
>
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"