comparison src/EM.cpp @ 273:4e19c60241cb

Remove some unused member variables
author Chris Cannam
date Mon, 04 Aug 2014 09:22:05 +0100
parents a53c713b2a4a
children 405a2ad601f4
comparison
equal deleted inserted replaced
272:e5f897b2d5e8 273:4e19c60241cb
38 m_shiftCount(useShifts ? pack->templateMaxShift * 2 + 1 : 1), 38 m_shiftCount(useShifts ? pack->templateMaxShift * 2 + 1 : 1),
39 m_binCount(pack->templateHeight), 39 m_binCount(pack->templateHeight),
40 m_sourceCount(pack->templates.size()), 40 m_sourceCount(pack->templates.size()),
41 m_pitchSparsity(1.1), 41 m_pitchSparsity(1.1),
42 m_shiftSparsity(1.1), 42 m_shiftSparsity(1.1),
43 m_sourceSparsity(1.2), 43 m_sourceSparsity(1.2)
44 m_lowestPitch(pack->lowestNote),
45 m_highestPitch(pack->highestNote)
46 { 44 {
47 m_pitches = allocate<float>(m_noteCount); 45 m_pitches = allocate<float>(m_noteCount);
48 m_updatePitches = allocate<float>(m_noteCount); 46 m_updatePitches = allocate<float>(m_noteCount);
49 for (int n = 0; n < m_noteCount; ++n) { 47 for (int n = 0; n < m_noteCount; ++n) {
50 m_pitches[n] = drand48(); 48 m_pitches[n] = drand48();