To @alexbw and friends, First of all thanks for this great piece of code. I have pcm data (signed 16 bit big endian) in a byte array and I want to play it with Novocaine AudioManager setOutputBlock. I understand I first need to convert to a float array. Or is there a faster way? Cheers Philippe
injecting a pcm s16be array into novocaine audiomanager
111 Views Asked by user2323108 At
1
There are 1 best solutions below
Related Questions in PCM
- Convert AMRWB IO Raw speech data to wav file
- Using MAX 9814 PCM data to create a .WAV file
- RPi Linux Audio driver for 8 channels Codec
- Clicking/distortion noise at start of mixed audio in java
- BlueALSA loopback - PCM write
- Pcm to decibel conversion in esp-idf using pdm microphone
- Playing AAC stream in AVAudioEngine
- How to convert Float32Array PCM data into Uint8Array?
- Identify and Decode Opus stream to PCM
- I can't seem to play an audio file in my C# .NET Windows Form programm
- How to save to disk as audio/PCMA
- Web and C# realtime audio via ws
- Clarification about μ-law companding
- I'm trying to convert ulaw PCM to Linear PCM in Java
- Calculate audio time from RecordRTC blob
Related Questions in NOVOCAINE
- Play and stop a sound sample on iOS (Novocaine)
- On iPhone5 got 3 input channels (not 1)
- iOS App asks for microphone access, even for kAudioSessionCategory_MediaPlayback
- injecting a pcm s16be array into novocaine audiomanager
- Novocaine : Saved audio file does not work
- iOS - AudioOutputUnitStop results in app freeze and warning
- Using Novocaine and AVCam together
- IOS, AVAudioSession and Novocaine: how to set the sample rate dynamically?
- Multiple audio and setting volume on Novocaine in iOS
- Is it possible to use Novocaine for audio streaming
- Frequency analysis - Novocaine and playthrough by mic: how to disable speaker output?
- Active noise cancellation with Novocaine
- How to get the decibels at specific frequency using Novocaine
- 10 Band Equaliser using NOVOCAINE
- Low latency input/output AudioQueue
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Late, but for anyone else reading:
You can use the Accelerate framework here:
float *float_data = malloc(sizeof(float) * numFrames); vDSP_vflt16(my_s16_data, 1, float_data, 1, numFrames); //Scaling [-32768, 32768] to [-1, 1] float scale = 1.0 / (float)INT16_MAX; vDSP_vsmul(float_data, 1, &scale, float_data, 1, numFrames);And "float_data" will now have the float equivalent.