1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
// Miscellaneous parsing and error functions for use with STK demo program.
//
// Gary P. Scavone, 1999.
#include "Instrmnt.h"
#include "FileWvOut.h"
#include "Messager.h"
int voiceByNumber(int number, stk::Instrmnt **instrument);
int voiceByName(char *name, stk::Instrmnt **instrument);
void usage(char *function);
int checkArgs(int numArgs, char *args[]);
int countVoices(int nArgs, char *args[]);
bool parseArgs(int numArgs, char *args[], stk::WvOut **output, stk::Messager& messager);
|