Code Monkey home page Code Monkey logo

Comments (16)

timothyschoen avatar timothyschoen commented on May 30, 2024

Thanks for testing and reporting! I will investigate this soon, I'm on Monterey on M1 myself so I'm surprised it doesn't work. Possibly it can't initialise because it's not allowed to access the filesystem? If you could build and debug in Xcode and tell me where it hangs, that would help a lot!

from plugdata.

carlca avatar carlca commented on May 30, 2024

I'm happy to try the Xcode thing. What project do I load into Xcode?

from plugdata.

timothyschoen avatar timothyschoen commented on May 30, 2024

I'm able to reproduce the hanging standalone issue by running it on another MacBook, so I think I'll be able to figure it out! I'll also try running the VST in Bitwig, I've currently tested it mostly in Reaper and Logic.

If you want to investigate it in Xcode, I'd recommend running

cmake -DCMAKE_BUILD_TYPE=Debug -G Xcode ..

Then open the generated project and run the Standalone.

from plugdata.

carlca avatar carlca commented on May 30, 2024

I'm running cmake -DCMAKE_BUILD_TYPE=Debug -G Xcode .. from the Build folder, and getting this message...

CMake Error: Error: generator : Xcode
Does not match the generator used previously: Unix Makefiles
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.

Any ideas?

from plugdata.

timothyschoen avatar timothyschoen commented on May 30, 2024

Oh sorry, forgot to mention, you need to empty out the build folder first.

from plugdata.

carlca avatar carlca commented on May 30, 2024

All I'm getting when I try to debug PlugData is this small message...
Screenshot 2022-01-03 at 22 07 05

from plugdata.

carlca avatar carlca commented on May 30, 2024

I'm a little out of my depth here. Perhaps I'll let you carry on with this, as you seem to know what you are doing 😉

from plugdata.

timothyschoen avatar timothyschoen commented on May 30, 2024

Thanks for the information, I think I can figure it out from here! I'll let you know when it's fixed

from plugdata.

carlca avatar carlca commented on May 30, 2024

Cool! Thanks for your help, and thanks for the app itself.

You know I mentioned the VST crashing. It's done it again. I got these two Bitwig messages. It seems to happen after a period of zero activity after about 15 minutes or so.

Screenshot 2022-01-03 at 22 14 52

from plugdata.

timothyschoen avatar timothyschoen commented on May 30, 2024

That's useful, I'll try to replicate this. Looks like a deadlock...

The other bug is also caused by some sort of deadlock immediately after starting up, which is strange. It doesn't happen in an older version so it should be fixable.

from plugdata.

timothyschoen avatar timothyschoen commented on May 30, 2024

I think I solved the standalone issue! It was caused by the audio settings dialog trying to load before the audio was ready. Could you pull the changed and see if it works now?

from plugdata.

timothyschoen avatar timothyschoen commented on May 30, 2024

I've also found the reason for the crashes in Bitwig, the same thing happened in some other DAWs. It should be fixed now, if you can confirm it I'll close the issue.

from plugdata.

carlca avatar carlca commented on May 30, 2024

Sorry for the delay. I've rebuilt everything and the Standalone and the VST all seem to work.
However, one slight change has occurred which may be my mistake, but I don't know. I tried to recreate the second of the example screenshots. When I did this last night, the app worked and appeared to respond to Mouse Move events. Now, when I do this it is responding to Mouse Down and Mouse Up click events. here is the pd,,,

#N canvas 827 239 527 327 12;
#X obj 93 41 mouse;
#X obj 58 114 changed;
#X obj 80 176 print Hello World;
#X connect 0 0 1 0;
#X connect 1 0 2 0;

As far as I can tell, this is exactly the same test script that I created last night.
Your thoughts?

from plugdata.

carlca avatar carlca commented on May 30, 2024

Aha! It was my mistake. Last night I had the cable connected to the middle port of the mouse object, whereas just now I used the left hand port. Time for me to RTFM, I think 😉

from plugdata.

timothyschoen avatar timothyschoen commented on May 30, 2024

Thanks for reporting these bugs, it would've taken me a while to find them myself!

from plugdata.

carlca avatar carlca commented on May 30, 2024

Thanks for putting the package together! It adds yet another string to my bow 😉

from plugdata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.