Comments (8)
No known issues. Are you running the audioIn/audioOut functions with the ofxPd object?
from ofxpd.
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.
I have no idea. metro has always worked as is in the test patches. Does pdExample work?
from ofxpd.
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.
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.
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.
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.
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)
- [question] there's any way to avoid libPd compile build for Windows / VS 2017? HOT 26
- Using ProjectGenerator to create an iOS ofxPd project? HOT 2
- iOS can not find my patch HOT 2
- Use keyboard input on iOS? HOT 1
- error compiling pdMultiExample with PDINSTANCE and PDTHREADS HOT 9
- pdMultiExample crashes with PDINSTANCE and PDTHREADS HOT 13
- ofxPd stops recieving messages (bangs) when ofxMidi is currently running on ios HOT 1
- background audio on android and back button issue HOT 10
- writesf~ file doesn't get created on iOS 15 HOT 7
- update libpd header link HOT 1
- pd.closePatch() not working with Emscripten HOT 7
- Is it possible to load local audio files (with the file browser) into ofxPd? HOT 1
- cannot convert argument 1 from 'void *' to 't_pd *' HOT 10
- audioReceived & audioRequested deprecated HOT 2
- Emscripten compatible version HOT 1
- Building in Visual Studio with custom externals HOT 2
- linking error while building on win11/mingw64 HOT 6
- Cannot run ofxPdโs Example HOT 2
- Unable to detect endianness HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofxpd.