Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tutorials > Tutorial Requests

Reply
 
LinkBack Thread Tools Display Modes
Old 07-22-2010, 04:20 AM   #1 (permalink)
Registered Member
 
06agrant's Avatar
 
Join Date: Jul 2010
Posts: 10
06agrant is on a distinguished road
Lightbulb Very new developer needing help!

Firstly I am 15 years old. I have never done any sort of programming before and I see it as a market which could be interesting and fun. I recently had an idea for a useful iPhone app designed to help young violinists learn the different parts of the Grade 1 exam, scales and arpeggios for example. If the app gets decent feedback I would probably move on to higher grades and standards of playing the violin. the basis of this is an apple signature rollerwheel if you know what I mean (if you don't, I don't blame you, I probably used the wrong terminology. There is one at the bottom of this image static.flickr.com/3611/3574699336_bfa3e47493.jpg) with list of different scales that when you choose one and press play it would play a particular *.wav file.
Thanks in advance and hope to hear from you soon.
Alex Grant
06agrant is offline   Reply With Quote
Old 07-23-2010, 01:49 PM   #2 (permalink)
Nerd.
 
Join Date: Jun 2010
Location: In a house
Posts: 458
BillyGiggles is on a distinguished road
Default

I Can tell you how to play the scale dow you want me to tell you?
BillyGiggles is offline   Reply With Quote
Old 08-01-2010, 03:19 AM   #3 (permalink)
Registered Member
 
06agrant's Avatar
 
Join Date: Jul 2010
Posts: 10
06agrant is on a distinguished road
Default

Quote:
Originally Posted by BillyGiggles View Post
I Can tell you how to play the scale dow you want me to tell you?
I have the scales in a .WAV format or can be re-recorded in .MP3 your help would be greatly appreciated. I don't want the app to be 'just another app' I want it to look professional with images etc. Thank you for your help
__________________

Wooo Adobe!
06agrant is offline   Reply With Quote
Old 08-01-2010, 02:34 PM   #4 (permalink)
Nerd.
 
Join Date: Jun 2010
Location: In a house
Posts: 458
BillyGiggles is on a distinguished road
Default

what do you mean can be recorded

im a little younger than you so i can put it as simple as i can

to simple have a button that has a button that says "F# Scale" and whe you touch it it plays you can do this....




fi

start a new project (view based) (or skip this step to add to you existing project) call it i will scale

first we need to add the audio player framework.

so under FrameWorks (in xcode) right or control click on UIKit.frameWork
then click reveal in finder.

scroll to the top and find "AVFoundation.framework"

drag that folder into the frameworks folder in xcode.

When you drag it in you should get a message in xcode at the top there should be a check box and it says "Copy items to destination group folder(if needed)"
un check the box so there is NO check mark on it.

No go into your scaleViewControler.h
make a IBAction and call it playSound (you can call it what ever you want to i would name it what the audio is).

you make the Action by typing this AFTER THE Brackets
{


}

so

put this code without the
@interface tutorial_for_DudeViewController : UIViewController {

}

Code:
@interface tutorial_for_DudeViewController : UIViewController {

}
- (IBAction)playSound;
Now hit command B then save all then go to your viewController .m

below

#import "scaleViewController.h"

type

Code:
#import<AVFoundation/AVAudioPlayer.h>
so the top of you .m file should look like this


Code:
#import "scale.h"
#import<AVFoundation/AVAudioPlayer.h>
@implementation tutorial_for_DudeViewController
Good.


Now go to finder and find the image you want the button to be drag that into the you xcode project check the box that says copy if needed at the top

do the same thing with your audio file

Now we can make the sound play.
below

@implementation scale

type

Code:
- (IBAction)playSound {
	NSString *path = [[NSBundle mainBundle] pathForResource:@"SOUND FILE" ofType:@"wav"];
	AVAudioPlayer* theAudio = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:NULL];
	theAudio.delegate = self;

}
NOTE at the top the IBAction should be the same ibaction that we made in the .h

NOTE the SOUND FILE on line 2 should be the name of your audio file that you dragged in. And the wav should be change to your audio file extension.



