Is it possible to split work up between multiple devices (GPUs), like you can with CUDA? How does this look in code?
Hard to find proper documentation for DirectCompute, and the SDK doesn't show any examples of this.
Related
I want to use C++ library which makes it easy to build high-performance audio apps
https://github.com/google/oboe
Google Oboe seems for Android
can i somehow use it for iOS also ? or any similar alternative for iOS ?
I don't want to use Superpowered because of their licence terms!
There are no plans to release an iOS version of Oboe at present. You could look at FMOD or JUCE.
If I remember correctly (from videos of demos at events), The development of this library came from people heavily involved with the Google Android infrastructure, and thus the Oboe library is highly customized to tackle the low-latency short-comings of Android.
This being said, Google would not have the resources to tackle such an intensive and complicated problem for a completely different platform. As well (unfortunately) that wouldn't be in their best interest competitively-speaking.
I have heard of others using Superpowered, but I haven't gotten much info on it honestly, their marketing about it is all fluff, and there isn't any actual useful information, haha. I used Oboe myself, because I needed a dedicated native library.
As for iOS, I found a decent blog page that might be worth checking out: https://exceed7.com/native-audio/
This page suggests using OpenAL for objective-C/Swift. It looks like OpenAL is the similar implementation to OpenSL, which the Oboe library is partially based on. Unity seems to also utilize a library called FMOD (Not familiar with this one myself), as well DonTurner mentioned JUCE?.
So perhaps looking into these would be a good start, although I would assume using OpenAL might have some pretty involved developing, so ready your thinking cap!
Best of luck on your project!
Maybe you are looking for AudioKit
https://github.com/AudioKit/AudioKit
What is the best way to accomplish voice to text for a search box? I don't know if there is a good api to help accomplish this. Or is it better to use the built in voice to text that Apple gave us? I am hoping to get this working for older Iphone devices.
Trying to get something done in spite of Apple's OS restrictions is never a good way to approach things in a maintainable way. There is probably a library out there to do voice-to-text, but the built-in one is device restricted because voice-to-text requires some heavy lifting.
I might be missing something here but it seems that zxing does not support auto-focus. Having done some searches here and on Google I haven't found anything that gives any insight.
E.g. on my iPhone 4 using the sample ScanTest app many of the QR codes are blurry and tricky for the app to recognise.
So, to be a bit more specific:
Does zxing support auto-focus on the iPhone and, if so, how do you implement it?
Hmm ... the camera autofocuses on its own on hardware that is not fixed-focus, unless told to do otherwise, I believe. I think it's possible to do a tap-to-focus thing but zxing doesn't do that.
I have seen some plotting apps for ios, such as Graph It and Quick Graph. I am wondering what libraries they are using for creating plots and how to integrate those libraries into ios apps. Thanks a lot and happy new year.
I don't know the answer for those specific apps, but I can think of some things for you to look at. One is gnuplot--the trouble here might be getting it into suitable form to use as a library rather than using it as a command-line tool, since AFAIK there is no NSTask or fork()-ing under iOS. Another would be to embed PERL; the only real hard part of plotting is evaluating the expression to be plotted, which is trivial in something like PERL. And of course there are other libraries dedicated to expression evaluation which may be more suitable, depending on exactly what you want to plot.
I have an application that saves a user's webcam image using a pc/mac browser.
Is there a way to do the same thing using smart phone cameras within the browser?
I'm not really sure where I would begin. A google search didn't give me many leads.
All the best,
You should be able to do this on the iPhone using UIImageJPEGRepresentation.
This questions describes how to do the same thing on Android.
These are examples for two platforms. Are there any other platforms you are looking to develop your application for?