Quantcast

[pipmak-devel] Sound playback issue at >44.1kHz sample rate

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[pipmak-devel] Sound playback issue at >44.1kHz sample rate

jcowen

Hi Everyone,

I'm wondering if anyone has experienced sound playback distortion when
sample rates greater than 44.1kHz are in the game engine? This seems to
occur if the source files are at 48kHz for instance when converted to ogg,
and also when the engine pitches sounds up.

For instance, a 44.1kHz ogg file placed on the knobs in the demo project
building will distort/playback with digital artifacts when the knob is tied
to the pitch variable of that sound.

This is only occurring on the Mac OS 10.5. I have not had the opportunity to
check on Snow Leopard.

Thank you,
JC
--
View this message in context: http://old.nabble.com/Sound-playback-issue-at-%3E44.1kHz-sample-rate-tp26521942p26521942.html
Sent from the pipmak-devel mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Sound playback issue at >44.1kHz sample rate

cwalther
Administrator
jcowen wrote:

> I'm wondering if anyone has experienced sound playback distortion when
> sample rates greater than 44.1kHz are in the game engine? This seems to
> occur if the source files are at 48kHz for instance when converted to ogg,
> and also when the engine pitches sounds up.
>
> For instance, a 44.1kHz ogg file placed on the knobs in the demo project
> building will distort/playback with digital artifacts when the knob is tied
> to the pitch variable of that sound.
>
> This is only occurring on the Mac OS 10.5. I have not had the opportunity to
> check on Snow Leopard.

I see no such issues here, with either 44.1 or 48 kHz files. All I hear
is a slight pop when the pitch changes between exactly 1.0 and >1.0,
otherwise playback is smooth and clear, even at varying pitch. This is
on a MacBookPro2,2 with 10.5.8.

One thing you could try is to use the system-provided OpenAL framework
instead of the one that comes with Pipmak (which is there because OpenAL
was only included in Mac OS from 10.4 on). To do this, right-click
(ctrl-click) on the Pipmak application and choose "Show package
contents". Navigate to Contents/Frameworks and move the folder
OpenAL.framework away (to your desktop or somewhere else outside of the
application package).

  -Christian



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [pipmak-devel] Sound playback issue at >44.1kHz sample rate

jcowen



Christian Walther wrote:

>
> jcowen wrote:
>> I'm wondering if anyone has experienced sound playback distortion when
>> sample rates greater than 44.1kHz are in the game engine?
>
> One thing you could try is to use the system-provided OpenAL framework
> instead of the one that comes with Pipmak (which is there because OpenAL
> was only included in Mac OS from 10.4 on). To do this, right-click
> (ctrl-click) on the Pipmak application and choose "Show package
> contents". Navigate to Contents/Frameworks and move the folder
> OpenAL.framework away (to your desktop or somewhere else outside of the
> application package).
>
>

Thanks Christian! That solved it!

JC
--
View this message in context: http://old.nabble.com/Sound-playback-issue-at-%3E44.1kHz-sample-rate-tp26521942p26566570.html
Sent from the pipmak-devel mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Sound playback issue at >44.1kHz sample rate

cwalther
Administrator
jcowen wrote:
> Thanks Christian! That solved it!

OK, good to know! That means I'll have to use a newer version of the
framework for the next release, rip it out altogether, or find a way of
using the system-provided one in preference to the built-in one.

  -Christian



Loading...