March 23, 2016
I used the downloaded code from the SynthBook Projects.
Following Error occurs:
0x67B3DF2A (AniSynth.dll) in RackAFX.exe: 0xC0000094: Integer division by zero.
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.
January 29, 2017
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
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.
Most Users Ever Online: 36
Currently Browsing this Page:
Guest Posters: 1
Newest Members:strings4v, TheSmile, semihyavuzz, alfredLue, danioc, midnightskate3, Alia5, Shamal Sundar, Walker, Brad
Moderators: W Pirkle: 208
Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 208