Avrella Problem Report 361

Title: Note entry on staff set to Common Time closes program.

Priority: 2   Version detected: 1.06   Version fixed: 1.07  

Problem Description :  

Raised:03-Aug-2009

Problem description:
Note entry on staff set to Common Time closes program. pr361.avrella
---------------------------------------------------------------------------
03-Aug-2009 Investigated by David
This has previously been fixed during investigation of another problem. Cause was: CAvrDoc::CalcPeriodBar() and time_sig being passed as TS_COMMON_TYPE (= 0x10000) or TS_ALLABREVE_TYPE (= 0x20000) resulting in a divide by zero error.
---------------------------------------------------------------------------
03-Aug-2009 Resolved by David

Fixed in version: 1.07
Code inserted to trap this case and convert it to time sig standard for purposes of calculation:

if(time_sig)t_sig = time_sig;

if(t_sig == TS_COMMON_TYPE)
t_sig = TS_44;

else if(t_sig == TS_ALLABREVE_TYPE)
t_sig = TS_22;
---------------------------------------------------------------------------
23-Sep-2009 Verified by David

Verified for version: 1.07
---------------------------------------------------------------------------
23-Sep-2009 Closed by David

 

 

This webpage was last updated on 11-Feb-2010 at 03:13:15 PM