Update of /cvsroot/pure-data/externals/tb/chaos/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13870
Modified Files: chaos_dsp.hpp Log Message: fixed bug
Index: chaos_dsp.hpp =================================================================== RCS file: /cvsroot/pure-data/externals/tb/chaos/src/chaos_dsp.hpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** chaos_dsp.hpp 22 Oct 2005 15:11:45 -0000 1.14 --- chaos_dsp.hpp 7 Jan 2006 20:48:29 -0000 1.15 *************** *** 373,377 **** int outlets = m_system->get_num_eq(); ! float phase = int(m_phase);
int i = 0; --- 373,377 ---- int outlets = m_system->get_num_eq(); ! float phase = m_phase;
int i = 0; *************** *** 379,386 **** while (n) { ! if (phase == 0) { m_system->m_perform(); ! phase = int (m_sr * m_invfreq);
for (int j = 0; j != outlets; ++j) --- 379,386 ---- while (n) { ! if (phase <= 0) { m_system->m_perform(); ! phase = m_sr * m_invfreq;
for (int j = 0; j != outlets; ++j)