Csound Csound-dev Csound-tekno Search About

[Csnd] AW: Re: crazy poscil? Correct Formula - Oscils as Samplers Models in Manual

Date2009-03-09 14:26
FromMarco Stroppa
Subject[Csnd] AW: Re: crazy poscil? Correct Formula - Oscils as Samplers Models in Manual
Attachmentsposcil.orc  poscil.sco  basmba.aif  
Hello, Dr. B.!

I will be very glad to share this instrument with the csound users. I am enclosing a slightly simplified version of what I am using. If you think that the instrument is still to complicated, it can be easily simplified. Please feel free to share it or include it in the manual, if you think this might be useful. The main problem with this instrument is that it does not use a deferred table and that the control of the duration (in case of a high transposition factor) should come from the score, in order to avoid repeating the sound. On the other hand, lposcil does not seem to have a control of the phase (an email concerning this will come in a few minutes...!).

Best,


Marco


----- Ursprüngliche Mail ----
> Von: Dr. Richard Boulanger 
> An: csound@lists.bath.ac.uk
> CC: Andres Cabrera ; Lazzarini Victor ; jpff ffitch 
> Gesendet: Montag, den 9. März 2009, 14:51:00 Uhr
> Betreff: [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"
> 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"