To make it look good i would make custom buttons or a program

I use GIMP (its free) and almost as good as photoshop
If you have photoshop i would use that

Make everything custom dont use just a white background use images that you make.

In my app that im working on i have around 200-300 custom images that i made

It makes it look nice
BillyGiggles is offline   Reply With Quote
Old 08-01-2010, 02:35 PM   #5 (permalink)
Nerd.
 
Join Date: Jun 2010
Location: In a house
Posts: 458
BillyGiggles is on a distinguished road
Default

Sorry not "or a program"
I ment "with a program"
BillyGiggles is offline   Reply With Quote
Old 08-01-2010, 03:08 PM   #6 (permalink)
Registered Member
 
06agrant's Avatar
 
Join Date: Jul 2010
Posts: 10
06agrant is on a distinguished road
Default

Quote:
Originally Posted by BillyGiggles View Post
what do you mean can be recorded
I meant recorded as in with an actual instrument and microphone just to clear that up. Thanks for the tutorial it's a great help what kind of app are you working to make? I might buy it when it's ready to say thanks.
__________________

Wooo Adobe!
06agrant is offline   Reply With Quote
Old 08-02-2010, 05:03 PM   #7 (permalink)
Nerd.
 
Join Date: Jun 2010
Location: In a house
Posts: 458
BillyGiggles is on a distinguished road
Default

Mines a music app with intruments like drum sets other things it has mini games to.

Its my first project worth sending to apple so im trying to make it as good as i can
BillyGiggles is offline   Reply With Quote
Old 08-03-2010, 12:21 PM   #8 (permalink)
Registered Member
 
06agrant's Avatar
 
Join Date: Jul 2010
Posts: 10
06agrant is on a distinguished road
Default

Cool when will it be released?
__________________

Wooo Adobe!
06agrant is offline   Reply With Quote
Old 08-03-2010, 04:42 PM   #9 (permalink)
Nerd.
 
Join Date: Jun 2010
Location: In a house
Posts: 458
BillyGiggles is on a distinguished road
Default

It will be a while I'm not done with the iPad version and hantavirus started on the iPhone or iPod touch version

What apps are you working on?
BillyGiggles is offline   Reply With Quote
Old 08-03-2010, 04:43 PM   #10 (permalink)
Nerd.
 
Join Date: Jun 2010
Location: In a house
Posts: 458
BillyGiggles is on a distinguished road
Default

Wooooh how did I spell that I mention I have not started
BillyGiggles is offline   Reply With Quote
Old 08-04-2010, 02:33 AM   #11 (permalink)
Registered Member
 
06agrant's Avatar
 
Join Date: Jul 2010
Posts: 10
06agrant is on a distinguished road
Default

Only this one I'v have a load of coursework to do over the summer so it has taken a back seat but my dad is going to help me. How much profit do you think an average £1.19/$1.89 app makes?
__________________

Wooo Adobe!
06agrant is offline   Reply With Quote
Old 08-04-2010, 06:05 PM   #12 (permalink)
Nerd.
 
Join Date: Jun 2010
Location: In a house
Posts: 458
BillyGiggles is on a distinguished road
Default

I have no idea games like Agry birds and Doodle jump probably make thousands a day and games or apps that no one has notices probably get mabye 5 sales a week
BillyGiggles is offline   Reply With Quote
Old 08-05-2010, 02:20 AM   #13 (permalink)
Registered Member
 
06agrant's Avatar
 
Join Date: Jul 2010
Posts: 10
06agrant is on a distinguished road
Default

I've heard Apple takes 30% of the money 5 sales a week * 4 weeks in a month = 20 sales a month *£1.19 = £23.80 - 30% for apple = £19.83 a month net profit or $31.38 not sure where you are from
__________________

Wooo Adobe!
06agrant is offline   Reply With Quote
Old 08-05-2010, 07:18 AM   #14 (permalink)
Nerd.
 
Join Date: Jun 2010
Location: In a house
Posts: 458
BillyGiggles is on a distinguished road
Default

