From e607b8ba18b51aab2efe3d44cf043b6994642127 Mon Sep 17 00:00:00 2001 From: Leon Fedden Date: Sun, 16 Oct 2016 23:45:47 +0100 Subject: fixed maxiRecorder with OS multithreading APIs --- maximilian_examples/21.Recording.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'maximilian_examples') diff --git a/maximilian_examples/21.Recording.cpp b/maximilian_examples/21.Recording.cpp index 82e0e68..27c9bca 100644 --- a/maximilian_examples/21.Recording.cpp +++ b/maximilian_examples/21.Recording.cpp @@ -19,9 +19,12 @@ void setup() { // Call setup here, make sure you do this so the recorder // knows where to write the file. Currently the recorder // will write the wav file to the directory that this file - // is in but you can pass any absolute file path in you'd - // like to. - recorder.setup("hey.wav"); + // is in if you use linux but with mac and windows I + // strongly reccomend putting an absolute file path to the + // directory you want to write to. Also, when in Windows, + // remember to do double '\' characters because they + // count as an escape which will nullify any path you write + recorder.setup("lovesong.wav"); // This must be called to start the asynchronous thread to // manage the recorder's internal memory -- cgit v1.3