Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common/Util/Clooper/cmd_csound.cpp
blob: ef94f8490d8d9109718d21741a55a576dc4c657f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#include <stdio.h>
#include <csound/csound.hpp>

#include "SoundClient.h"

int main( int argc, char ** argv)
{
    int userInput = 200;
    int rval = sc_initialize(argv[1]);
    sc_setMasterVolume(30.0);

    while ((userInput != 0) && (rval == 0))
    {
        fprintf(stderr, "Enter a pitch\n");
        scanf("%i", &userInput);
        //sc_instrumentLoad(5083, "/home/olpc/tamtam/Resources/Sounds/sitar");
        scanf("%i", &userInput);
    }

    return 0;
}