[Csnd-dev] Problem with loscil3
Date | 2017-08-14 04:35 |
From | Steven Yi |
Subject | [Csnd-dev] Problem with loscil3 |
Attachments | fairlight.csd |
Hi All, There seems to be a problem with loscil3. The Fairlight CSD example I posted on the main user list no longer renders correctly. The message is here: https://listserv.heanet.ie/cgi-bin/wa?A2=ind1611&L=CSOUND&P=R54018 and the samples to use can be downloaded here: http://forum.vintagesynth.com/viewtopic.php?f=3&t=61626 (I've additionally attached the CSD here.) This CSD worked when I posted it, but no longer does. On the other hand, the loscil3 example from the Csound Manual does run. I haven't followed the changes of what happened for loscil3; could someone with more familiarity take a look? Thanks! steven |
Date | 2017-08-14 13:46 |
From | jpff |
Subject | Re: [Csnd-dev] Problem with loscil3 |
I note that loscil produces te same shaped output file, so ot loscil3 specific On Sun, 13 Aug 2017, Steven Yi wrote: > Hi All, > > There seems to be a problem with loscil3. The Fairlight CSD example I > posted on the main user list no longer renders correctly. The message > is here: > > https://listserv.heanet.ie/cgi-bin/wa?A2=ind1611&L=CSOUND&P=R54018 > > and the samples to use can be downloaded here: > > http://forum.vintagesynth.com/viewtopic.php?f=3&t=61626 > > (I've additionally attached the CSD here.) > > This CSD worked when I posted it, but no longer does. On the other > hand, the loscil3 example from the Csound Manual does run. I haven't > followed the changes of what happened for loscil3; could someone with > more familiarity take a look? > > Thanks! > steven |
Date | 2017-08-14 14:04 |
From | jpff |
Subject | Re: [Csnd-dev] Problem with loscil3 |
There were changes in the source on April 12 this year and one change on May 8; cannot remembr why Possibly commit 7366e3b24038edeeede20907bf70eca09a9db54c Author: jpff |
Date | 2017-08-14 21:03 |
From | Steven Yi |
Subject | Re: [Csnd-dev] Problem with loscil3 |
Just FYI, I just got Visual Studio building again but I'm encountering some oddity. With MINGW build, I get: deferred alloc for FAIRLIGHT CMI IIX LIBRARY/CHORAL/ARR1.WAV audio sr = 30200, monaural opening WAV infile FAIRLIGHT CMI IIX LIBRARY\CHORAL\ARR1.WAV defer length 16384 ftable 1: 16384 points, scalemax 1.000 but with the VS Debug build, I get: deferred alloc for FAIRLIGHT CMI IIX LIBRARY/CHORAL/ARR1.WAV audio sr = 44100, monaural opening RAW infile FAIRLIGHT CMI IIX LIBRARY\CHORAL\ARR1.WAV ftable 1: deferred size, but filesize unknown f 1 0.00 0.00 1.00 "FAIRLIGHT CMI IIX LIBRARY/CHORAL/ARR1.WAV" ... After some stepping around in the debugger, I'm guessing at this point that libsndfile that's getting linked in is returning something different than the one linked to with my MINGW build. I'm not sure what the issue is for this but I'm going to switch from VS for the time being. On Mon, Aug 14, 2017 at 9:04 AM, jpff |
Date | 2017-08-14 22:32 |
From | Steven Yi |
Subject | Re: [Csnd-dev] Problem with loscil3 |
Hi All, After some email pointers from John, I think I found the issue and pushed a fix to git. Both the loscil.csd and loscil3.csd continue to run correctly and my fairlight.csd example is now working. I've asked John to review the fix as well, but it looks good so far. Regarding the VS build, I'm concerned about the possible sndfile issue. Could someone on Windows and building with VS give my fairlight.csd example a try there? I'd like to see if it's just my system's VS build (it's been a bit flakey) or if it's a larger issue with the VS build as a whole. Thanks! steven On Mon, Aug 14, 2017 at 4:03 PM, Steven Yi |
Date | 2017-08-14 23:11 |
From | Michael Gogins |
Subject | Re: [Csnd-dev] Problem with loscil3 |
I did as you suggest and the results are below. I just built with MSVC an hour or so ago. Best, Mike D:\Dropbox\orc\yi>d:\msys64\home\restore\csound\msvc\csound-vs\RelWithDebInfo\csound.exe fairlight.csd virtual_keyboard real time MIDI plugin for Csound 0dBFS level = 32768.0 --Csound version 6.09.1 (double samples) Aug 14 2017 [commit: 716a0a090b7bb4e40b586d3972d133292868175e] libsndfile-1.0.27 UnifiedCSD: fairlight.csd STARTING FILE Creating options Creating orchestra closing tag Creating score rtaudio: PortAudio module enabled ... using callback interface instr Mix uses instrument number 2 Elapsed time at end of orchestra compile: real: 0.003s, CPU: 0.002s sorting score ... ... done Elapsed time at end of score sort: real: 0.003s, CPU: 0.003s graphics suppressed, ascii substituted 0dBFS level = 1.0 orch now loaded audio buffered in 4096 sample-frame blocks writing 16384-byte blks of shorts to test.wav (WAV) SECTION 1: ftable 1: deferred alloc for FAIRLIGHT CMI IIX LIBRARY/CHORAL/ARR1.WAV audio sr = 44100, monaural opening RAW infile FAIRLIGHT CMI IIX LIBRARY\CHORAL\ARR1.WAV ftable 1: deferred size, but filesize unknown f 1 0.00 0.00 1.00 "FAIRLIGHT CMI IIX LIBRARY/CHORAL/ARR1.WAV" ... ftable 2: deferred alloc for FAIRLIGHT CMI IIX LIBRARY/STRINGS4/ORCH5.WAV audio sr = 44100, monaural opening RAW infile FAIRLIGHT CMI IIX LIBRARY\STRINGS4\ORCH5.WAV ftable 2: deferred size, but filesize unknown f 2 0.00 0.00 1.00 "FAIRLIGHT CMI IIX LIBRARY/STRINGS4/ORCH5.WAV" ... new alloc for instr 1: INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 0.000 - note deleted. i1 had 1 init errors B 0.000 .. 1.000 T 0.441 TT 0.441 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 1.000 - note deleted. i1 had 1 init errors B 1.000 .. 2.000 T 0.882 TT 0.882 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 2.000 - note deleted. i1 had 1 init errors B 2.000 .. 3.000 T 1.324 TT 1.324 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 3.000 - note deleted. i1 had 1 init errors B 3.000 .. 4.000 T 1.765 TT 1.765 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 4.000 - note deleted. i1 had 1 init errors B 4.000 .. 5.000 T 2.206 TT 2.206 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 5.000 - note deleted. i1 had 1 init errors B 5.000 .. 6.000 T 2.647 TT 2.647 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 6.000 - note deleted. i1 had 1 init errors B 6.000 .. 7.000 T 3.088 TT 3.088 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 7.000 - note deleted. i1 had 1 init errors B 7.000 .. 8.000 T 3.529 TT 3.529 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 8.000 - note deleted. i1 had 1 init errors B 8.000 .. 9.000 T 3.971 TT 3.971 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 9.000 - note deleted. i1 had 1 init errors B 9.000 .. 10.000 T 4.412 TT 4.412 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 10.000 - note deleted. i1 had 1 init errors B 10.000 .. 11.000 T 4.853 TT 4.853 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 11.000 - note deleted. i1 had 1 init errors B 11.000 .. 12.000 T 5.294 TT 5.294 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 12.000 - note deleted. i1 had 1 init errors B 12.000 .. 13.000 T 5.735 TT 5.735 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 13.000 - note deleted. i1 had 1 init errors B 13.000 .. 14.000 T 6.176 TT 6.176 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 14.000 - note deleted. i1 had 1 init errors B 14.000 .. 15.000 T 6.618 TT 6.618 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 15.000 - note deleted. i1 had 1 init errors B 15.000 .. 16.000 T 7.059 TT 7.059 M: 0.00000 0.00000 end of section 1 sect peak amps: 0.00000 0.00000 inactive allocs returned to freespace SECTION 2: new alloc for instr 1: INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 0.000 - note deleted. i1 had 1 init errors INIT ERROR in instr 1: Invalid ftable no. 2.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 0.000 - note deleted. i1 had 1 init errors B 0.000 .. 1.000 T 0.441 TT 7.500 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 1.000 - note deleted. i1 had 1 init errors B 1.000 .. 2.000 T 0.882 TT 7.941 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 2.000 - note deleted. i1 had 1 init errors B 2.000 .. 3.000 T 1.324 TT 8.382 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 3.000 - note deleted. i1 had 1 init errors B 3.000 .. 4.000 T 1.765 TT 8.824 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 4.000 - note deleted. i1 had 1 init errors INIT ERROR in instr 1: Invalid ftable no. 2.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 4.000 - note deleted. i1 had 1 init errors B 4.000 .. 5.000 T 2.206 TT 9.265 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 5.000 - note deleted. i1 had 1 init errors B 5.000 .. 6.000 T 2.647 TT 9.706 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 6.000 - note deleted. i1 had 1 init errors B 6.000 .. 7.000 T 3.088 TT 10.147 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 7.000 - note deleted. i1 had 1 init errors INIT ERROR in instr 1: Invalid ftable no. 2.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 7.000 - note deleted. i1 had 1 init errors B 7.000 .. 8.000 T 3.529 TT 10.588 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 8.000 - note deleted. i1 had 1 init errors INIT ERROR in instr 1: Invalid ftable no. 2.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 8.000 - note deleted. i1 had 1 init errors B 8.000 .. 9.000 T 3.971 TT 11.029 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 9.000 - note deleted. i1 had 1 init errors B 9.000 .. 10.000 T 4.412 TT 11.471 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 10.000 - note deleted. i1 had 1 init errors B 10.000 .. 11.000 T 4.853 TT 11.912 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 11.000 - note deleted. i1 had 1 init errors B 11.000 .. 12.000 T 5.294 TT 12.353 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 12.000 - note deleted. i1 had 1 init errors B 12.000 .. 13.000 T 5.735 TT 12.794 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 13.000 - note deleted. i1 had 1 init errors B 13.000 .. 14.000 T 6.176 TT 13.235 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 14.000 - note deleted. i1 had 1 init errors B 14.000 .. 15.000 T 6.618 TT 13.676 M: 0.00000 0.00000 INIT ERROR in instr 1: Invalid ftable no. 1.000000 asig loscil3 0.25 ifreq p4 1 -1 0 0 -1 0 0 B 15.000 - note deleted. i1 had 1 init errors end of section 2 sect peak amps: 0.00000 0.00000 Score finished in csoundPerform(). inactive allocs returned to freespace end of score. overall amps: 0.00000 0.00000 overall samples out of range: 0 0 36 errors in performance Elapsed time at end of performance: real: 0.169s, CPU: 0.169s 8192 16384 sample blks of shorts written to test.wav (WAV) ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Mon, Aug 14, 2017 at 5:32 PM, Steven Yi |
Date | 2017-08-14 23:19 |
From | Steven Yi |
Subject | Re: [Csnd-dev] Problem with loscil3 |
Thanks Michael, It looks like we have a general problem then with the VS build as the ftable loading should have matched what I got for MinGW (which I also got on OSX). I suppose it's either libsndfile, or something within Csound. For comparison, in MSYS2 I have libsndfile 1.0.28-1. For VS, the downloadDepdendencies.ps1 has libsndfile 1.0.27. We could try updating to 1.0.28 on the VS side to see if that affects anything. (I'll wait until the configurable VS stuff is done to try that so that I don't have to backtrack to build with VS 2017). steven On Mon, Aug 14, 2017 at 6:11 PM, Michael Gogins |
Date | 2017-08-15 00:09 |
From | Michael Gogins |
Subject | Re: [Csnd-dev] Problem with loscil3 |
I can try to debug this. On Aug 14, 2017 6:19 PM, "Steven Yi" <stevenyi@gmail.com> wrote: Thanks Michael, |
Date | 2017-08-15 02:27 |
From | Michael Gogins |
Subject | Re: [Csnd-dev] Problem with loscil3 |
Actually I replaced H/ugens3.h and OOps/ugens3.c with the prior commit (3e3e307469285624d97cda836168f6756de0f1e6). That didn't work so I am going back to jpff's commit.
Best, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Mon, Aug 14, 2017 at 7:09 PM, Michael Gogins <michael.gogins@gmail.com> wrote: > I can try to debug this. > > On Aug 14, 2017 6:19 PM, "Steven Yi" <stevenyi@gmail.com> wrote: >> >> Thanks Michael, >> >> It looks like we have a general problem then with the VS build as the >> ftable loading should have matched what I got for MinGW (which I also >> got on OSX). >> >> I suppose it's either libsndfile, or something within Csound. For >> comparison, in MSYS2 I have libsndfile 1.0.28-1. For VS, the >> downloadDepdendencies.ps1 has libsndfile 1.0.27. We could try >> updating to 1.0.28 on the VS side to see if that affects anything. >> (I'll wait until the configurable VS stuff is done to try that so that >> I don't have to backtrack to build with VS 2017). >> >> steven >> >> On Mon, Aug 14, 2017 at 6:11 PM, Michael Gogins >> <michael.gogins@gmail.com> wrote: >> > I did as you suggest and the results are below. I just built with MSVC >> > an hour or so ago. >> > >> > Best, >> > Mike >> > >> > >> > D:\Dropbox\orc\yi>d:\msys64\home\restore\csound\msvc\csound-vs\RelWithDebInfo\csound.exe >> > fairlight.csd >> > virtual_keyboard real time MIDI plugin for Csound >> > 0dBFS level = 32768.0 >> > --Csound version 6.09.1 (double samples) Aug 14 2017 >> > [commit: 716a0a090b7bb4e40b586d3972d133292868175e] >> > libsndfile-1.0.27 >> > UnifiedCSD: fairlight.csd >> > STARTING FILE >> > Creating options >> > Creating orchestra >> > closing tag >> > Creating score >> > rtaudio: PortAudio module enabled ... >> > using callback interface >> > instr Mix uses instrument number 2 >> > Elapsed time at end of orchestra compile: real: 0.003s, CPU: 0.002s >> > sorting score ... >> > ... done >> > Elapsed time at end of score sort: real: 0.003s, CPU: 0.003s >> > graphics suppressed, ascii substituted >> > 0dBFS level = 1.0 >> > orch now loaded >> > audio buffered in 4096 sample-frame blocks >> > writing 16384-byte blks of shorts to test.wav (WAV) >> > SECTION 1: >> > ftable 1: >> > deferred alloc for FAIRLIGHT CMI IIX LIBRARY/CHORAL/ARR1.WAV >> > audio sr = 44100, monaural >> > opening RAW infile FAIRLIGHT CMI IIX LIBRARY\CHORAL\ARR1.WAV >> > ftable 1: deferred size, but filesize unknown >> > f 1 0.00 0.00 1.00 "FAIRLIGHT CMI IIX >> > LIBRARY/CHORAL/ARR1.WAV" ... >> > ftable 2: >> > deferred alloc for FAIRLIGHT CMI IIX LIBRARY/STRINGS4/ORCH5.WAV >> > audio sr = 44100, monaural >> > opening RAW infile FAIRLIGHT CMI IIX LIBRARY\STRINGS4\ORCH5.WAV >> > ftable 2: deferred size, but filesize unknown >> > f 2 0.00 0.00 1.00 "FAIRLIGHT CMI IIX >> > LIBRARY/STRINGS4/ORCH5.WAV" ... >> > new alloc for instr 1: >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 0.000 - note deleted. i1 had 1 init errors >> > B 0.000 .. 1.000 T 0.441 TT 0.441 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 1.000 - note deleted. i1 had 1 init errors >> > B 1.000 .. 2.000 T 0.882 TT 0.882 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 2.000 - note deleted. i1 had 1 init errors >> > B 2.000 .. 3.000 T 1.324 TT 1.324 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 3.000 - note deleted. i1 had 1 init errors >> > B 3.000 .. 4.000 T 1.765 TT 1.765 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 4.000 - note deleted. i1 had 1 init errors >> > B 4.000 .. 5.000 T 2.206 TT 2.206 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 5.000 - note deleted. i1 had 1 init errors >> > B 5.000 .. 6.000 T 2.647 TT 2.647 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 6.000 - note deleted. i1 had 1 init errors >> > B 6.000 .. 7.000 T 3.088 TT 3.088 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 7.000 - note deleted. i1 had 1 init errors >> > B 7.000 .. 8.000 T 3.529 TT 3.529 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 8.000 - note deleted. i1 had 1 init errors >> > B 8.000 .. 9.000 T 3.971 TT 3.971 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 9.000 - note deleted. i1 had 1 init errors >> > B 9.000 .. 10.000 T 4.412 TT 4.412 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 10.000 - note deleted. i1 had 1 init errors >> > B 10.000 .. 11.000 T 4.853 TT 4.853 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 11.000 - note deleted. i1 had 1 init errors >> > B 11.000 .. 12.000 T 5.294 TT 5.294 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 12.000 - note deleted. i1 had 1 init errors >> > B 12.000 .. 13.000 T 5.735 TT 5.735 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 13.000 - note deleted. i1 had 1 init errors >> > B 13.000 .. 14.000 T 6.176 TT 6.176 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 14.000 - note deleted. i1 had 1 init errors >> > B 14.000 .. 15.000 T 6.618 TT 6.618 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 15.000 - note deleted. i1 had 1 init errors >> > B 15.000 .. 16.000 T 7.059 TT 7.059 M: 0.00000 0.00000 >> > end of section 1 sect peak amps: 0.00000 0.00000 >> > inactive allocs returned to freespace >> > SECTION 2: >> > new alloc for instr 1: >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 0.000 - note deleted. i1 had 1 init errors >> > INIT ERROR in instr 1: Invalid ftable no. 2.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 0.000 - note deleted. i1 had 1 init errors >> > B 0.000 .. 1.000 T 0.441 TT 7.500 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 1.000 - note deleted. i1 had 1 init errors >> > B 1.000 .. 2.000 T 0.882 TT 7.941 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 2.000 - note deleted. i1 had 1 init errors >> > B 2.000 .. 3.000 T 1.324 TT 8.382 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 3.000 - note deleted. i1 had 1 init errors >> > B 3.000 .. 4.000 T 1.765 TT 8.824 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 4.000 - note deleted. i1 had 1 init errors >> > INIT ERROR in instr 1: Invalid ftable no. 2.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 4.000 - note deleted. i1 had 1 init errors >> > B 4.000 .. 5.000 T 2.206 TT 9.265 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 5.000 - note deleted. i1 had 1 init errors >> > B 5.000 .. 6.000 T 2.647 TT 9.706 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 6.000 - note deleted. i1 had 1 init errors >> > B 6.000 .. 7.000 T 3.088 TT 10.147 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 7.000 - note deleted. i1 had 1 init errors >> > INIT ERROR in instr 1: Invalid ftable no. 2.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 7.000 - note deleted. i1 had 1 init errors >> > B 7.000 .. 8.000 T 3.529 TT 10.588 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 8.000 - note deleted. i1 had 1 init errors >> > INIT ERROR in instr 1: Invalid ftable no. 2.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 8.000 - note deleted. i1 had 1 init errors >> > B 8.000 .. 9.000 T 3.971 TT 11.029 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 9.000 - note deleted. i1 had 1 init errors >> > B 9.000 .. 10.000 T 4.412 TT 11.471 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 10.000 - note deleted. i1 had 1 init errors >> > B 10.000 .. 11.000 T 4.853 TT 11.912 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 11.000 - note deleted. i1 had 1 init errors >> > B 11.000 .. 12.000 T 5.294 TT 12.353 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 12.000 - note deleted. i1 had 1 init errors >> > B 12.000 .. 13.000 T 5.735 TT 12.794 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 13.000 - note deleted. i1 had 1 init errors >> > B 13.000 .. 14.000 T 6.176 TT 13.235 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 14.000 - note deleted. i1 had 1 init errors >> > B 14.000 .. 15.000 T 6.618 TT 13.676 M: 0.00000 0.00000 >> > INIT ERROR in instr 1: Invalid ftable no. 1.000000 >> > asig loscil3 0.25 ifreq p4 1 -1 0 0 >> > -1 0 0 >> > B 15.000 - note deleted. i1 had 1 init errors >> > end of section 2 sect peak amps: 0.00000 0.00000 >> > Score finished in csoundPerform(). >> > inactive allocs returned to freespace >> > end of score. overall amps: 0.00000 0.00000 >> > overall samples out of range: 0 0 >> > 36 errors in performance >> > Elapsed time at end of performance: real: 0.169s, CPU: 0.169s >> > 8192 16384 sample blks of shorts written to test.wav (WAV) >> > >> > ----------------------------------------------------- >> > Michael Gogins >> > Irreducible Productions >> > http://michaelgogins.tumblr.com >> > Michael dot Gogins at gmail dot com >> > >> > >> > On Mon, Aug 14, 2017 at 5:32 PM, Steven Yi <stevenyi@gmail.com> wrote: >> >> Hi All, >> >> >> >> After some email pointers from John, I think I found the issue and >> >> pushed a fix to git. Both the loscil.csd and loscil3.csd continue to >> >> run correctly and my fairlight.csd example is now working. I've asked >> >> John to review the fix as well, but it looks good so far. >> >> >> >> Regarding the VS build, I'm concerned about the possible sndfile >> >> issue. Could someone on Windows and building with VS give my >> >> fairlight.csd example a try there? I'd like to see if it's just my >> >> system's VS build (it's been a bit flakey) or if it's a larger issue >> >> with the VS build as a whole. >> >> >> >> Thanks! >> >> steven >> >> >> >> On Mon, Aug 14, 2017 at 4:03 PM, Steven Yi <stevenyi@gmail.com> wrote: >> >>> Just FYI, I just got Visual Studio building again but I'm encountering >> >>> some oddity. With MINGW build, I get: >> >>> >> >>> deferred alloc for FAIRLIGHT CMI IIX LIBRARY/CHORAL/ARR1.WAV >> >>> audio sr = 30200, monaural >> >>> opening WAV infile FAIRLIGHT CMI IIX LIBRARY\CHORAL\ARR1.WAV >> >>> defer length 16384 >> >>> ftable 1: 16384 points, scalemax 1.000 >> >>> >> >>> but with the VS Debug build, I get: >> >>> >> >>> deferred alloc for FAIRLIGHT CMI IIX LIBRARY/CHORAL/ARR1.WAV >> >>> audio sr = 44100, monaural >> >>> opening RAW infile FAIRLIGHT CMI IIX LIBRARY\CHORAL\ARR1.WAV >> >>> ftable 1: deferred size, but filesize unknown >> >>> f 1 0.00 0.00 1.00 "FAIRLIGHT CMI IIX >> >>> LIBRARY/CHORAL/ARR1.WAV" ... >> >>> >> >>> After some stepping around in the debugger, I'm guessing at this point >> >>> that libsndfile that's getting linked in is returning something >> >>> different than the one linked to with my MINGW build. I'm not sure >> >>> what the issue is for this but I'm going to switch from VS for the >> >>> time being. >> >>> >> >>> On Mon, Aug 14, 2017 at 9:04 AM, jpff <jpff@codemist.co.uk> wrote: >> >>>> There were changes in the source on April 12 this year and one >> >>>> change on >> >>>> May 8; cannot remembr why >> >>>> >> >>>> Possibly >> >>>> >> >>>> commit 7366e3b24038edeeede20907bf70eca09a9db54c >> >>>> Author: jpff <jpff@codemist.co.uk> >> >>>> Date: Wed Apr 12 19:55:35 2017 +0100 >> >>>> >> >>>> loscil changed to fpt indexing >> >>>> >> >>>> so you can bisect >> >>>> >> >>>> >> >>>> On Sun, 13 Aug 2017, Steven Yi wrote: >> >>>> >> >>>>> Hi All, >> >>>>> >> >>>>> There seems to be a problem with loscil3. The Fairlight CSD example >> >>>>> I >> >>>>> posted on the main user list no longer renders correctly. The >> >>>>> message >> >>>>> is here: >> >>>>> >> >>>>> https://listserv.heanet.ie/cgi-bin/wa?A2=ind1611&L=CSOUND&P=R54018 >> >>>>> >> >>>>> and the samples to use can be downloaded here: >> >>>>> >> >>>>> http://forum.vintagesynth.com/viewtopic.php?f=3&t=61626 >> >>>>> >> >>>>> (I've additionally attached the CSD here.) >> >>>>> >> >>>>> This CSD worked when I posted it, but no longer does. On the other >> >>>>> hand, the loscil3 example from the Csound Manual does run. I >> >>>>> haven't >> >>>>> followed the changes of what happened for loscil3; could someone >> >>>>> with >> >>>>> more familiarity take a look? >> >>>>> >> >>>>> Thanks! >> >>>>> steven >> >>>>> >> >>>> |
Date | 2017-08-15 03:10 |
From | Steven Yi |
Subject | Re: [Csnd-dev] Problem with loscil3 |
I think the loscil/loscil3 changes are good and fixes the main issue. The problem with the VS build and the fairlight.csd example is not loscil3 but rather gen01raw. The MINGW output shows that Csound read in the file as 30200 SR, which is correct for that file, and a deferred size of 16384 was used. The VS output shows it reading in as 44100 and unknown size. I think that gen01raw is probably the best starting point to look at this issue on VS. On Mon, Aug 14, 2017 at 9:27 PM, Michael Gogins |