Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
AniSynth.dll AniSynthVoice -> unexpected Error 0x67B3DF2A
No permission to create posts
March 30, 2016
2:04 pm
Forum Posts: 4
Member Since:
March 23, 2016
sp_UserOfflineSmall Offline

Hi Will,

I used the downloaded code from the SynthBook Projects.
Following Error occurs:

0x67B3DF2A (AniSynth.dll) in RackAFX.exe: 0xC0000094: Integer division by zero. Confused

It is in the AniSynthVoice.h file
inline void setActiveCell(int nCell)
----> int nTargetRow = nCell / m_nCellsPerSide;
int nSkip = m_nCellsPerSide - 1;

Somehow a problem with n_nCellsPerSide
Since the value is defined in AniSynthVoice.cpp as 0 and it is supposed to be 0 as far as I understood --> I cannot figure out why RackAFX doesnt work at that point. The plugin loads and works until I play the first Midinote.

March 31, 2016
8:33 pm
W Pirkle
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

Hi mrdanga

I am not experiencing any issues with AniSynth; I also downloaded the current version just to be sure, compiled it right away with Visual Studio 2015, then ran it without problems.

m_nCellsPerSide can not be zero, or you will get the divide error. However, it is set in CAniSynth::loadSamples() here:

pVoice->createOscArray(5); // (N+1)^2 = 36 samples

The argument 5 is the number of cells per side:

bool CAniSynthVoice::createOscArray(int nCellsPerSide)

// --- store for later
m_nCellsPerSide = nCellsPerSide;
m_nCells = pow(m_nCellsPerSide, 2.0);

However, you can see that function will return before setting this variable here:

// --- create new array of pointers
m_ppOscArray = new CSampleOscillator*[nArraySize];

// --- validate
if(!m_ppOscArray)return false;

So, the only way m_nCellsPerSide would be zero would be the critical failure to create the array of CSampleOscillator pointer objects, in which case the synth would fail to render anyway.

Another issue has to do with the sample files needed to run AniSynth which you can get from the download page. It uses the AKWF library, as documented in the Synth Book. If you forget to install the WAV files to the appropriate folder, the synth will still compile and run, but no sound will come out. It won't crash under that condition.


Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143