Search found 4 matches

by Anish.kumar
Mon Jul 20, 2015 4:08 pm
Forum: General Audio Programming
Topic: Separating stereo buffers in individual mono buffers
Replies: 5
Views: 1512

Re: Separating stereo buffers in individual mono buffers

I now find the problem. Audacity goes by what you give as input i.e. in my case i was giving number of channels as 2 so probably that was the reason it was just displaying two channels with same mono data right? I have just one more question is that my separated out buffer size is 892kb but stereo b...
by Anish.kumar
Sun Jul 19, 2015 9:03 pm
Forum: General Audio Programming
Topic: Separating stereo buffers in individual mono buffers
Replies: 5
Views: 1512

Re: Separating stereo buffers in individual mono buffers

Hello, I just wanted to know how does the audacity parses the raw pcm buffer and separate out left and right buffer? I see the code in importPCM.cpp as below: if (block) { for(c=0; c<mInfo.channels; c++) { if (mFormat==int16Sample) { for(int j=0; j<block; j++) ((short *)buffer)[j] = ((short *)srcbuf...
by Anish.kumar
Sun Jul 19, 2015 7:35 pm
Forum: General Audio Programming
Topic: Separating stereo buffers in individual mono buffers
Replies: 5
Views: 1512

Re: Separating stereo buffers in individual mono buffers

I have moved the query to http://sound.stackexchange.com/question ... -and-right this place as this seems to be the right place to post audio related queries.
by Anish.kumar
Sun Jul 19, 2015 4:47 pm
Forum: General Audio Programming
Topic: Separating stereo buffers in individual mono buffers
Replies: 5
Views: 1512

Separating stereo buffers in individual mono buffers

Hello, This is my first post in audacity. I have been using audacity a lot for all my android projects and now have come across a problem for which I need audio experts advice. http://stackoverflow.com/q/31494841/3903331 I have succinctly posted the problem here but couldn't get any reply and reason...