Code Monkey home page Code Monkey logo

Comments (11)

yannseznec avatar yannseznec commented on July 22, 2024

slight update: the issue is not just with the first Pd patch, I've just tried opening some of the other patches and they also won't load - I just tried nsynth.pd and nsynthosc.pd, for example, and they didn't work either.

also, if it's any clue, I'm doing this on a work computer that is managed by a superuser. I have admin privileges but I don't know if there's some chance that some things could be getting blocked...however I feel like I would not have been able to build pyext and install conda if that were the case.

from deeplearningwithaudio.

SopiMlab avatar SopiMlab commented on July 22, 2024

from deeplearningwithaudio.

yannseznec avatar yannseznec commented on July 22, 2024

Excellent, thanks - yes I'm pretty certain that pyext is all set up correctly, here's a screenshot of the Pd window when I start up.

Screenshot 2021-10-05 at 09 33 32

from deeplearningwithaudio.

ahihi avatar ahihi commented on July 22, 2024

hi,

just wanted to note that we don't currently have access to M1 macs, and so this code has only been tested on Intel. i'm pretty sure the codebase still has some memory related bugs and it's possible those are more fatal on the M1, or that there's some other kind of compatibility issue. if you're comfortable with debugging tools like Valgrind, it would be really interesting to find out where things are going wrong. but other than that i'm afraid i can't be of much help at the moment.

from deeplearningwithaudio.

yannseznec avatar yannseznec commented on July 22, 2024

hmmm ok, so currently there are two big unknowns:

  • is this due to the M1 chip?
  • is this due to my computer being managed by my university, despite me having admin privileges. perhaps the communication between Pd and Python is being blocked?

There are certainly a number of other possible issues, but if anyone can shed any light on those two ideas that would be great.

from deeplearningwithaudio.

ahihi avatar ahihi commented on July 22, 2024

the second case seems unlikely to me - i'd imagine any such restriction would break a lot of other things too.

some things you could try to maybe narrow down the issue:

  • see if you can open any of the pyext example patches, e.g. simple-1.pd (you'll probably have to move the python files from scripts into pd where the patches are)
  • if not, what happens if you create a new patch and add a simple py object like pym 2 +? are you able to compute with it? (send a number to inlets 2 and 3, then a bang to inlet 1 and check what comes out of outlet 1)

from deeplearningwithaudio.

yannseznec avatar yannseznec commented on July 22, 2024

I hadn't noticed the pyext example patches, thanks for that - I can't seem to get any of them to work - I get an error message in the pd window saying "pyext simple ex1 ....couldn't create"

this is a bit confusing, as the Pd window says it is loading the py/pyext 0.2.2 library on startup! however, it's certainly a good sign in terms of tracking down the issue. perhaps I didn't build the objects correctly after all!

on the other hand, the [pym] object seems to work fine, it loads and I am able to do the simple addition like you described.

from deeplearningwithaudio.

ahihi avatar ahihi commented on July 22, 2024

is there any information before the "couldn't create"? usually you should get a slightly more specific error message.

from deeplearningwithaudio.

yannseznec avatar yannseznec commented on July 22, 2024

oh yes you're right:
ModuleNotFoundError: No module named 'simple'
Screenshot 2021-10-06 at 16 00 09

from deeplearningwithaudio.

ahihi avatar ahihi commented on July 22, 2024

this sounds like it can't find the simple.py file, hence:

you'll probably have to move the python files from scripts into pd where the patches are

from deeplearningwithaudio.

yannseznec avatar yannseznec commented on July 22, 2024

oh gosh my apologies, I totally overlooked that.

when I move the scripts into the same folder where the patches are, there is some "progress" - the patch does not launch at all. it exhibits the same behaviour as when I try to launch the ai_duet patch as described originally, it just quietly hangs without a spinning wheel or anything, and a patch window never opens up.

from deeplearningwithaudio.

Related Issues (9)

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.