all groups > flash actionscript > january 2007 >
You're in the

flash actionscript

group:

mp3 pitch issuses


Re: mp3 pitch issuses Thomas Unger
1/27/2007 6:19:45 PM
flash actionscript: Vee;
Not sure I follow--are you reporting that the sounds are fine when
played locally in flash, but are not fine when played in flash from a
server? I would have guessed the issue was related to the sample rate the
sounds were recorded at since Flash re-samples sounds not recorded at 11, 22
or 44 khz sample rates (see flash help)--but that would mean they should
"fail" in the same way locally...
-Tom Unger


mp3 pitch issuses Vee
1/27/2007 10:31:47 PM
I have recorded some sound bites on a digital recorder in mp3 format. When
played locally they sound fine but when I put them on a server then call them
they sound off; pitch:high & speed: fast. I tried switching to one that i did
not record and they sound correct. I am using a sound object to stream them
into my swf. Below is the info on the sound bites that have the issues:
kind: MPEG audio file
size: 38 kb
bit rate: 32 kbps
sample rate: 32.000 kHz
format: MPEG-1, Layer 3
Channels: Mono
ID3 Tag: v2.2
Encoded with: Unknown

var contact_sound:Sound = new Sound();
contact_sound.onLoad = function(success:Boolean) {
if (success) {
trace("sound loaded");
}
};
br_contact_sound.onSoundComplete = function() {
trace("Sound Complete");
};
contact_sound.onID3 = function() {
trace("onID3 called at " + getTimer() + " ms." + this.id3);
};

contact_sound.loadSound("http://someThing.com/VOICE0000.mp3", true);
Re: mp3 pitch issuses Vee
1/27/2007 11:55:21 PM
you were right... i rerecorded at 44 and the problems went away.... now it
seems the file size has jumped... too bad i cant use those 32 sound clips...
guess ill stick to the 44 for now
when i said locally... i hadnt tried throwing it into flash yet but simply
into my mp3 player app... which it sounded fine in

thanks for your help
AddThis Social Bookmark Button