[Cs-dev] Bug in ftgen and ftgenonce
Date | 2012-03-04 22:22 |
From | Michael Gogins |
Subject | [Cs-dev] Bug in ftgen and ftgenonce |
I find that ftgen and ftgenonce have a problem. The orc compiles without error, but the opcodes do not set a global variable with the ftable number. E.g. the following line in the orc header gisine ftgen 0, 0, 65536, 10, 1 should give a gisine of 102 (it is the 2nd ftgen), but it is 0. Then the instr that uses gisine for a table number fails. I suppose the problem could be with ftgen and ftgenonce, or with the handling of global variables. The problem occurs with both the old parser and the new parser. This problem does not seem to occur on Linux, only on Windows 7. In both cases I have only tested with the Csound API but I do not see why that should make any difference. I do not know how long this problem has been there on Windows as I have been using Linux almost exclusively for weeks if not months. Regards, Mike -- Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-03-04 22:56 |
From | Tito Latini |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Attachments | None |
Date | 2012-03-04 23:37 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Why would this be a problem? I do not use MSVC, only GCC. However, what you say is very suggestive. Possibly the macro is misbehaving on MinGW. Note that my MinGW compiler is GCC 4.6.2. Perhaps that is the problem. I find that USE_LRINT is not defined in the compiler command to make ftgen.o. I will define it and see if the problem goes away. Regards, Mike On Sun, Mar 4, 2012 at 5:56 PM, Tito Latini |
Date | 2012-03-05 00:22 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
That didn't seem to help but I will try a complete update and rebuild tomorrow. I have a feeling you are right. Regards, Mike On Sun, Mar 4, 2012 at 6:37 PM, Michael Gogins |
Date | 2012-03-05 13:33 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Update: I updated, cleaned, and rebuilt with useLrint-1 and verified that USE_LRINT was defined. The problem still manifested itself. Regards, Mike On Sun, Mar 4, 2012 at 5:22 PM, Michael Gogins |
Date | 2012-03-05 14:41 |
From | Tito Latini |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Attachments | None |
Date | 2012-03-05 15:02 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Yes, I always use --midi-velocity etc. Thanks for your prompt attention and fix! But how could --midi-velocity interact with this? Regards, Mike On Mon, Mar 5, 2012 at 9:41 AM, Tito Latini |
Date | 2012-03-05 15:10 |
From | Tito Latini |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Attachments | None |
Date | 2012-03-06 02:05 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
I am still experiencing problems with ftgenonce and with --midi-key and --midi-velocity, which seem to have quite working altogether. At the moment, I can't use the head version of Csound to make music. I have verified that I am using your updated source for insert.c. Regards, Mike On Mon, Mar 5, 2012 at 10:10 AM, Tito Latini |
Date | 2012-03-06 02:19 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Csound in the 5.16 Windows installer does not have this problem. A diff from the time of that build (the day it was uploaded) to now should help you locate the cause of the problems. Regards, Mike On Sun, Mar 4, 2012 at 5:22 PM, Michael Gogins |
Date | 2012-03-06 09:14 |
From | Tito Latini |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Attachments | None |
Date | 2012-03-06 09:50 |
From | Tito Latini |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Attachments | None |
Date | 2012-03-06 09:54 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
I will try this patch and let you know what happens. What is the other bug? Regards, MIke On Tue, Mar 6, 2012 at 4:14 AM, Tito Latini |
Date | 2012-03-06 10:07 |
From | Tito Latini |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Attachments | None |
Date | 2012-03-06 10:23 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Line insert.c:1925 is now: fltp = lcloffbas + (-indx); /* + pextra; */ Things are working for me now. I will do more tests later this evening. Thanks for your continued attention to these issues, but what was the original bug? Regards, Mike On Tue, Mar 6, 2012 at 4:50 AM, Tito Latini |
Date | 2012-03-06 12:05 |
From | Tito Latini |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Attachments | None |
Date | 2012-03-06 13:07 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
OK, I will try this. Regards, Mike On Tue, Mar 6, 2012 at 7:05 AM, Tito Latini |
Date | 2012-03-07 00:38 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
I have tested on WIndows and Linux with Csound, CsoundQt, CsoundVST, and the Csound API. All works as before, thank you very much. Regards, Mike On Tue, Mar 6, 2012 at 8:07 AM, Michael Gogins |
Date | 2012-03-09 20:59 |
From | Tito Latini |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Attachments | None |
Date | 2012-03-09 21:35 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in ftgen and ftgenonce |
Attachments | None None |
Thanks for the update, and for following this through. On Mar 9, 2012 4:05 PM, "Tito Latini" <tito.01beta@gmail.com> wrote:
I have concluded the extensive tests. The bug signalled in the cs-user |