Bugs item #2993171, was opened at 2010-04-27 11:52 Message generated for change (Comment added) made by jpff 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: Michael Gogins (gogins) 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: John ffitch (jpff) Date: 2011-11-24 05:52 Message: Still not fixed but getting there ---------------------------------------------------------------------- Comment By: John ffitch (jpff) Date: 2011-11-20 10:16 Message: I have drafted code to use the GetTempPath function to determine /tmp location on Windows. Not tested yet ---------------------------------------------------------------------- Comment By: John ffitch (jpff) Date: 2011-11-20 09:37 Message: This looks like a file permission issue. On Windows it uses a relative name for the output (atsa_res.wav" whil eon OSX and Linux it ises "/tmp/atsa_res.wav" Could you have been in a directort (folder) to which you do not have write access? ==John ff ---------------------------------------------------------------------- Comment By: Victor Lazzarini (veplaini) Date: 2011-04-27 06:40 Message: works on OSX ---------------------------------------------------------------------- Comment By: Menno (menno0) Date: 2010-06-10 04: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 10: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 10: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 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net