04-09-2012 07:20 PM
OK, you are already working with Roberto. I added him to the thread with the other RIM folks - who are a tad busy with BB10Jam/BBWorld, but we will see what we can do.
04-09-2012 08:23 PM - edited 04-09-2012 08:43 PM
A quick update on lmuller and my progress on the openFrameworks port of the audio.
We seem to have audio working now using SDL for PlayBook. Of course, we'd still love to use PortAudio instead if that gets ported over. We tried for a few days to use the QSA API directly but were having a hard time getting everything working properly. We still haven't figured out exactly what SDL is doing differently than us, but we're happy it's working for now.
Here's a video of the basic openFramewokrs synthesis example. The Y-axis is pitch and X-axies is paning:
And here's our app 'NodeBeat' that'll we'll be submitting to AppWorld once we finish the details. All the audio (except drums) is synthesised in real-time.
Lastly, here's a video of all the openFrameworks examples running (this was before we fixed the audio):
We'll be committing the new SDL-based code to our github in the next day or so. We still need to test this on the actual PlayBook. lmuller's is 'in the shop' and I still need to get one (gifts are welcome hah!).
04-10-2012 12:58 PM
Small update, major thanks to Seth for implementing the SoundStreamer class with SDL!
I received my PlayBook back from servicing, so here is the NodeBeat Beta running on real hardware (its very responsive compared to Android):
and all the demos:
The updated OF code is as usual on GitHub.
04-10-2012 08:04 PM
Let's coordinate on Boost. There is an internal port/consolidation that is making its (slow) way out.
But, yes, if you already ported Boost, let's coordinate
04-11-2012 08:03 AM - edited 04-11-2012 08:05 AM
As mentioned in my README.txt of ofxQNX:
* Boost - http://www.boost.org/ - Included version is 1.49.0 - Required because "std::tr1::shared_ptr" and "std::tr1::weak_ptr" are not available from the Native SDK (#include <boost/tr1/memory.hpp>) - The included version has been stripped down for use with openFrameworks.
I actually didnt had to patch anything to make it work with OF (its headers only)
04-24-2012 07:07 PM - edited 04-24-2012 07:46 PM
Just a small update on ofxQNX, the addon is I would say in a pretty good and usable state now. With NodeBeat as our guinea pig, it seems to run just fine.
I recently added some minor fixes and also added support for keyboard input today. To help out other devs, I created a screencast ( http://www.youtube.com/watch?v=CwQGHQN5fAA ) that shows how to setup ofxQNX from scratch and build one of the examples. I will probably make a blog post about ofxQNX later this week.
The only part that is still lacking in ofxQNX is the VideoGrabber and the SoundPlayer. Since the current Native sdk doesnt have access to the cameras, I'll postpone the VideoGrabber implementation until the next OS update (It would be a killer combo with OpenCV).
For the SoundPlayer I was planning to use OpenAL since I saw that there was already an implementation in the repository. Unfortunately that class fails to compile due to the need of libsndfile. I tried to download the source from http://www.mega-nerd.com/libsndfile/ . The website says it supports qnx 6.0 (the playbook runs qnx 6.5) but when trying to compile it with QCC, it fails.