thestk / stk

The Synthesis ToolKit in C++ (STK) is a set of open source audio signal processing and algorithmic synthesis classes written in the C++ programming language.
https://ccrma.stanford.edu/software/stk/
Other
1.02k stars 182 forks source link

play example fails on the Mac #69

Closed josmithiii closed 7 years ago

josmithiii commented 7 years ago

After a default configure and make, the play examples fails as follows on the Mac:

> ./play /w/s/wav/mandolin1.wav 44100
2017-04-15 14:49:13.384 play[80868:1752912] Error loading /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter:  dlopen(/Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter, 262): Library not loaded: /System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp
  Referenced from: /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter
  Reason: image not found
2017-04-15 14:49:13.385 play[80868:1752912] Cannot find function pointer New_JackRouterPlugIn for factory 7CB18864-927D-48B5-904C-CCFBCFBC7ADD in CFBundle/CFPlugIn 0x7fbf83c0e720 </Library/Audio/Plug-Ins/HAL/JackRouter.plugin> (bundle, not loaded)

I am using JACK as installed by MacPorts. I do not find a Jackmp framework at Apple. In any case, a new dependency seems to be needed in configure.

radarsat1 commented 7 years ago

I have no idea about JACK on Mac, but I don't know if that's a supported configuration right now. Any luck fixing this? PR would probably be accepted if you have a reliable and simple fix, but if it requires creating a whole new configuration it might represent quite some work.

josmithiii commented 7 years ago

Maybe for the Mac the default configuration could be --with-core ?

On Mon, Apr 17, 2017 at 8:49 AM, Stephen Sinclair notifications@github.com wrote:

I have no idea about JACK on Mac, but I don't know if that's a supported configuration right now. Any luck fixing this? PR would probably be accepted if you have a reliable and simple fix, but if it requires creating a whole new configuration it might represent quite some work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-294513538, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFRfBuVIWKGQVuiceb-0AE0DGBo6iks5rw4ocgaJpZM4M-e5U .

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/

garyscavone commented 7 years ago

It was in the past. I don’t see how it would have changed.

On Apr 17, 2017, at 3:56 PM, josmithiii notifications@github.com wrote:

Maybe for the Mac the default configuration could be --with-core ?

On Mon, Apr 17, 2017 at 8:49 AM, Stephen Sinclair notifications@github.com wrote:

I have no idea about JACK on Mac, but I don't know if that's a supported configuration right now. Any luck fixing this? PR would probably be accepted if you have a reliable and simple fix, but if it requires creating a whole new configuration it might represent quite some work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-294513538, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFRfBuVIWKGQVuiceb-0AE0DGBo6iks5rw4ocgaJpZM4M-e5U .

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/ — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-294573334, or mute the thread https://github.com/notifications/unsubscribe-auth/AFOBpTcfMViRzHioDB5Dqa8I0F2Ny8AZks5rw8PlgaJpZM4M-e5U.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/thestk/stk","title":"thestk/stk","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/thestk/stk"}},"updates":{"snippets":[{"icon":"PERSON","message":"@josmithiii in #69: Maybe for the Mac the default configuration could be --with-core ?\n\nOn Mon, Apr 17, 2017 at 8:49 AM, Stephen Sinclair \u003cnotifications@github.com\u003e\nwrote:\n\n\u003e I have no idea about JACK on Mac, but I don't know if that's a supported\n\u003e configuration right now. Any luck fixing this? PR would probably be\n\u003e accepted if you have a reliable and simple fix, but if it requires creating\n\u003e a whole new configuration it might represent quite some work.\n\u003e\n\u003e —\n\u003e You are receiving this because you authored the thread.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com/thestk/stk/issues/69#issuecomment-294513538\u003e, or mute\n\u003e the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/ACGVFRfBuVIWKGQVuiceb-0AE0DGBo6iks5rw4ocgaJpZM4M-e5U\u003e\n\u003e .\n\u003e\n\n\n\n-- \n\nJulius O. Smith III \u003cjos@ccrma.stanford.edu\u003e\nProfessor of Music and, by courtesy, Electrical Engineering\nCCRMA, Stanford University\nhttp://ccrma.stanford.edu/~jos/ \u003chttp://ccrma.stanford.edu/\u003e\n"}],"action":{"name":"View Issue","url":"https://github.com/thestk/stk/issues/69#issuecomment-294573334"}}}

radarsat1 commented 7 years ago

I guess it is detecting Jack first? I have no idea how Jack/Mac is discovered via autotools. I guess it installs its headers in an accessible place? Probably I'll have to install it to check but I don't have time at the moment. But if Jack on Mac is similar to Jack on Linux perhaps it's possible to make it work instead of working around it. @josmithiii can you see how autotools is discovering Jack?

Hm.. more importantly, if it is discovering Jack, why doesn't it simply work.. it must be installing the wrong path somehow. Maybe it is an RPATH problem? Or it needs to add some kind of "-framework" flag to the compilation.

josmithiii commented 7 years ago

Hi All,

Here is what I see on my up-to-date MacBook Pro:

