| Dear Erik! Thank you, it's really works!
And what about flags? I leaved them "as is" because my understanding of it
is
too poor (where can I read something useful about analysis programs?)
Can you advice some flags settings for better results?
And one more question. I defined SFDIR,SSDIR,SADIR in Autoexec.bat as:
set SFDIR= C:\Csound\Waves
set SSDIR= C:\Csound\Samples
set SADIR= C:\Csound\Analyses
Say I run Winsound=>Utilities=>Hetrodyne Analysis and set output into the
same
folder where the input file is. If I move it into "Analyses" and try to run
"Rendering" Csound can not load the .ads file. Only if I set output of
Hetrodyne Analysis (.ads file) into "Analyses" it works right (but not
every time). May be it's the Win95 problems?
(Hope you can understand my English).
Sergey Batov batov@glasnet.ru
----------
> Îò: Erik Spjut
> Êîìó: Sergey ; csound@maths.ex.ac.uk
> Òåìà: Re: adsyn
> Äàòà: 15 îêòÿáðÿ 1998 ã. 2:42
>
> At 2:39 AM +0300 10/15/98, Sergey wrote:
> >Hi!
> >Can anybody explain how to use adsyn?
>
> A little fancier than you need but here:
>
> sr = 22050
> kr = 2205
> ksmps = 10
>
> instr 1 ; plays a note of length p3 from an analysis file of
> length p6
> ; p3 - usual note duration
> ; p6 - length of note analyzed for adsyn file. You either have to
know
> this
> ; from when you ran "hetero" or you have to find the length
> ; from trial and error.
> idur = p6/p3
> a1 adsyn 1, p5, idur, "nhtest2.adsyn"
> out a1
> endin
>
> instr 2 ; plays a note of length p3 from an analysis file of
length p6
> ; Unlike instr 1, it dynamically varies the file-read rate.
> ; p3 - usual note duration
> ; p6 - length of note analyzed for adsyn file. You either have to
know
> this
> ; from when you ran "hetero" or you have to find the length
> ; from trial and error.
> ;p7 - initial playback rate. Must be positive.
> ib = (2*p6-p7*p3)/2
> k1 line p7, p3, ib
> a1 adsyn 1, p5, k1, "nhtest2.adsyn"
> out a1
> endin
>
> sco:
> i1 0 .5 0 2.8284 1
> i1 .5 1 0 2.6697 1
> i1 1.5 2 0 2.5198 1
> i1 3.5 .25 0 2.6697 1
> i1 3.75 2.1 0 2.8284 1
>
> i2 6 .5 0 2.8284 1 5.0
> i2 6.5 1 0 2.6697 1 0.5
> i2 7.5 2 0 2.5198 1 2.3
> i2 9.5 .25 0 2.6697 1 1
> i2 9.75 2.1 0 2.8284 1 0.1
> e
>
> Enjoy!
>
>
----------------------------------------------------------------------------
---
> Erik Spjut (spyoot, rhymes with cute) - Associate Professor of
Engineering
> and Associate Director for Engineering Computing, Center for Design
Education
> Harvey Mudd College, Claremont, CA 91711-5990 USA
> Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909)
621-8967 |