• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

.snd files help plz

just wandering where I could find some. snd files so I can put one on my phone for start up. any suggestions? I don't have a computer. so I cant make my own
 
I believe .snd files are just .pcm files renamed with the .snd extension.


But to replace your startup sound, you need to root your phone, which will require a computer.
 
I believe .snd files are just .pcm files renamed with the .snd extension.


But to replace your startup sound, you need to root your phone, which will require a computer.



yea I already rooted it have nemesis ctmodrom and scripts and such :) but do u know where I can dl those .pcm files straight to my phone?
 
Last time I checked, supposedly, .wav files could be renamed to .snd and have the same effect as well. Don't take my word on it but you can try it, it's not like it'll hurt anything.
 
Yes, .wav files should work, as they are encoded as PCM. I haven't tried that as I have only written out raw, uncompresserd PCM files to use on my Prevail. It's been a while since I did it, once I found a start-up sound I liked, I haven't messed with it since.

Some .au files may work as well but be warned that not every .au file is encoded as uncompressed PCM.

Like Necrotoxin, I'd recommend just searching for .wav or .au files, change the extension to .snd and try them. If it doesn't work you can always change it back.
 
:eek: Ouch! You're right, that had slipped my mind. .au files are bigendian and most windows .wav files are littleendian.

Now you've got me wondering what I used. I'll have to wait until I get home and dig out my old laptop to try and recreate what I did.
 
OK, I figured out what I did to make my own startup sound. Unfortunately it's not likely to help you, josh, but I'm throwing it out there in case others want to know.

I loaded the original poweron.snd file into CoolEdit2000, where after some experimenting with the values, I determined it was a raw PCM file with a 96000 sample rate, 16 bits and monaural audio. The data was LSB first, or Little Endian. I decided these were the correct values as they were the only ones that worked and sounded like the original sound on the phone.

I took the sample I wanted to use (a 22050 sps .au file), upconverted it to 96000 samples per second and saved it as a raw .pcm file (16 bit Intel PCM (LSB, MSB) format or Little Endian). A different sample rate might have worked but I didn't try it.

I renamed the new file poweron.snd, stored it on the phone's SD card and used Root Explorer to replace the original sound file on the phone and rebooted.

Sorry if this is old news for the pros on here but I didn't see anything concerning the format of the poweron.snd file and thought I'd contribute what I knew.
 
I loaded the original poweron.snd file into CoolEdit2000, where after some experimenting with the values, I determined it was a raw PCM file with a 96000 sample rate, 16 bits and monaural audio. The data was LSB first, or Little Endian. I decided these were the correct values as they were the only ones that worked and sounded like the original sound on the phone.

I tried your settings and things played too fast. So I too took the original poweron.snd file from a stock phone image and figured out it was raw PCM 16-bit signed little-endian 2-channel (stereo) @ 44100 Hz sample rate. :confused:

Here's what I just posted...

Not saying either of us is wrong... just looking to see if either of us can confirm the other's results. Cool? :cool:
 
It's all cool. Maybe you're right, maybe I'm right, maybe both, maybe neither. We try stuff, we share and we all learn.

I'm away from home and the computer with CoolEdit so I can't try anything right now.

Well, I suppose I could remote in from my phone, email the file to myself, try some settings and email the result back to myself; but I don't feel like spending a couple hours fighting a slow connection on a small screen. ;-)

But I will look into it when I get back.
 
All right, I'm back and I think I've got it sorted out.

The correct answer is:

C: Both of us.
and
D: Neither of us.

Confused? So was I, but after doing some testing on the original poweron.snd file from my wife's phone ("You want to do WHAT?"), I came up with an answer.

The stock Prevail poweron.snd file is a 48000 sample per second, stereo recording stored in PCM Little Endian (LSB first) format.

So why does a 44100 sps, stereo file work? Well, it doesn't. And yet it does.

You see, a 44100 sps file is 'just close enough' to 48000 sps to work and sound nearly similar.

Similar, but not exact.

When played by the Prevail on boot, a 44100 sps sound file plays just fine, although at a slightly faster rate.

How much faster? About 8.8 percent. ( 48000-41000 ) / 41000 = 0.088435

This means that a 44100 sps file will play in a slightly shorter period of time and slightly higher in pitch.

How much higher? About a note and a half. So any particular note, say C, will instead play somewhere between C# and D. All other notes will also be correspondingly higher.

Now most people won't notice the difference in pitch unless the two samples are played side-by-side. But if you've got a good ear, you'll notice the difference right away.

I confirmed this by generating a 1000Hz tone as a 44100 sps stereo file and setting it as the poweron.snd file. (Very annoying, mind you.) When played back and measured, the resulting tone was 1088 Hz, or 8.8% higher in pitch.


So why does a 96000 sps mono file like the one I created play and sound correct? Because of the way the data is stored in the file.

The data in a stereo recording is stored in an interlaced (alternating) left-right sequence. That is, a word of data for the left channel is followed by a word of right channel data and the sequence repeats. But a mono recording is just one word of data after another, no interlacing.

When a 96000 sps mono recording is read by the Prevail, the phone assumes the file is a 48000 sps stereo file and reads the data alternately into the left and right channels, playing it back at 48000 sps stereo.

The net result is that the original 96000 sps data is effectively downsampled into two 48000 sps audio signals, one of which is offset in phase from the original by 1/96000 of a second, a diference too small for the human ear to detect or the Prevail's tiny speaker to reproduce.



So to make a 'correct' poweron.snd file, you need an audio file that is 48000 samples per second, stereo, in PCM little Endian format.

But a 44100 sps stereo file will work just fine, although it will be slightly higher in pitch. And a 96000 mono file will also playback and sound correct, even though it technically isn't.

Clear as mud? I hope so. But now it's way past my bedtime and I have a long day at work tomorrow.

Cheers!
 
Back
Top Bottom