Giter Club home page Giter Club logo

Comments (8)

danomatika avatar danomatika commented on July 29, 2024

No known issues. Are you running the audioIn/audioOut functions with the ofxPd object?

from ofxpd.

alexdrymonitis avatar alexdrymonitis commented on July 29, 2024

I wasn't, but tried it after you suggested it and it's still the same. Actually I don't need any audio, so I was trying to not call pd.start(), which worked for sending messages and printing to the console. I now included pd.start() and audioReceived() and audioRequested() but still no dice.

from ofxpd.

danomatika avatar danomatika commented on July 29, 2024

I have no idea. metro has always worked as is in the test patches. Does pdExample work?

from ofxpd.

alexdrymonitis avatar alexdrymonitis commented on July 29, 2024

Yes, pdExample worked fine. I'll try to narrow it down and maybe post some code here, if I can't figure it out.

from ofxpd.

alexdrymonitis avatar alexdrymonitis commented on July 29, 2024

I think it has to do with ALSA, as I'm trying to use ofxPd to sequence OSC messages that I'm receiving in another Pd instance. If I first launch Pd, then [metro] doesn't work in ofxPd. If I launch the OF app first, then I can't run audio in Pd, but [metro] works fine. Is there a solution to this?

from ofxpd.

danomatika avatar danomatika commented on July 29, 2024

I have no idea and have had no issue sending OSC between Pd and an OF app.

If you don't need audio in the OF app, run the ofxPD audioOut function in a loop in the ofApp::update() function with a dummy buffer. Do maybe 8 ticks or so. You could calculate the fake buffer rate using the frame rate and choose the number of ticks to run each frame.

from ofxpd.

alexdrymonitis avatar alexdrymonitis commented on July 29, 2024

Actually, using Jack solved the issue. Both OF and Pd used Jack (I didn't have to do anything in the OF app, since Jack was running, it was chosen by default) and [metro] worked fine. I didn't get any sound from Pd (not from ofxPd), but that's irrelevant. Anyway, I'm closing this issue as it's not related to ofxPd. Thanks for the hints.

from ofxpd.

danomatika avatar danomatika commented on July 29, 2024

I would bring it up on the main openFrameworks repo as perhaps it's a general issue for OF+ALSA on linux.

from ofxpd.

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.