jos@josmbp:/l/stk make distclean ... jos@josmbp:/l/stk autoconf jos@josmbp:/l/stk ./configure checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for ranlib... ranlib checking for ar... /opt/local/bin/ar checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /opt/local/bin/grep checking for egrep... /opt/local/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termio.h usability... no checking termio.h presence... no checking for termio.h... no checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no checking for RAWWAVE_PATH argument... checking for INCLUDE_PATH argument... checking whether to compile realtime support... yes checking whether to build the static library... yes checking whether to build the shared library... no checking for cos in -lm... yes checking whether to compile debug version... no checking for select... yes checking for socket... yes checking for gettimeofday... yes checking build system type... x86_64-apple-darwin16.5.0 checking host system type... x86_64-apple-darwin16.5.0 checking for audio API... using CoreAudio checking CoreAudio/CoreAudio.h usability... yes checking CoreAudio/CoreAudio.h presence... yes checking for CoreAudio/CoreAudio.h... yes checking for pthread_create in -lpthread... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating projects/demo/Makefile config.status: creating projects/effects/Makefile config.status: creating projects/ragamatic/Makefile config.status: creating projects/examples/Makefile config.status: creating projects/examples/libMakefile config.status: creating projects/eguitar/Makefile

jos@josmbp:/l/stk make cd src && /Applications/Xcode.app/Contents/Developer/usr/bin/make g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Stk.cpp -o Release/Stk.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Noise.cpp -o Release/Noise.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Blit.cpp -o Release/Blit.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c BlitSaw.cpp -o Release/BlitSaw.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c BlitSquare.cpp -o Release/BlitSquare.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Granulate.cpp -o Release/Granulate.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Envelope.cpp -o Release/Envelope.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ADSR.cpp -o Release/ADSR.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Asymp.cpp -o Release/Asymp.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Modulate.cpp -o Release/Modulate.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c SineWave.cpp -o Release/SineWave.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c FileLoop.cpp -o Release/FileLoop.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c SingWave.cpp -o Release/SingWave.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c FileRead.cpp -o Release/FileRead.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c FileWrite.cpp -o Release/FileWrite.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c FileWvIn.cpp -o Release/FileWvIn.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c FileWvOut.cpp -o Release/FileWvOut.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Fir.cpp -o Release/Fir.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Iir.cpp -o Release/Iir.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c OneZero.cpp -o Release/OneZero.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c OnePole.cpp -o Release/OnePole.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c PoleZero.cpp -o Release/PoleZero.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c TwoZero.cpp -o Release/TwoZero.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c TwoPole.cpp -o Release/TwoPole.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c BiQuad.cpp -o Release/BiQuad.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c FormSwep.cpp -o Release/FormSwep.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Delay.cpp -o Release/Delay.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c DelayL.cpp -o Release/DelayL.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c DelayA.cpp -o Release/DelayA.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c PRCRev.cpp -o Release/PRCRev.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c JCRev.cpp -o Release/JCRev.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c NRev.cpp -o Release/NRev.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c FreeVerb.cpp -o Release/FreeVerb.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Chorus.cpp -o Release/Chorus.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Echo.cpp -o Release/Echo.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c PitShift.cpp -o Release/PitShift.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c LentPitShift.cpp -o Release/LentPitShift.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Voicer.cpp -o Release/Voicer.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Sphere.cpp -o Release/Sphere.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Twang.cpp -o Release/Twang.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Guitar.cpp -o Release/Guitar.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Clarinet.cpp -o Release/Clarinet.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c BlowHole.cpp -o Release/BlowHole.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Saxofony.cpp -o Release/Saxofony.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Flute.cpp -o Release/Flute.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Brass.cpp -o Release/Brass.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c BlowBotl.cpp -o Release/BlowBotl.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Bowed.cpp -o Release/Bowed.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Plucked.cpp -o Release/Plucked.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c StifKarp.cpp -o Release/StifKarp.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Sitar.cpp -o Release/Sitar.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Mandolin.cpp -o Release/Mandolin.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Mesh2D.cpp -o Release/Mesh2D.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c FM.cpp -o Release/FM.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Rhodey.cpp -o Release/Rhodey.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Wurley.cpp -o Release/Wurley.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c TubeBell.cpp -o Release/TubeBell.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c HevyMetl.cpp -o Release/HevyMetl.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c PercFlut.cpp -o Release/PercFlut.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c BeeThree.cpp -o Release/BeeThree.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c FMVoices.cpp -o Release/FMVoices.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Sampler.cpp -o Release/Sampler.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Moog.cpp -o Release/Moog.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Simple.cpp -o Release/Simple.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Drummer.cpp -o Release/Drummer.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Shakers.cpp -o Release/Shakers.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Modal.cpp -o Release/Modal.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ModalBar.cpp -o Release/ModalBar.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c BandedWG.cpp -o Release/BandedWG.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Resonate.cpp -o Release/Resonate.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c VoicForm.cpp -o Release/VoicForm.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Phonemes.cpp -o Release/Phonemes.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Whistle.cpp -o Release/Whistle.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Messager.cpp -o Release/Messager.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Skini.cpp -o Release/Skini.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c MidiFileIn.cpp -o Release/MidiFileIn.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c RtMidi.cpp -o Release/RtMidi.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c RtAudio.cpp -o Release/RtAudio.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c RtWvOut.cpp -o Release/RtWvOut.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c RtWvIn.cpp -o Release/RtWvIn.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c InetWvOut.cpp -o Release/InetWvOut.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c InetWvIn.cpp -o Release/InetWvIn.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Thread.cpp -o Release/Thread.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Mutex.cpp -o Release/Mutex.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c Socket.cpp -o Release/Socket.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c TcpClient.cpp -o Release/TcpClient.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c TcpServer.cpp -o Release/TcpServer.o g++ -O3 -Wall -I../include -Iinclude -fPIC -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c UdpSocket.cpp -o Release/UdpSocket.o /bin/rm -f libstk.a ar -rsc libstk.a Release/*.o cd projects/demo && /Applications/Xcode.app/Contents/Developer/usr/bin/make libdemo g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o stk-demo utilities.cpp demo.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI cd projects/effects && /Applications/Xcode.app/Contents/Developer/usr/bin/make libeffects g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o effects effects.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI cd projects/ragamatic && /Applications/Xcode.app/Contents/Developer/usr/bin/make libragamat g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o ragamat Tabla.cpp Drone.cpp VoicDrum.cpp ragamat.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI cd projects/eguitar && /Applications/Xcode.app/Contents/Developer/usr/bin/make libeguitar g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o eguitar utilities.cpp eguitar.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI cd projects/examples && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libMakefile g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o sine sine.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o sineosc sineosc.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o foursine foursine.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o audioprobe audioprobe.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o midiprobe midiprobe.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o duplex duplex.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o play play.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o record record.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o inetIn inetIn.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o inetOut inetOut.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o rtsine rtsine.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o crtsine crtsine.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o bethree bethree.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o controlbee controlbee.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o threebees threebees.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o playsmf playsmf.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -Iinclude -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o grains grains.cpp -L../../src -lstk -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI jos@josmbp:/l/stk jos@josmbp:/l/stk cd projects/examples/ /l/stk/projects/examples jos@josmbp:/l/stk/projects/examples make g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/Stk.cpp -o Release/Stk.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/SineWave.cpp -o Release/SineWave.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/FileWrite.cpp -o Release/FileWrite.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/FileWvOut.cpp -o Release/FileWvOut.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o sine sine.cpp Release/Stk.o Release/SineWave.o Release/FileWrite.o Release/FileWvOut.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/FileRead.cpp -o Release/FileRead.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/FileWvIn.cpp -o Release/FileWvIn.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/FileLoop.cpp -o Release/FileLoop.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o sineosc sineosc.cpp Release/Stk.o Release/FileWrite.o Release/FileRead.o Release/FileWvIn.o Release/FileWvOut.o Release/FileLoop.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o foursine foursine.cpp Release/Stk.o Release/SineWave.o Release/FileWrite.o Release/FileWvOut.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/RtAudio.cpp -o Release/RtAudio.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o play play.cpp Release/Stk.o Release/FileRead.o Release/FileWvIn.o Release/RtAudio.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/RtWvIn.cpp -o Release/RtWvIn.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/Mutex.cpp -o Release/Mutex.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o record record.cpp Release/Stk.o Release/FileWrite.o Release/FileWvOut.o Release/RtWvIn.o Release/Mutex.o Release/RtAudio.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o audioprobe audioprobe.cpp Release/*.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/RtMidi.cpp -o Release/RtMidi.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o midiprobe midiprobe.cpp Release/RtMidi.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o duplex duplex.cpp Release/RtAudio.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/InetWvIn.cpp -o Release/InetWvIn.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/RtWvOut.cpp -o Release/RtWvOut.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/Socket.cpp -o Release/Socket.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/TcpServer.cpp -o Release/TcpServer.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/UdpSocket.cpp -o Release/UdpSocket.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/Thread.cpp -o Release/Thread.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o inetIn inetIn.cpp Release/Stk.o Release/InetWvIn.o Release/Socket.o Release/TcpServer.o Release/UdpSocket.o Release/Thread.o Release/Mutex.o Release/RtWvOut.o Release/RtAudio.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/InetWvOut.cpp -o Release/InetWvOut.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/TcpClient.cpp -o Release/TcpClient.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o inetOut inetOut.cpp Release/Stk.o Release/FileRead.o Release/FileWvIn.o Release/Socket.o Release/TcpClient.o Release/UdpSocket.o Release/Thread.o Release/Mutex.o Release/InetWvOut.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o rtsine rtsine.cpp Release/Stk.o Release/SineWave.o Release/RtWvOut.o Release/RtAudio.o Release/Mutex.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o crtsine crtsine.cpp Release/Stk.o Release/SineWave.o Release/RtAudio.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/FM.cpp -o Release/FM.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/TwoZero.cpp -o Release/TwoZero.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/ADSR.cpp -o Release/ADSR.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/BeeThree.cpp -o Release/BeeThree.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o bethree bethree.cpp Release/Stk.o Release/FileRead.o Release/FileWvIn.o Release/FileLoop.o Release/FM.o Release/RtAudio.o Release/TwoZero.o Release/SineWave.o Release/ADSR.o Release/BeeThree.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/Messager.cpp -o Release/Messager.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/Skini.cpp -o Release/Skini.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o controlbee controlbee.cpp Release/Stk.o Release/FileRead.o Release/FileWvIn.o Release/FileLoop.o Release/FM.o Release/RtAudio.o Release/TwoZero.o Release/SineWave.o Release/ADSR.o Release/BeeThree.o Release/Messager.o Release/RtMidi.o Release/Socket.o Release/TcpServer.o Release/Thread.o Release/Mutex.o Release/Skini.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/Voicer.cpp -o Release/Voicer.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o threebees threebees.cpp Release/Stk.o Release/FileRead.o Release/FileWvIn.o Release/FileLoop.o Release/FM.o Release/RtAudio.o Release/TwoZero.o Release/SineWave.o Release/ADSR.o Release/BeeThree.o Release/Messager.o Release/RtMidi.o Release/Socket.o Release/TcpServer.o Release/Thread.o Release/Mutex.o Release/Skini.o Release/Voicer.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/MidiFileIn.cpp -o Release/MidiFileIn.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o playsmf playsmf.cpp Release/Stk.o Release/MidiFileIn.o Release/RtMidi.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/Granulate.cpp -o Release/Granulate.o g++ -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -c ../../src/Noise.cpp -o Release/Noise.o g++ -L/opt/local/lib -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -DMACOSX_CORE -DLITTLE_ENDIAN -DRAWWAVE_PATH=\"../../rawwaves/\" -o grains grains.cpp Release/Stk.o Release/Granulate.o Release/Noise.o Release/FileRead.o Release/RtAudio.o -lpthread -framework CoreAudio -framework CoreFoundation -framework CoreMIDI jos@josmbp:/l/stk/projects/examples play /w/s/test.wav 44100 2017-04-18 12:41:25.405 play[66923:4151159] Error loading /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter: dlopen(/Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter, 262): Library not loaded: /System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp Referenced from: /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter Reason: image not found 2017-04-18 12:41:25.405 play[66923:4151159] Cannot find function pointer New_JackRouterPlugIn for factory 7CB18864-927D-48B5-904C-CCFBCFBC7ADD in CFBundle/CFPlugIn 0x7fcc16d08750 </Library/Audio/Plug-Ins/HAL/JackRouter.plugin> (bundle, not loaded) play FAIL formats: can't open input file `44100': No such file or directory jos@josmbp:/l/stk/projects/examples

On Tue, Apr 18, 2017 at 6:54 AM, Stephen Sinclair notifications@github.com wrote:

I guess it is detecting Jack first? I have no idea how Jack/Mac is discovered via autotools. I guess it installs its headers in an accessible place? Probably I'll have to install it to check but I don't have time at the moment. But if Jack on Mac is similar to Jack on Linux perhaps it's possible to make it work instead of working around it. @josmithiii https://github.com/josmithiii can you see how autotools is discovering Jack?

Hm.. more importantly, if it is discovering Jack, why doesn't it simply work.. it must be installing the wrong path somehow. Maybe it is an RPATH problem? Or it needs to add some kind of "-framework" flag to the compilation.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-294851765, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFRqKEFSZQQDavqJsw1dMmbuL3jKeks5rxMCqgaJpZM4M-e5U .

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/

radarsat1 commented 7 years ago

Oh so it seems to be actually compiling with __MACOSX_CORE__, but still trying to link Jack for some reason. It's actually using -framework correctly for Core Audio. What does "otool -L" tell you against the "play" executable? Is it trying to load a Jack library? Or is the problem coming from how Jack plugs into the CoreAudio system? I'm curious whether it's a direct or indirect link to Jack.

josmithiii commented 7 years ago

I don't see anything JACK related here:

jos@josmbp:/l/stk/projects/examples otool -L play play: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.51.1) /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1349.65.0) /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI (compatibility version 1.0.0, current version 69.0.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.5.0) jos@josmbp:/l/stk/projects/examples

josmithiii commented 7 years ago

It looks like the HAL plugin is what brings up JACK. It appears to be associated with PulseAudioOSX.

On Tue, Apr 18, 2017 at 12:53 PM, Julius Smith jos@ccrma.stanford.edu wrote:

I don't see anything JACK related here:

jos@josmbp:/l/stk/projects/examples otool -L play play: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.51.1) /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1349.65.0) /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI (compatibility version 1.0.0, current version 69.0.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.5.0) jos@josmbp:/l/stk/projects/examples

-- Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/

radarsat1 commented 7 years ago

Ok, so it seems to be a problem somehow related to JackRouter, which I gather is a CoreAudio driver that links CoreAudio to Jack. I don't want to pass the buck, but it may be more a problem with Jack than with RtAudio/STK. Can you follow up the error messages a bit? Do these files/symlinks exist for you?

ls -l /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter
ls -l /System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp
josmithiii commented 7 years ago

Yes, I have the first one:

ls -l /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter -rwxrwxr-x 1 jos admin 838472 Aug 3 2012 /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter

ls -l /System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp ls: /System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp: No such file or directory

On Tue, Apr 18, 2017 at 12:58 PM, Stephen Sinclair <notifications@github.com

wrote:

Ok, so it seems to be a problem somehow related to JackRouter, which I gather is a CoreAudio driver that links CoreAudio to Jack. I don't want to pass the buck, but it may be more a problem with Jack than with RtAudio/STK. Can you follow up the error messages a bit? Do these files/symlinks exist for you?

ls -l /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter ls -l /System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-294961731, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFVNr0sa96uCSTiO48vDjILhqLWfPks5rxRX_gaJpZM4M-e5U .

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/

radarsat1 commented 7 years ago

Hm. I would guess that JackRouter is an executable pointing to a non-existent library.. you could try fixing the symlink to Jackmp or you could try re-installing Jack. Not sure.. it's odd that other CoreAudio programs don't generate the same error.

josmithiii commented 7 years ago

What is the working way to install JACK?

I installed it via MacPorts, which probably can't work because it wants to install everything under /opt/local/.

Thanks,

On Tue, Apr 18, 2017 at 1:12 PM, Stephen Sinclair notifications@github.com wrote:

Hm. I would guess that JackRouter is an executable pointing to a non-existent library.. you could try fixing the symlink to Jackmp or you could try re-installing Jack. Not sure.. it's odd that other CoreAudio programs don't generate the same error.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-294965957, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFYQ1bHQ_t9P_3_on7XgfywMmu5yJks5rxRkngaJpZM4M-e5U .

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/

radarsat1 commented 7 years ago

I'm not sure personally, as I haven't used it on Mac. It might be a problem with the MacPorts package. Only way to know is to query the package author, or try installing Jack from their downloads page: http://jackaudio.org/downloads/

If it really is a Jack problem though, I'm afraid I can't provide much more help :(

josmithiii commented 7 years ago

Thanks for getting us this far!

I'll try downloading and installing directly, and if that fixes it, I'll document for the class.

I imagine configure could detect the situation and fail, insisting on a regular download and not using MacPorts.

On Tue, Apr 18, 2017 at 1:44 PM, Stephen Sinclair notifications@github.com wrote:

I'm not sure personally, as I haven't used it on Mac. It might be a problem with the MacPorts package. Only way to know is to query the package author, or try installing Jack from their downloads page: http://jackaudio.org/downloads/

If it really is a Jack problem though, I'm afraid I can't provide much more help :(

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-294976064, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFYQLtJNgWGFLqZ5iNo7_iOYPnuB4ks5rxSCXgaJpZM4M-e5U .

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/

radarsat1 commented 7 years ago

I would argue that it might be better to fix the MacPorts package if that's the problem ;) But let's see how it goes. Good luck!

josmithiii commented 7 years ago

I think at the very least configure should fail if the Jackmp framework is not found on the Mac, and recommend downloading it directly.

There appears to be no way to install this framework using MacPorts:

jos@josmbp:/l/pc/GeoShred port search jack exodriver @2.5.1_1 (science) The Exodriver is a thin interface (think exoskeleton) to LabJack devices.

jack @0.124.1_1 (audio) Jack Audio Connection Kit

ocaml-bjack @0.1.0_5 (devel, ml) OCaml blocking API to jack

py-LabJackPython @04-24-2014 (python) LabJack Python

py27-LabJackPython @04-24-2014 (python) LabJack Python

qjackctl @0.3.8 (audio) QjackCtl is a simple Qt application to control the JACK sound server daemon.

Found 6 ports. jos@josmbp:/l/pc/GeoShred port contents jack Port jack is not installed. jos@josmbp:/l/pc/GeoShred sudo port install jack Password: ---> Computing dependencies for jack ---> Fetching archive for jack ---> Attempting to fetch jack-0.124.1_1.darwin_16.x86_64.tbz2 from https://packages.macports.org/jack ---> Attempting to fetch jack-0.124.1_1.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/jack ---> Installing jack @0.124.1_1 ---> Activating jack @0.124.1_1 ---> Cleaning jack ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. jos@josmbp:/l/pc/GeoShred port contents jack Port jack contains: /opt/local/bin/jack_alias /opt/local/bin/jack_bufsize /opt/local/bin/jack_connect /opt/local/bin/jack_disconnect /opt/local/bin/jack_evmon /opt/local/bin/jack_freewheel /opt/local/bin/jack_impulse_grabber /opt/local/bin/jack_iodelay /opt/local/bin/jack_latent_client /opt/local/bin/jack_load /opt/local/bin/jack_load_test /opt/local/bin/jack_lsp /opt/local/bin/jack_metro /opt/local/bin/jack_midi_dump /opt/local/bin/jack_midiseq /opt/local/bin/jack_midisine /opt/local/bin/jack_monitor_client /opt/local/bin/jack_netsource /opt/local/bin/jack_property /opt/local/bin/jack_rec /opt/local/bin/jack_samplerate /opt/local/bin/jack_server_control /opt/local/bin/jack_session_notify /opt/local/bin/jack_showtime /opt/local/bin/jack_simple_client /opt/local/bin/jack_simple_session_client /opt/local/bin/jack_transport /opt/local/bin/jack_transport_client /opt/local/bin/jack_unload /opt/local/bin/jack_wait /opt/local/bin/jackd /opt/local/include/jack/control.h /opt/local/include/jack/intclient.h /opt/local/include/jack/jack.h /opt/local/include/jack/jslist.h /opt/local/include/jack/metadata.h /opt/local/include/jack/midiport.h /opt/local/include/jack/ringbuffer.h /opt/local/include/jack/session.h /opt/local/include/jack/statistics.h /opt/local/include/jack/thread.h /opt/local/include/jack/transport.h /opt/local/include/jack/types.h /opt/local/include/jack/uuid.h /opt/local/include/jack/weakjack.h /opt/local/include/jack/weakmacros.h /opt/local/lib/jack/inprocess.so /opt/local/lib/jack/intime.so /opt/local/lib/jack/jack_coreaudio.so /opt/local/lib/jack/jack_dummy.so /opt/local/lib/jack/jack_net.so /opt/local/lib/libjack.0.dylib /opt/local/lib/libjack.dylib /opt/local/lib/libjackserver.0.dylib /opt/local/lib/libjackserver.dylib /opt/local/lib/pkgconfig/jack.pc /opt/local/share/man/man1/jackd.1.gz /opt/local/share/man/man1/jackstart.1.gz jos@josmbp:/l/pc/GeoShred

On Tue, Apr 18, 2017 at 2:12 PM, Stephen Sinclair notifications@github.com wrote:

I would argue that it might be better to fix the MacPorts package if that's the problem ;) But let's see how it goes. Good luck!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-294984076, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFZLGaI-CuSEGLQQXvSwl6qmqUV4fks5rxSclgaJpZM4M-e5U .

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/

josmithiii commented 7 years ago

On Tue, Apr 18, 2017 at 1:44 PM, Stephen Sinclair notifications@github.com wrote:

http://jackaudio.org/downloads/

File not found on all JACK2 downloads!

Guess I'll try the JACK1 source tarball. Sheesh!

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/

josmithiii commented 7 years ago

On Tue, Apr 18, 2017 at 2:20 PM, Julius Smith jos@ccrma.stanford.edu wrote:

Guess I'll try the JACK1 source tarball. Sheesh!

JACK1 will not configure on the Mac:

configure: error: *** JACK requires Berkeley DB libraries (libdb...)

and there is no libdb port in MacPorts!

I'm going to try to find a way to make it stop trying to load JACK instead of trying to make my class (Mac users) install a bunch of tarballs from source.

In the meantime, our workaround is to "port install sox" and use the play command it installs.

Thanks again for your help,

-- Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/

garyscavone commented 7 years ago

I’m on the road and not able to follow this thread completely. However, I have had problems in the past trying to use JACK on a Mac (it does not seem to be well supported). And since CoreAudio is a good quality audio API, with very little latency, I don’t see the point of using JACK on a Mac anyway. Clearly, JACK is trying to “highjack” the audio system.

—gary

On Apr 19, 2017, at 5:33 AM, josmithiii notifications@github.com wrote:

On Tue, Apr 18, 2017 at 2:20 PM, Julius Smith jos@ccrma.stanford.edu wrote:

Guess I'll try the JACK1 source tarball. Sheesh!

JACK1 will not configure on the Mac:

configure: error: *** JACK requires Berkeley DB libraries (libdb...)

and there is no libdb port in MacPorts!

I'm going to try to find a way to make it stop trying to load JACK instead of trying to make my class (Mac users) install a bunch of tarballs from source.

In the meantime, our workaround is to "port install sox" and use the play command it installs.

Thanks again for your help,

  • Julius

-- Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-295187573, or mute the thread https://github.com/notifications/unsubscribe-auth/AFOBpS4_9e-GXIxp-PaM4hTEBJQiRXXVks5rxdUFgaJpZM4M-e5U.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/thestk/stk","title":"thestk/stk","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/thestk/stk"}},"updates":{"snippets":[{"icon":"PERSON","message":"@josmithiii in #69: On Tue, Apr 18, 2017 at 2:20 PM, Julius Smith \u003cjos@ccrma.stanford.edu\u003e wrote:\n\u003e Guess I'll try the JACK1 source tarball. Sheesh!\n\nJACK1 will not configure on the Mac:\n\nconfigure: error: *** JACK requires Berkeley DB libraries (libdb...)\n\nand there is no libdb port in MacPorts!\n\nI'm going to try to find a way to make it stop trying to load JACK\ninstead of trying to make my class (Mac users) install a bunch of\ntarballs from source.\n\nIn the meantime, our workaround is to \"port install sox\" and use the\nplay command it installs.\n\nThanks again for your help,\n- Julius\n\n\n\n\n-- \nJulius O. Smith III \u003cjos@ccrma.stanford.edu\u003e\nProfessor of Music and, by courtesy, Electrical Engineering\nCCRMA, Stanford University\nhttp://ccrma.stanford.edu/~jos/\n"}],"action":{"name":"View Issue","url":"https://github.com/thestk/stk/issues/69#issuecomment-295187573"}}}

radarsat1 commented 7 years ago

Julius, does it work if you simply uninstall Jack completely? I don't fully understand if the intention here is "getting it working", or "getting it working with Jack". Either way, I don't see that RtAudio is doing anything specific with regards to Jack, so it's unclear to me e.g. why sox doesn't produce the same problem.

josmithiii commented 7 years ago

Hi Stephen,

I did try uninstalling JACK and got the same behavior.

I never wanted to use JACK, but evidently PulseAudioOSX is looking for it and failing.

Is it possible to bypass pulse audio in the Mac case?

On Wed, Apr 19, 2017 at 9:39 AM, Stephen Sinclair notifications@github.com wrote:

Julius, does it work if you simply uninstall Jack completely? I don't fully understand if the intention here is "getting it working", or "getting it working with Jack". Either way, I don't see that RtAudio is doing anything specific with regards to Jack, so it's unclear to me e.g. why sox doesn't produce the same problem.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-295337440, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFYeVXnKZWD62m92GVmODNJm6J3Njks5rxjjMgaJpZM4M-e5U .

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/

garyscavone commented 7 years ago

Very strange. I didn’t even know Pulse Audio was working on a Mac. Again, I would hose all Pulse and JACK related installs and stick with the CoreAudio support. I have no clue why a program compiled with CoreAudio support would somehow not work because of a JACK or PulseAudio install.

—gary

On Apr 19, 2017, at 3:58 PM, josmithiii notifications@github.com wrote:

Hi Stephen,

I did try uninstalling JACK and got the same behavior.

I never wanted to use JACK, but evidently PulseAudioOSX is looking for it and failing.

Is it possible to bypass pulse audio in the Mac case?

On Wed, Apr 19, 2017 at 9:39 AM, Stephen Sinclair notifications@github.com wrote:

Julius, does it work if you simply uninstall Jack completely? I don't fully understand if the intention here is "getting it working", or "getting it working with Jack". Either way, I don't see that RtAudio is doing anything specific with regards to Jack, so it's unclear to me e.g. why sox doesn't produce the same problem.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-295337440, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFYeVXnKZWD62m92GVmODNJm6J3Njks5rxjjMgaJpZM4M-e5U .

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/ — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-295414940, or mute the thread https://github.com/notifications/unsubscribe-auth/AFOBpe8G7SqA3nay5hsONoagBLKjBAe_ks5rxmd5gaJpZM4M-e5U.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/thestk/stk","title":"thestk/stk","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/thestk/stk"}},"updates":{"snippets":[{"icon":"PERSON","message":"@josmithiii in #69: Hi Stephen,\n\nI did try uninstalling JACK and got the same behavior.\n\nI never wanted to use JACK, but evidently PulseAudioOSX is looking for it\nand failing.\n\nIs it possible to bypass pulse audio in the Mac case?\n\n\n\nOn Wed, Apr 19, 2017 at 9:39 AM, Stephen Sinclair \u003cnotifications@github.com\u003e\nwrote:\n\n\u003e Julius, does it work if you simply uninstall Jack completely? I don't\n\u003e fully understand if the intention here is \"getting it working\", or \"getting\n\u003e it working with Jack\". Either way, I don't see that RtAudio is doing\n\u003e anything specific with regards to Jack, so it's unclear to me e.g. why sox\n\u003e doesn't produce the same problem.\n\u003e\n\u003e —\n\u003e You are receiving this because you were mentioned.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com/thestk/stk/issues/69#issuecomment-295337440\u003e, or mute\n\u003e the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/ACGVFYeVXnKZWD62m92GVmODNJm6J3Njks5rxjjMgaJpZM4M-e5U\u003e\n\u003e .\n\u003e\n\n\n\n-- \n\nJulius O. Smith III \u003cjos@ccrma.stanford.edu\u003e\nProfessor of Music and, by courtesy, Electrical Engineering\nCCRMA, Stanford University\nhttp://ccrma.stanford.edu/~jos/ \u003chttp://ccrma.stanford.edu/\u003e\n"}],"action":{"name":"View Issue","url":"https://github.com/thestk/stk/issues/69#issuecomment-295414940"}}}

radarsat1 commented 7 years ago

Afraid I don't know either. I use Linux usually, so I don't know much about Mac-related specifics. I imagine that there is a CoreAudio plugin installed deep in your system that needs to be removed or fixed. I do wonder if it could be associated somehow with the default device selected by the Core implementation, maybe if you can get "audioprobe" working in the examples directory it might help figure out if selecting a different device works better.

If the problem is a bad or missing symlink maybe it can be fixed by creating the missing symlink "/System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp", but I have no idea what it should point to. Usually to a .dylib somewhere, is there a Jackmp.dylib file that you could point it at?

You may have to ask the question to the Jack developers or users list. I see on http://www.jackosx.com/ that Stephane Letz is a developer of Jack Audio Router, I think you may know him from the FAUST project, maybe he can be of some help ;) There also seems to be a Yahoo discussion group for user support: https://groups.yahoo.com/neo/groups/jackosx/info

If it does turn out to be related to something that RtAudio is doing, please let us know!

garyscavone commented 7 years ago

One more point I forgot to mention ... you can compile Stk/RtAudio with JACK support on the Mac (I think you use the —with-jack flag to configure), so you could try that.

On Apr 19, 2017, at 9:07 PM, Stephen Sinclair notifications@github.com wrote:

Afraid I don't know either. I use Linux usually, so I don't know much about Mac-related specifics. I imagine that there is a CoreAudio plugin installed deep in your system that needs to be removed or fixed. I do wonder if it could be associated somehow with the default device selected by the Core implementation, maybe if you can get "audioprobe" working in the examples directory it might help figure out if selecting a different device works better.

If the problem is a bad or missing symlink maybe it can be fixed by creating the missing symlink "/System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp", but I have no idea what it should point to. Usually to a .dylib somewhere, is there a Jackmp.dylib file that you could point it at?

You may have to ask the question to the Jack developers or users list. I see on http://www.jackosx.com/ http://www.jackosx.com/ that Stephane Letz is a developer of Jack Audio Router, I think you may know him from the FAUST project, maybe he can be of some help ;) There also seems to be a Yahoo discussion group for user support: https://groups.yahoo.com/neo/groups/jackosx/info https://groups.yahoo.com/neo/groups/jackosx/info If it does turn out to be related to something that RtAudio is doing, please let us know!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-295524195, or mute the thread https://github.com/notifications/unsubscribe-auth/AFOBpbx7VUT-uQ_wIBgi6njrh9xOne5bks5rxq_agaJpZM4M-e5U.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/thestk/stk","title":"thestk/stk","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/thestk/stk"}},"updates":{"snippets":[{"icon":"PERSON","message":"@radarsat1 in #69: Afraid I don't know either. I use Linux usually, so I don't know much about Mac-related specifics. I imagine that there is a CoreAudio plugin installed deep in your system that needs to be removed or fixed. I do wonder if it could be associated somehow with the default device selected by the Core implementation, maybe if you can get \"audioprobe\" working in the examples directory it might help figure out if selecting a different device works better.\r\n\r\nIf the problem is a bad or missing symlink maybe it can be fixed by creating the missing symlink \"/System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp\", but I have no idea what it should point to. Usually to a .dylib somewhere, is there a Jackmp.dylib file that you could point it at?\r\n\r\nYou may have to ask the question to the Jack developers or users list. I see on http://www.jackosx.com/ that Stephane Letz is a developer of Jack Audio Router, I think you may know him from the FAUST project, maybe he can be of some help ;)\r\nThere also seems to be a Yahoo discussion group for user support: https://groups.yahoo.com/neo/groups/jackosx/info\r\n\r\nIf it does turn out to be related to something that RtAudio is doing, please let us know!"}],"action":{"name":"View Issue","url":"https://github.com/thestk/stk/issues/69#issuecomment-295524195"}}}

josmithiii commented 7 years ago

Ok thanks - I will drill down and try more of these ideas asap

It appears to be a common problem, e.g.

https://cycling74.com/forums/standalone-application-error-loading-jackrouter-plugin/

On Thu, Apr 20, 2017 at 5:29 AM, garyscavone notifications@github.com wrote:

One more point I forgot to mention ... you can compile Stk/RtAudio with JACK support on the Mac (I think you use the —with-jack flag to configure), so you could try that.

On Apr 19, 2017, at 9:07 PM, Stephen Sinclair notifications@github.com wrote:

Afraid I don't know either. I use Linux usually, so I don't know much about Mac-related specifics. I imagine that there is a CoreAudio plugin installed deep in your system that needs to be removed or fixed. I do wonder if it could be associated somehow with the default device selected by the Core implementation, maybe if you can get "audioprobe" working in the examples directory it might help figure out if selecting a different device works better.

If the problem is a bad or missing symlink maybe it can be fixed by creating the missing symlink "/System/Library/Frameworks/ Jackmp.framework/Versions/A/Jackmp", but I have no idea what it should point to. Usually to a .dylib somewhere, is there a Jackmp.dylib file that you could point it at?

You may have to ask the question to the Jack developers or users list. I see on http://www.jackosx.com/ http://www.jackosx.com/ that Stephane Letz is a developer of Jack Audio Router, I think you may know him from the FAUST project, maybe he can be of some help ;) There also seems to be a Yahoo discussion group for user support: https://groups.yahoo.com/neo/groups/jackosx/info < https://groups.yahoo.com/neo/groups/jackosx/info> If it does turn out to be related to something that RtAudio is doing, please let us know!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/thestk/stk/issues/69#issuecomment-295524195>, or mute the thread https://github.com/notifications/unsubscribe- auth/AFOBpbx7VUT-uQ_wIBgi6njrh9xOne5bks5rxq_agaJpZM4M-e5U.

{"api_version":"1.0","publisher":{"api_key":" 05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity": {"external_key":"github/thestk/stk","title":"thestk/stk","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/ 143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png"," avatar_image_url":"https://cloud.githubusercontent.com/ assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png ","action":{"name":"Open in GitHub","url":"https://github.com/thestk/stk "}},"updates":{"snippets":[{"icon":"PERSON","message":"@radarsat1 in #69: Afraid I don't know either. I use Linux usually, so I don't know much about Mac-related specifics. I imagine that there is a CoreAudio plugin installed deep in your system that needs to be removed or fixed. I do wonder if it could be associated somehow with the default device selected by the Core implementation, maybe if you can get \"audioprobe\" working in the examples directory it might help figure out if selecting a different device works better.\r\n\r\nIf the problem is a bad or missing symlink maybe it can be fixed by creating the missing symlink \"/System/Library/Frameworks/ Jackmp.framework/Versions/A/Jackmp\", but I have no idea what it should point to. Usually to a .dylib somewhere, is there a Jackmp.dylib file that you could point it at?\r\n\r\nYou may have to ask the question to the Jack developers or users list. I see on http://www.jackosx.com/ that Stephane Letz is a developer of Jack Audio Router, I think you may know him from the FAUST project, maybe he can be of some help ;)\r\nThere also seems to be a Yahoo discussion group for user support: https://groups.yahoo.com/neo/ groups/jackosx/info\r\n\r\nIf it does turn out to be related to something that RtAudio is doing, please let us know!"}],"action":{"name":"View Issue","url":"https://github.com/thestk/stk/issues/69# issuecomment-295524195"}}}

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thestk/stk/issues/69#issuecomment-295718066, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFWNaf3CXeW_23H194siD3j4JzYJyks5rx0-tgaJpZM4M-e5U .

--

Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/

garyscavone commented 7 years ago

This seems to be a "Jack on Mac" issue, not anything specific to STK.