[Cs-dev] Question on Fsigs
Date | 2009-10-16 13:29 |
From | jpff |
Subject | [Cs-dev] Question on Fsigs |
Why are fsigs forced to float? I cannot see why they should not be MYFLTs. This was the error in pvshift recently reported -- or at least one problem. ==John ffitch ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-16 13:39 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Question on Fsigs |
I think it is to do with the disk format, which seems to enforce floats. But Richard Dobson might have a more complete explanation. Given that it was always floats, I just observed it. Victor On 16 Oct 2009, at 13:29, jpff wrote: > Why are fsigs forced to float? I cannot see why they should not be > MYFLTs. This was the error in pvshift recently reported -- or at > least one problem. > ==John ffitch > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-16 14:22 |
From | Richard Dobson |
Subject | Re: [Cs-dev] Question on Fsigs |
No reason for fsigs themselves to be confined to floats (and indeed there are plenty of good reasons for using doubles, not least for the Sliding aspect, which will lose quality very quickly using floats); just the pvx file format itself is confined to floats. I am open in principle to the idea of extending PVOCEX to doubles, but it will potentially make for huge files (bearing in mind PVOCEX supports multi-channel data), and it might be better in the longer term to move to a new format supporting 64bit chunks. Whether there is any practical justification for using doubles in such a file is another question. So long as my original comments in the pvocex-related code remain (i.e. the format is strictly floats, not MYFLTs), it should be fine to copy file data to/from doubles ad libitum. And the Sliding pvoc system is conceived purely for real-time streaming (with sufficiently powerful hardware!); I gave no consideration at all to the notion of writing Sliding pvoc frames to a file; which would merely become even more large even more quickly! Richard Dobson Victor Lazzarini wrote: > I think it is to do with the disk format, which seems to enforce floats. > But Richard Dobson might have a more complete explanation. > Given that it was always floats, I just observed it. > > Victor > > On 16 Oct 2009, at 13:29, jpff wrote: > >> Why are fsigs forced to float? I cannot see why they should not be >> MYFLTs. This was the error in pvshift recently reported -- or at >> least one problem. >> ==John ffitch >> > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |