Csound Csound-dev Csound-tekno Search About

[Csnd] ATS Synthesis partial success

Date2013-10-06 22:06
FromTobiah
Subject[Csnd] ATS Synthesis partial success
I analysed http://tobiah.org/crumbles/crumbles.wav with
the default values for atsa.  I got this output from Cygwin
on Windows 7 (also from the windows cmd shell)

0dBFS level = 32768.0
Csound version 6.00.1 (double samples) Sep  4 2013
libsndfile-1.0.25
util atsa:
tracking...
start: 0.000000 duration: 6.850045 file dur: 6.850045
Initializing ATS data...done!
Filling sound gaps...done!
Trimming short partials...done!
Computing averages...done!
Computing residual...done!
Analysing residual...done!
tracking completed.
saving ATS data...done!
end of score.              overall amps:      0.0
            overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 22.664s, CPU: 22.664s
Write failure
Write failure
Write failure
Write failure
.... on and on ad infinitum....

I had to hit Crtl-c from the Windows 7 cmd shell,
but from Cygwin it stopped after a couple hundred
'Write failure' messages.

I did get a file:

----------+ 1 toby None 886000 Oct  6 13:54 crumbles.ats

http://tobiah.org/crumbles/crumbles.ats

But it was odd that the permissions were blank, which made
me think of the 'Write failure' message.  I tried blowing open
the permissions on that file, and trying again, but I got the
same results, although the permissions did not change after the
analysis.

So I tried to re-synthesize the original file, but the results
were (although interesting) a very poor copy of the original.
I was astounded by the job that temposcal could do without
changing pitch or time scale; I could not tell the output from
the input.

Here is the orchestra.

It makes http://tobiah.org/crumbles/crumbles.wav

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
sr      = 44100
ksmps   = 2
nchnls  = 2

0dbfs = 1

gi_mvol         init                    .5

instr 1
k_time          line            0, p3, 7
a_sig           ATSsinnoi       k_time, 1, 1, 1, "crumbles.ats", 150
a_sig           =               a_sig * gi_mvol
                 outs            a_sig, a_sig
endin
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Thanks for any input

Tobiah