Skip to content

Commit

Permalink
moved audio files into project foloder
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliomoro committed Jul 28, 2016
1 parent f52447e commit ccc0f05
Show file tree
Hide file tree
Showing 19 changed files with 16 additions and 16 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/04-Audio/FFT-phase-vocoder/main.cpp
Expand Up @@ -160,7 +160,7 @@ int main(int argc, char *argv[])
}

if(fileName.empty()){
fileName = "../../samples/longsample.wav";
fileName = "longsample.wav";
}


Expand Down
2 changes: 1 addition & 1 deletion examples/04-Audio/sample-loader/render.cpp
Expand Up @@ -29,7 +29,7 @@ The Bela software is distributed under the GNU Lesser General Public License

#define NUM_CHANNELS 2

string gFilename = "../../samples/waves.wav";
string gFilename = "waves.wav";
int gStartFrame = 44100;
int gEndFrame = 88200;
int gFrameRange;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/04-Audio/sample-piezo-trigger/render.cpp
Expand Up @@ -29,7 +29,7 @@ The Bela software is distributed under the GNU Lesser General Public License

#define NUM_CHANNELS 1

string gFilename = "../../samples/sample.wav";
string gFilename = "sample.wav";

SampleData gSampleData[NUM_CHANNELS];

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/04-Audio/sample-streamer-multi/render.cpp
Expand Up @@ -47,7 +47,7 @@ bool setup(BelaContext *context, void *userData)
{

for(int i=0;i<NUM_STREAMS;i++) {
sampleStream[i] = new SampleStream("../../samples/waves.wav",NUM_CHANNELS,BUFFER_LEN);
sampleStream[i] = new SampleStream("waves.wav",NUM_CHANNELS,BUFFER_LEN);
}

// Initialise auxiliary tasks
Expand Down
Binary file added examples/04-Audio/sample-streamer-multi/waves.wav
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/04-Audio/sample-streamer/render.cpp
Expand Up @@ -30,7 +30,7 @@ The Bela software is distributed under the GNU Lesser General Public License
#define NUM_CHANNELS 2 // NUMBER OF CHANNELS IN THE FILE
#define BUFFER_LEN 22050 // BUFFER LENGTH

string gFilename = "../../samples/waves.wav";
string gFilename = "waves.wav";
int gNumFramesInFile;

// Two buffers for each channel:
Expand Down
Binary file added examples/04-Audio/sample-streamer/sample.wav
Binary file not shown.
10 changes: 5 additions & 5 deletions examples/08-PureData/sample-scrub/_main.pd
Expand Up @@ -35,10 +35,8 @@
#X obj 36 250 loadbang;
#X obj 36 355 s sampleLength2;
#X msg 36 283 read -resize rt.wav exampleTable2;
#X msg 36 123 read -resize ../../samples/waves.wav exampleTable1;
#X text 293 285 <<< If you include your own samples in the project
;
#X text 395 163 ../../samples/name_of_file.wav;
#X obj 42 471 adc~ 3;
#X text 101 426 Connect two potentiometers to analog in 0 and 1;
#X text 474 16 ............................;
Expand All @@ -48,10 +46,12 @@
#X text 474 66 .|____/|_____|_____/_/..._|.io;
#X text 474 76 ............................;
#X text 474 46 .| __ || __|.| |...../ _| |.;
#X msg 36 123 read -resize waves.wav exampleTable1;
#X text 395 163 name_of_file.wav;
#X connect 2 0 11 0;
#X connect 3 0 25 0;
#X connect 11 0 22 0;
#X connect 12 0 30 0;
#X connect 12 0 40 0;
#X connect 14 0 16 0;
#X connect 16 0 17 0;
#X connect 17 0 23 0;
Expand All @@ -64,5 +64,5 @@
#X connect 26 0 28 0;
#X connect 27 0 29 0;
#X connect 29 0 26 0;
#X connect 30 0 3 0;
#X connect 33 0 2 0;
#X connect 31 0 2 0;
#X connect 40 0 3 0;
Binary file added examples/08-PureData/sample-scrub/waves.wav
Binary file not shown.
Binary file added examples/terminal-only/filter-FIR/longsample.wav
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/terminal-only/filter-FIR/main.cpp
Expand Up @@ -102,7 +102,7 @@ void usage(const char * processName)

Bela_usage();

cerr << " --file [-f] filename: Name of the file to load (default is \"../../samples/longsample.wav\")\n";
cerr << " --file [-f] filename: Name of the file to load (default is \"longsample.wav\")\n";
cerr << " --help [-h]: Print this menu\n";
}

Expand Down Expand Up @@ -146,7 +146,7 @@ int main(int argc, char *argv[])
}

if(fileName.empty()){
fileName = "../../samples/longsample.wav";
fileName = "longsample.wav";
}

if(settings.verbose) {
Expand Down
Binary file added examples/terminal-only/filter-IIR/longsample.wav
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/terminal-only/filter-IIR/main.cpp
Expand Up @@ -102,7 +102,7 @@ void usage(const char * processName)

Bela_usage();

cerr << " --file [-f] filename: Name of the file to load (default is \"../../samples/longsample.wav\")\n";
cerr << " --file [-f] filename: Name of the file to load (default is \"longsample.wav\")\n";
cerr << " --cutfreq [-c] freq: Set the cut off frequency of the filter in Hz\n";
cerr << " --help [-h]: Print this menu\n";
}
Expand Down Expand Up @@ -151,7 +151,7 @@ int main(int argc, char *argv[])
}

if(fileName.empty()){
fileName = "../../samples/longsample.wav";
fileName = "longsample.wav";
}

if(settings.verbose) {
Expand Down
4 changes: 2 additions & 2 deletions examples/terminal-only/samples/main.cpp
Expand Up @@ -101,7 +101,7 @@ void usage(const char * processName)

Bela_usage();

cerr << " --file [-f] filename: Name of the file to load (default is \"../../samples/sample.wav\")\n";
cerr << " --file [-f] filename: Name of the file to load (default is \"sample.wav\")\n";
cerr << " --help [-h]: Print this menu\n";
}

Expand Down Expand Up @@ -145,7 +145,7 @@ int main(int argc, char *argv[])
}

if(fileName.empty()){
fileName = "../../samples/sample.wav";
fileName = "sample.wav";
}

cout << "Loading file " << fileName << endl;
Expand Down
Binary file added examples/terminal-only/samples/sample.wav
Binary file not shown.
Binary file removed samples/rt.wav
Binary file not shown.

0 comments on commit ccc0f05

Please sign in to comment.