Brian & all - Just call me stupido. I can't believe i wasted a few days on that offline rendering mumbo.
Playing two queues, one of them muted and producing leveling info and the other playing a file works just fine. Makes me want to jump around and sing! I saw the light! I saw the light! No more darkness. No more night. Now I'm so happy. No sorrow in sight. (I saw the light by Hank Williams) Matt On Wed, Aug 5, 2015 at 9:39 AM, Matthew Pease <[email protected]> wrote: > Hi Brian - > > Thanks for writing back. I was beginning to fear that AQ apis were dead > & the world had moved on to something else. > > The reason I chose Offline rendering is because I'd like to get that > metering data without playback. Of course I could just mute the queue. > But I'd like to maybe be able to at the same time be playing another audio > queue. > > I suppose another way to do this might be to have two audio queues. One > of them fed with the Audio File Stream services network data. The other > audio queue doing the actual playback. > > The more detailed version is that I'd like to provide a Tivo style > ability to seek in the recent history of a stream. I want to display the > entire history of the stream as graph of the levels. So that the user can > see where there is activity within the stream. The app would allow them to > quickly jump to some point in the history. > > Thanks > Matt > > On Wed, Aug 5, 2015 at 7:42 AM, Brian Willoughby <[email protected]> > wrote: > >> Matt, >> >> I'm a little confused about your exact goal. Metering is generally shown >> visually in real time, and I assume your mp3 stream is also real time, so I >> don't understand why you would be trying to work with offline rendering. >> >> Assuming that you're converting the mp3 stream to audio as it arrives in >> real time, then you should be able to obtain level metering data from the >> Float32 audio stream that's being sent through CoreAudio. >> >> Offline processing is for running through data faster than you can listen >> to it (or slower, if the processing is really heavy). >> >> Brian Willoughby >> Sound Consulting >> >> >> On Aug 4, 2015, at 1:19 AM, Matthew Pease <[email protected]> wrote: >> > I'd like to obtain level metering data while the incoming mp3 stream >> arrives. About 4 or 5 years back I asked this mailing list how to do this >> & the answer at that time was to use an offline render queue. (actually my >> question at that time was about panning) >> > >> > My idea then was to translate an incoming stream into a PCM file & >> obtain metering at the same time by using an offline queue. >> > >> > I'm having lots of trouble getting this to work though . The Offline >> render queue seems to be a black art. Using the AQOfflineRenderTest as an >> example: For example if you simply change the size of the capture buffer >> to 1/4 the input buffer, it no longer works. But why?? >> > >> > Is the recommended way to do this still AQ offline rendering or is >> there an easier way? >> >> >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