Wow good math haha I don't know how much most apps make some are really good and get a lot of buyers some apps ARE really good but don't get many buys
I don't think any app "sucks" or is "bad". Because...
If apple accepted it it must be good and it took time for the developer to make it.

Honestly I have no idea how much any apps make you can estimate like see how many buys the app has multiple that by how much the app is the subtract 20 or 30% for apple how ever much they get

Example if a app has 100 buys a week and the app is 2 buCks take

100 times for for the whole month so that's 400 and the app is 2 bucks so that's 400 * 2 that's 800 then minus 20 percent for apple that leaves them making around

800-160 is 640 so they are making around 640 bucks a month
BillyGiggles is offline   Reply With Quote
Old 08-08-2010, 05:53 AM   #15 (permalink)
Registered Member
 
06agrant's Avatar
 
Join Date: Jul 2010
Posts: 10
06agrant is on a distinguished road
Default

Have you got any idea how to get picker wheels to work? And also I'm not sure how to make an interface work.
__________________

Wooo Adobe!
06agrant is offline   Reply With Quote
Old 08-08-2010, 01:34 PM   #16 (permalink)
Nerd.
 
Join Date: Jun 2010
Location: In a house
Posts: 458
BillyGiggles is on a distinguished road
Default

Interface as interface builder?

for picker views you should check out tis video i have not tried it but im sure its good

YouTube - &#x202a;iPhone SDK Tutorial - Populating a UIPickerView with an NSMutableArray&#x202c;&lrm;

here is another on if that one is no good


YouTube - &#x202a;How To Use A UIPickerView&#x202c;&lrm;

Or mabye even these video that are part 1, part 2

YouTube - &#x202a;UIPickerView-Cocoa Touch Tutorial (P1)&#x202c;&lrm;
YouTube - &#x202a;UIPickerView-Cocoa Touch Tutorial (P2)&#x202c;&lrm;

for interface builder you may want to try this....

YouTube - &#x202a;Interface Builder Tutorial&#x202c;&lrm;

I dont know if they are good but you can try em

YouTube - &#x202a;How to program a uipickerview&#x202c;&lrm;

or mabye this one
BillyGiggles is offline   Reply With Quote
Old 08-10-2010, 08:13 AM   #17 (permalink)
Registered Member
 
06agrant's Avatar
 
Join Date: Jul 2010
Posts: 10
06agrant is on a distinguished road
Default

Quote:
Originally Posted by BillyGiggles View Post
Interface as interface builder?
I've built an interface with the builder and I just need to find out how to make that work when i build and run the app in the emulator
__________________

Wooo Adobe!
06agrant is offline   Reply With Quote
Old 08-10-2010, 05:30 PM   #18 (permalink)
Nerd.
 
Join Date: Jun 2010
Location: In a house
Posts: 458
BillyGiggles is on a distinguished road
Default

Did any of those tutorials work?
BillyGiggles is offline   Reply With Quote
Old 08-11-2010, 06:41 PM   #19 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 129
uvidownloader is on a distinguished road
Default

no.
#import <AVFoundation/AVAudioPlayer.h>

AVAudioPlayer *sound;

Reference error
uvidownloader is offline   Reply With Quote
Old 08-12-2010, 09:19 AM   #20 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 138
SpaceAce is on a distinguished road
Default

Quote:
Originally Posted by uvidownloader View Post
no.
#import <AVFoundation/AVAudioPlayer.h>

AVAudioPlayer *sound;

Reference error
Have you added the required framework to your project? (so the needed library gets linked to your app at build stage?)

Importing the definition file alone is not enough...
SpaceAce is offline   Reply With Quote
Reply

Bookmarks

Tags
app idea, audio file, newbe, tutorial

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 440
19 members and 421 guests
cgokey, dcool, Dj_kades, Droverson, givensur, iAppDeveloper, iekei, ipodphone, karatebasker, laureix68, LunarMoon, patapple, Paul Slocum, peterwilli, pipposanta, QuantumDoja, SLIC, Sloshmonster, usernametaken
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,696
Threads: 94,139
Posts: 402,961
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jasper_muc
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:04 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0