Live data from Hacker News

Novocaine: painless high-performance audio on iOS and OS X

alexbw.github.com

41–45 of 45 posts

Re: Novocaine: painless high-performance audio on iOS and OS X

#41
post #22

Hey everybody, Novocaine is my baby, and it's completely awesome to see folks already using it. For the record, it's open-source, I just forgot to stick the MIT license at the top. Or would folks prefer BSD? Let me know, I'm flexible. The only thing I care about is that people use it to make awesome software. If anybody's a Boston local, I'll be talking about iOS audio (both novocaine and some fancier frequency analy…

How I wish people could build such things for Linux. Here's a question - what does Linux audio lack for you to be able to pull of something like Novocaine ?

In what sense? Linux has a number of ways of accessing the audio device, from the simple Open Sound System (OSS), to Advanced Linux Sound Architecture (ALSA), and Jack Audio Connection Kit (JACK).

JACK has become the most popular framework for nontrivial sound applications, but there is good support for the other interfaces as well. There is also no major shortage of applications for either sound generation or analysis. Compared to the applications listed, baudline provides a much more through analysis for instance.

Re: Novocaine: painless high-performance audio on iOS and OS X

#42
post #28

Earlier quoted context omitted.

Documentation will be forthcoming. What do you mean by audio sample formats? One of the things I tried to do was make sure that you never, ever, EVER have to think about anything but floating point audio. In my experience, audio comes in as either float or SInt16s (I've never seen fixed-point coming in by default, but I haven't done an enormous amount of odd-peripheral Mac audio), and novocaine just handles it for yo…

I'm working on a VoIP app and the back end requires specific audio formats.

You'd use Novocaine to grab the audio, and then you'd do the audio format conversion yourself. e.g.:

[[Novocaine audioManager] setInputBlock:^(float * inData, UInt32 numSamples, UInt32 numChannels) { for (int i=0; i < numSamples * numChannels; ++i) { dataForVoip[i] = YourType(inData[i]) * someScaling; } }];

Re: Novocaine: painless high-performance audio on iOS and OS X

#43
post #38

Earlier quoted context omitted.

How I wish people could build such things for Linux. Here's a question - what does Linux audio lack for you to be able to pull of something like Novocaine ?

In addition, does Android still suck for low latency audio?

Yes.

http://code.google.com/p/android/issues/detail?id=3434

Re: Novocaine: painless high-performance audio on iOS and OS X

#44
post #22

Hey everybody, Novocaine is my baby, and it's completely awesome to see folks already using it. For the record, it's open-source, I just forgot to stick the MIT license at the top. Or would folks prefer BSD? Let me know, I'm flexible. The only thing I care about is that people use it to make awesome software. If anybody's a Boston local, I'll be talking about iOS audio (both novocaine and some fancier frequency analy…

Wow, this is really useful, I'd love to attend to your conference, but I'm a little too much to the south (Argentina) to attend. Is there any chance to get the conference transcript or a recording of any kind after the event? It'd be of real help in my current project.

Thanks!!

Post reply on HN