Kyma Forum
  Kyma Support
  Odd calculation result

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Odd calculation result
Bill Meadows
Member
posted 05 December 2002 21:07         Edit/Delete Message   Reply w/Quote

Why.kym

 
I have attached a sound that exhibits an odd numerical behavior.

The same set of fractions are used in both a Sequencer and a SoundToGlobalController. The decimal results are displayed in the VCS.

The decimal values should be the same, but the Sequencer values are significantly different.

Why is this?

IP: Logged

SSC
Administrator
posted 06 December 2002 10:08         Edit/Delete Message   Reply w/Quote
In the SoundToGlobalController, the expression is evaluated to 24 fractional bits of precision. The same expression in the AnalogSequencer is evaluated to the same precision, but the !KeyVelocity output is accurate to only 7 bits, so the values are being rounded to the nearest multiple of 128.

If you need the same precision, you could use an extra value output from the AnalogSequencer. Alternatively, if you know that your output is always going to be a multiple of 1/11, you could instead generate multiples of 1/16, and multiply by 16/11 where you use !KeyVelocity.


IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c