pcm Questions
2
Solved
I'd like to build a an audio visualizer display using led strips to be used at parties. Building the display and programming the rendering engine is fairly straightforward, but I don't have any exp...
Armijo asked 8/5, 2014 at 3:46
0
I am trying to create a stereo sine WAV in C, with the possibility to have a different (and possibly blank) left and right channels.
A tone is generated for each channel with this function:
int16...
Osmium asked 18/4, 2014 at 3:12
5
Solved
I am starting out with audio recording using my Android smartphone.
I successfully saved voice recordings to a PCM file. When I parse the data and print out the signed, 16-bit values, I can create...
Andra asked 4/5, 2011 at 22:14
3
Solved
0
I've trying to calculate peak frequency from android mic buffer as per this How to get frequency from fft result? .
Unfortunatly i'm getting wrong values. Even i played a tone in 18Khz,but i'm not ...
Imprint asked 19/2, 2014 at 14:4
6
I'm trying to implement
AudioRecord (MIC) ->
PCM -> AAC Encoder
AAC -> PCM Decode
-> AudioTrack?? (SPEAKER)
with MediaCodec on Android 4.1+ (API16).
Firstly, I successfully (but ...
Shayne asked 15/2, 2014 at 22:17
1
I'm streaming recorded PCM audio from a browser with web audio api.
I'm streaming it with binaryJS (websocket connection) to a nodejs server and I'm trying to play that stream on the server using ...
Durer asked 2/1, 2014 at 4:3
1
I want to decode audio files to raw PCM data to stream it to a playback device in the local network. I use the new MediaExtractor and MediaCodec classes, introduced with API level 16, for that. The...
Upturned asked 17/12, 2013 at 13:45
1
I need to generate 2 sine wave tones with different frequency and play them separately into right and left channel in stereo mode on Android.
This is my code:
int sample;
double sampleRate;
doub...
1
Solved
I'm currently working on a VOIP project for iOS.
I use AudioUnits to get data from the mic and play sounds.
My main app is written in C# (Xamarin) and uses a C++ library for faster audio and codec ...
0
I use ffmpeg to decode audio and use libmp3lame to encode it into mp3. As libmp3lame inside ffmpeg needs S16P instead of S16, I have to convert audio samples.
I tried using swr_convert but everyti...
2
Solved
I'm trying to encode raw pcm data as uLaw to save on the bandwidth required to transmit speech data.
I have come across a class called UlawEncoderInputStream on This page but there is no documenta...
10
Solved
I've got a 44Khz audio stream from a CD, represented as an array of 16 bit PCM samples. I'd like to cut it down to an 11KHz stream. How do I do that? From my days of engineering class many years ag...
Fortification asked 26/10, 2008 at 18:12
1
Solved
I am receiving an interleaved 16 bit PCM samples over the wire. Each sample is signed
I read it as Int16bit array, lets call this ALL_DATA. So each of the array entries is a a 16 bit sample.
Bec...
Follansbee asked 4/6, 2013 at 19:26
3
Solved
I am decoding aac to pcm with ffmpeg with avcodec_decode_audio3. However it decodes into AV_SAMPLE_FMT_FLTP sample format (PCM 32bit Float Planar) and i need AV_SAMPLE_FMT_S16 (PCM 16 bit signed - ...
Yettie asked 20/2, 2013 at 20:35
2
Solved
I'm using jLayer to decode MP3 data, with this call:
SampleBuffer output = (SampleBuffer) decoder.decodeFrame(frameHeader, bitstream);
This call which returns the decoded data, returns an array ...
2
Solved
I writing small program which need to detect sound level and write it if level higher than set in settings, i done sound capturing via portaudio, compressing via libvorbis, but one part of program ...
Emigration asked 21/2, 2013 at 12:50
2
Solved
I'm receiving a series of UDP packets from a socket containing encoded PCM buffers. After decoding them, I'm left with an int16 * audio buffer, which I'd like to immediately play back.
The intende...
3
Solved
How to correctly read decoded PCM samples on iOS using AVAssetReader -- currently incorrect decoding
I am currently working on an application as part of my Bachelor in Computer Science. The application will correlate data from the iPhone hardware (accelerometer, gps) and music that is being played...
Ellary asked 20/2, 2012 at 16:3
2
What is the difference between Linear Quantization and Non-linear Quantization ? I'm talking with regard to PCM samples.
http://www.blurtit.com/q927781.html has an article about it but I'm looking ...
Epencephalon asked 16/3, 2011 at 6:51
1
Solved
I am writing a music player and I want to normalize the audio volume across different songs.
I could think of some different ways to do this, e.g.:
Go through all PCM samples (assume float...
Floozy asked 18/9, 2012 at 16:51
2
I am having trouble understanding how I should pass PCM data from the mic to this FFT class I am using made by Piotr Wendykier (it's the DoubleFFT_1D class in JTransforms).
I think I have to retur...
4
I am trying to extract raw PCM samples from an MP3 in the iPod Library so that I can play the song and manipulate the pitch, tempo, and apply sound effects (such as filters). I have already gone do...
Nugent asked 25/1, 2011 at 17:11
2
I currently have a PCM audio in the form of a byte array. The format is signed 16 bit little endian. I would like to convert this to some playable format on the Android, preferably version 3.2 or h...
Pino asked 29/6, 2012 at 19:16
4
I have been messing around with the AudioRecord feature of the Android API and found some strange behaviors with it.
Background info:
My phone is a HTC Incredible
I am using the Eclipse plugin fo...
Housebroken asked 16/1, 2011 at 20:56
© 2022 - 2024 — McMap. All rights reserved.