Code Monkey home page Code Monkey logo

Comments (6)

sudheerkumar109 avatar sudheerkumar109 commented on July 26, 2024 2

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.

from novocaine.

alexbw avatar alexbw commented on July 26, 2024

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

from novocaine.

rossbertsch avatar rossbertsch commented on July 26, 2024

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

from novocaine.

alexbw avatar alexbw commented on July 26, 2024

rbertsch8, how's it going? Any progress?

from novocaine.

 avatar commented on July 26, 2024

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

from novocaine.

 avatar commented on July 26, 2024

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

best

from novocaine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.