Detect a knock/clap to iPhone/iPad [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am planning to develop an gyroscope based project like TipSkip, handle event knock to device from behind or detect a clap ,I searched google but I didn't find anything except core motion guide and event handling guide.
Thanks for any help

Detecting a clap requires audio recognition i.e. frequency analysis. There is no better source than Apple's own AurioTouch example for FFT. There is fairly good material about FFT and auriotouch online as well, like this.
As for the knocks, accelerometer is the way to go and you just need value recognition for the kind of movements your knock generate.

Related

Any way at all of improving iOS current location? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
I am on a search for ultra accurate gps for iOS development. CoreLocations best is still 10 metres off most times, and jumps about. Within the commercial bounds of iOS development, is this defiantly the very best accuracy we have? Any work arounds? Interested to know how close to perfection i can get it.
I know this is not a normal code question, but it's relevant and will help many others too.
Unfortunately 10 meters is an ideal accuracy for iPhone. In real it may be even worse. If you are developing some kind of fitness application take a look at Kalman filter. It allows to get pretty accurate track on iPhone data.

World Clock app for ios [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I would like to replicate the default clock app in my app. Is there any way i can use the default app in my application or i should create a new one inside my app.I would be needing the world clock function in my app , What is the best method to implement it? Thanks in advance.
No, you cannot re-use the current 'World Clock' app within your own. You are going to have to replicate this functionality yourself.
CocoaControls does have a number of open source 'clock' controls that you might find useful.

Send array from osx to iOS on demand Objective C [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
How do I send an array through the internet from an OSX computer to an IOS device, Sorry I don't know to much about Objective C I am planning on creation an application and I haven't yet started creating it.
Thanks
What you basically want to do is use your OS X as a server. and then download information from there. If you are new to Objective-C I would recommend you read some tutorials before you get started.
Here you can find some general iOS tutorials: http://www.raywenderlich.com/tutorials
Here you can find one on NSURLSession (connecting to servers): http://www.raywenderlich.com/51127/nsurlsession-tutorial
Do some research before starting, or else it will probably result in a bad architected code. There also are several Stack Overflow questions with good references.

iOS: Can I use current speed to play sound? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
So I am planning to build a basic app that does the following:
When app is turned on:
track the speed
once speed is over threshold
play sound
the 'sound' is randomly picked from an array of sound.
I know iOS is known for being restrictive so I've planned my app
using as less resources as possible.
Thanks in advance!
If you just want a YES/NO answer then the answer is YES, you can do all of those things...

Generating a piano note [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am using Objective-C and I would like to generate a piano note. I don't want to use/embed a file at all; I want the phone to generate this sound some how. I don't know if I should be using CoreMIDI to do this (and if I do, I don't know how to use it) or CoreAudio or something else. Any suggestions?
This might a bit of an overkill, but if you want to do something more than generating a piano note, and work with musical generation you might want to have a look at this :
http://chuck.cs.princeton.edu/
It's a programming language that allows (among other things) to synthesise audio.
It has been the base for some music applications published on iOs, namely the ones by Smule.

Resources