Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding Novocaine to my project #26

Closed
rossbertsch opened this issue Aug 9, 2012 · 6 comments
Closed

adding Novocaine to my project #26

rossbertsch opened this issue Aug 9, 2012 · 6 comments

Comments

@rossbertsch
Copy link

Hi,
First off I would like to say great work and thank you for contributing this open source project, it is much appreciated by many of us.

I'm having a little trouble adding this to my iOS project, and actually i'm not quite sure if this is the best solution for me so I thought I would ask you since you seem to know a good bit about audio.

I am designing an application for kids that allows them to play along with certain songs/stories. I dont need to do any complicated audio processing, all the sounds are going to be pre recorded samples in specific keys. The only manipulation to the audio that I'll need is that I'll need to play up to 6 different audio clips at the same time and I will need to be able to adjust the levels of each audio track.

I tried adding your code to my project but I am having trouble with dependencies... and the whole .mm thing. If you could include a short guide on the easiest way to add this to an existing project it would be greatly appreciated.

@alexbw
Copy link
Owner

alexbw commented Aug 9, 2012

Hey,
This is a good idea to have a tutorial. I'm buried at work, so this probably isnt coming anytime soon. Anyone who wants to create a walk through would get my full support!

A

On Thursday, August 9, 2012 at 9:30 AM, rbertsch8 wrote:

Hi,
First off I would like to say great work and thank you for contributing this open source project, it is much appreciated by many of us.
I'm having a little trouble adding this to my iOS project, and actually i'm not quite sure if this is the best solution for me so I thought I would ask you since you seem to know a good bit about audio.
I am designing an application for kids that allows them to play along with certain songs/stories. I dont need to do any complicated audio processing, all the sounds are going to be pre recorded samples in specific keys. The only manipulation to the audio that I'll need is that I'll need to play up to 6 different audio clips at the same time and I will need to be able to adjust the levels of each audio track.
I tried adding your code to my project but I am having trouble with dependencies... and the whole .mm thing. If you could include a short guide on the easiest way to add this to an existing project it would be greatly appreciated.


Reply to this email directly or view it on GitHub (#26).

@rossbertsch
Copy link
Author

Thanks Alex. Ill keep trying to figure out my dependency issues and post back to here if I figure it out.

@alexbw
Copy link
Owner

alexbw commented Aug 14, 2012

rbertsch8, how's it going? Any progress?

@ghost
Copy link

ghost commented Aug 16, 2012

Hi, just started with novocaine myself. I can give you a few beginners tips.

Dependencies: Check out the demo project and make sure your project uses the same frameworks. Here's a list, you will need those three:

Accelerate.framework, CoreAudio.framework and AudioToolbox.framework.

Objective-C++ tips: Basically all source which include some of Novocaines headers must be mm. Else it won't work and give you compiler errors. That's all.

Further: When you use ARC (what you should do anyway) you will have to add the compiler flag "-fno-objc-arc" to those files: AudioFileReader.mm, AudioFileWriter.mm, RingBuffer.mm, Novocaine.m. You can do this in the Build Phases tab of your project settings. I am sure you will find it.

Best sn_e5

@ghost
Copy link

ghost commented Aug 20, 2012

alexbw, you might close this issue, if you want to. the above comments will certainly help to get anybody started.

best

@alexbw alexbw closed this as completed Aug 20, 2012
@sudheerkumar109
Copy link

I have tried everything . but I am not able to integrate this Novocaine.
Followed all the steps mentioned above.

#if defined (USING_IOS)
@interface Novocaine : NSObject

saying Cannot find protocol declaration for UIAlertViewDelegate

Can somebody help me in integrating this Novocaine files please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants