Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sound question!

Nexus Nash
Undercover Linden
Join date: 18 Dec 2002
Posts: 1,084
12-19-2003 20:26
Ok, I posted an MP3 post a while back asking to get something with a higher compression then wavs. But then someone said that SL compresses the wav into something else. Well I ran some tests and it seems that SL compresses the wavs that I upload into something BIGGER! I uploaded a 8-bit mono channel wav. To stream it requires about 45k\sec. When I try to stream it in SL with my new buffer script, at a connection rate of 100k\sec I can't keep up and it gets all choppy. I got the 100k\sec by looking out to nothing (water) I waited until everythin was loaded... I was hovering at like 5k\sec. Then I hit play on my player and my bars go right up to 100k\sec the first couple clips play fine, but around #5 it starts cliping and the sound queue starts getting bigger. (I did all this after emptying my cache for SL, so I had non of my sounds preloaded before the signal was given by the script.

So my question is this, why can't I hear a steady stream of ~45k\sec when SL is downloaded at over 100k\sec?

BTW everything works fine when I listen the second time around, (everything is already loaded on my HD)
_____________________
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
12-19-2003 20:57
Have you tryed this on 1.2, With the onset of v1.1, sound preloading/playing was kind of messed up.
si Money
The nice demon.
Join date: 21 May 2003
Posts: 477
Re: Sound question!
12-19-2003 21:34
From: someone
Originally posted by Nexus Nash
Ok, I posted an MP3 post a while back asking to get something with a higher compression then wavs. But then someone said that SL compresses the wav into something else. Well I ran some tests and it seems that SL compresses the wavs that I upload into something BIGGER! I uploaded a 8-bit mono channel wav. To stream it requires about 45k\sec. When I try to stream it in SL with my new buffer script, at a connection rate of 100k\sec I can't keep up and it gets all choppy. I got the 100k\sec by looking out to nothing (water) I waited until everythin was loaded... I was hovering at like 5k\sec. Then I hit play on my player and my bars go right up to 100k\sec the first couple clips play fine, but around #5 it starts cliping and the sound queue starts getting bigger. (I did all this after emptying my cache for SL, so I had non of my sounds preloaded before the signal was given by the script.

So my question is this, why can't I hear a steady stream of ~45k\sec when SL is downloaded at over 100k\sec?

BTW everything works fine when I listen the second time around, (everything is already loaded on my HD)


While i'm not going to get into all of this, you do have one flaw in your logic here.

45k/s for 180 seconds is still larger than 200k/s for 10 seconds.
Nexus Nash
Undercover Linden
Join date: 18 Dec 2002
Posts: 1,084
Re: Re: Sound question!
12-21-2003 08:15
From: someone

While i'm not going to get into all of this, you do have one flaw in your logic here.

45k/s for 180 seconds is still larger than 200k/s for 10 seconds.


Read again
_____________________