Preset array of integer changes to floats on project reload

Discuss problems and solutions.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Preset array of integer changes to floats on project rel

Post by Macciza »

Thought it might be something like that . . .
Perhaps you could you store the individual components and then rebuild the value with shifts/logic??

Send something to support as well - and refer them to this thread
Always best to get it straight from the horses mouth . ..
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Mr Bit
Newbie
Posts: 10
Joined: 17 Apr 2014 07:48

Re: Preset array of integer changes to floats on project rel

Post by Mr Bit »

oldgearguy wrote:
threeLeggedLemur wrote: So to be clear;
Load "storeTest.jzml"
Allow the init script to run (i.e. set to OnFrame) that should set the monitor to be {536870915,47457457 } which is the values I want.
Set the init script back to OnExpression
Save the project
Quit the Lemur
Reload the project
Monitor now displays {536870880.000, 47457456.000}
One thing to check to help see where it is breaking -- After you set the init script back to OnExpression and save, open the .jzml file and see if the numbers are still OK there.

The reason I say that is because the version of storeTest.jzml that is attached in an earlier message already has the numbers truncated.

The .jzml files are basically XML files, so anything editor can open them. Doing a step, hitting save, then checking the .jzml may help determine if the problem is conversion on save or on reload, which may help the Liine guys to track down the issue.
Good call! I didn't think to crack open the jzml.

I was just glad to get my project finished and didn't pursue this any further, seems threeLeggedLemur and Macciza have pinned this down to a load bug good to hear its being worked on.
nick_liine
Liine Staff
Posts: 285
Joined: 01 Oct 2010 11:06

Re: Preset array of integer changes to floats on project rel

Post by nick_liine »

Hi guys.

The fact that ints are reloaded as floats shouldn't be a problem. However, in the case described where 47457457 gets reloaded as 47457456.000, that's obviously an issue. Development is aware of this.

If you have any examples where it's an actual issue with logic comparisons, rather than simply an aesthetic consideration (displaying null precision point), would be great to share them.

Thanks,
Nick
nick_liine
Liine Staff
Posts: 285
Joined: 01 Oct 2010 11:06

Re: Preset array of integer changes to floats on project rel

Post by nick_liine »

This issue has been fixed in the latest beta. Will be included in the next point release.
Post Reply