Mercurial > hg > sonic-visualiser
comparison transform/FeatureExtractionPluginTransform.cpp @ 185:f3191ab6d564
* Add MIDI file export (closes FR#1643721)
| author | Chris Cannam | 
|---|---|
| date | Thu, 04 Oct 2007 11:52:38 +0000 | 
| parents | ebd906049fb6 | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 184:ebd906049fb6 | 185:f3191ab6d564 | 
|---|---|
| 518 int binCount = 1; | 518 int binCount = 1; | 
| 519 if (m_descriptor->hasFixedBinCount) { | 519 if (m_descriptor->hasFixedBinCount) { | 
| 520 binCount = m_descriptor->binCount; | 520 binCount = m_descriptor->binCount; | 
| 521 } | 521 } | 
| 522 | 522 | 
| 523 std::cerr << "FeatureExtractionPluginTransform::setCompletion(" | 523 // std::cerr << "FeatureExtractionPluginTransform::setCompletion(" | 
| 524 << completion << ")" << std::endl; | 524 // << completion << ")" << std::endl; | 
| 525 | 525 | 
| 526 if (binCount == 0) { | 526 if (binCount == 0) { | 
| 527 | 527 | 
| 528 SparseOneDimensionalModel *model = getOutput<SparseOneDimensionalModel>(); | 528 SparseOneDimensionalModel *model = getOutput<SparseOneDimensionalModel>(); | 
| 529 if (!model) return; | 529 if (!model) return; | 
