MCPcopy Create free account
hub / github.com/csound/csound / getOrchestraHeader

Method getOrchestraHeader

interfaces/CsoundFile.cpp:1144–1152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1142}
1143
1144std::string CsoundFile::getOrchestraHeader() const
1145{
1146 int instrIndex = findToken(orchestra, "instr", 0);
1147 if(instrIndex == (int) orchestra.npos)
1148 {
1149 return "";
1150 }
1151 return orchestra.substr(0, instrIndex);
1152}
1153
1154int CsoundFile::exportArrangementForPerformance(std::string filename) const
1155{

Callers

nothing calls this directly

Calls 1

findTokenFunction · 0.85

Tested by

no test coverage detected