Generating a piano note [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 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.

Related

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.

Export text from App to Numbers/Excel [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
Is it possible to program without using a database to export text directly to a Numbers or Excel document?
I mean if you have like "name", "phonenr", "date" etc. and you want to send and save it to an excel/numbers document. Is it possible to do it by code ?
I know how to send the text as an email with code, just don't know if its possible to save it to excel/numbers document.
Tried to search for a solution to this but only thing I found was going through a db. I was thinking of avoiding it as far as I can to simplify my application. (Haven't started yet, so I don't have any example how it will look like). Hope this explanation of was enough, ask if you don't understand it :)
yeahm you can do that by using excel lib for the language you are using,
http://www.vogella.com/articles/JavaExcel/article.html
for ios: http://sourceforge.net/projects/xlslib/

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...

Detect a knock/clap to iPhone/iPad [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 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.

Resources