Csound Csound-dev Csound-tekno Search About

RE: sndwarp problem

Date1998-05-14 00:43
FromDavid Boothe
SubjectRE: sndwarp problem
Thank you, Richard. That fixed it with Winsound 3.47. I downloaded
Winsound 3.481 in the meantime (thinking that might solve the problem),
and get the following compile-time errors (I don't know what they mean):

  error:  Unknown # option, line 14:
  irandw = p10 ;rand window size bw (in samps)
  error:  Unknown # option, line 15:
  ioverlap = p11 ;dens of overlapping windows

In summary: Winsound 3.47 and RT Sound 1.9 compile OK, giving expected
results with different values of p5 through p8. Winsound 3.481 gives
above errors with same orc/sco files, so it seems something has happened
between versions. Guess I'll keep using 3.47 with sndwarp for a while.

-dB
 (David M. Boothe, Audio Director 
  Lyrick Studios, Dallas, TX)
 

> -----Original Message-----
> From:	Richard Karpen [SMTP:karpen@u.washington.edu]
> Sent:	May 13, 1998 17:07
> To:	David Boothe
> Cc:	'csound@maths.ex.ac.uk'
> Subject:	Re: sndwarp problem
> 
> 
> It looks like your window size is 1 sample long! Try making in 2000
> and
> then also make the random windowsize something like 200.
> 
> Richard Karpen
> 
> 
> On Wed, 13 May 1998, David Boothe wrote:
> 
> > ;orc file using soundin.599
> > sr = 44100
> > kr = 4410
> > ksmps = 10
> > nchnls = 1
> > 
> > instr 01
> > 
> > aamp      = p4  ;amplitude scaling of samp
> > iatim     = p5  ;starting time factor
> > ibtim     = p6  ;ending time factor
> > iapch     = p7  ;starting pitch factor
> > ibpch     = p8  ;ending pitch factor
> > iwsize    = p9  ;window size in samps
> > irandw    = p10 ;rand window size bw (in samps)
> > ioverlap  = p11 ;dens of overlapping windows
> > ifn1      = 71  ;ftable sound
> > ifn2      = 81  ;ftable window
> > ibeg      = 0   ;where to start reading ftable
> > itimemode = 0   ;make atimewarp scaling factor
> > atimewarp line  iatim, p3, ibtim	;time scaling
> > aresample line  iapch, p3, ibpch	;pitch scaling
> > 
> > a1 sndwarp aamp, atimewarp, aresample, ifn1, /
> >            ibeg, iwsize, irandw, ioverlap, ifn2, itimemode 
> > out a1
> > endin
> > 
> > -----------------
> > ;sco file using soundin.599
> > f71 0	65536 -1  599 0 0 0 ;soundfile
> > f81 0	512    20 1         ;Hamming Window
> > 
> > ;p4	amplitude scaling of samp
> > ;p5	starting time factor
> > ;p6	ending time factor
> > ;p7	starting pitch factor
> > ;p8	ending pitch factor
> > ;p9	window size in samps
> > ;p10	rand window size bw (in samps)
> > ;p11	dens of overlapping windows
> > 
> > ;p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
> >  i1 0  4  1  1  1  1  1  1  0   10
> > e