int doAnalysis(HumdrumFile& infile, int line) { int value = 0.0; if (nograceQ && (infile[line].getDuration() == 0.0)) { return -1; } if (uniqueQ || noteQ || twelveQ || fortyQ || sevenQ) { value = getNoteCount(infile, line); } else { value = getVoiceCount(infile, line); } if (summaryQ) { Summary[value] += infile.getDuration(line); } return value; }
std::vector<std::string> NSFSoundStream::getVoiceNames() const { return std::vector<std::string>( sampleEmus[0]->voice_names(), sampleEmus[0]->voice_names() + getVoiceCount()); }