| Bugs item #2993171, was opened at 2010-04-27 20:52
Message generated for change (Comment added) made by menno0
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=2993171&group_id=81968
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: csound
Group: csound5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Menno (menno0)
Assigned to: Nobody/Anonymous (nobody)
Summary: ATSA errors
Initial Comment:
- analyzing with ATSA using the option File Type 4 produces this error:
Compiler arguments: [ -U atsa "H:\csound\manual\html\examples\beats.wav" "H:\csound\Analyses\beats.ats" ]
------- Compiler Start -------
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.11 (double samples) Oct 31 2009
libsndfile-1.0.20
util atsa:
tracking...
start: 0.000000 duration: 2.000000 file dur: 2.000000
Initializing ATS data...done!
Filling sound gaps...done!
Trimming short partials...done!
Computing averages...done!
Computing residual...------- Compiler End -------
Compiler Info/Warnings/Errors:
ERROR: cannot open file atsa_res.wav for writing
Also choosing another File Type, although an error is not reported, produces problems when trying to play back, for instance with ATSread.
See attachment.
The file is "beats.wav". I test on WindowsXP, Csound5.11 and WindXound
----------------------------------------------------------------------
>Comment By: Menno (menno0)
Date: 2010-06-10 13:44
Message:
it is a windows thing. i analyzed "beats.wav" with the 4 different filter
settings and played them back with this:
; Select audio/midi flags here according to platform
; Audio out Audio in No messages
-odac -iadc -d ;;;RT audio I/O
; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1
; Instrument #1.
instr 1
ktime line 0, p3, 2
asig ATSaddnz ktime, "J:atsawin_filter1.ats", 1, 24
; used 4 different filters
out asig*10
endin
; Table #1, a sine wave.
f 1 0 16384 10 1
i 1 0 2
e
The first 2 settings gave these results:
- ...contains no noise... error
The last 2 settings (3 and 4) gave no error but no sound, simply because
no noise was made by ATSA, at least, that is my opinion
Otherwise there are no differnces between the use of the ATS opcodes and
ATSA between Ubuntu and XP
----------------------------------------------------------------------
Comment By: Victor Lazzarini (veplaini)
Date: 2010-05-17 19:38
Message:
tried the same command with OS X and I can't reproduce the error either.
----------------------------------------------------------------------
Comment By: John ffitch (jpff)
Date: 2010-05-17 19:08
Message:
Cannot reproduce this on Linux. Is it a Windows file name problem?
==John ff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=2993171&group_id=81968
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |