|
-
Thick as a Brick
Sound conflict
I built a record player for my site. It works except the rotation slows down when the sound starts. I'm using a shockwave file for sound, and this for rotation:
onClipEvent(enterFrame){
this._rotation +=15;}
Here's the link:
http://www.howardglazer.com/bob/record_player.html
Is there a way around this?
-
undead creature
Re: Sound conflict
Originally posted by bobgodwin
I built a record player for my site. It works except the rotation slows down when the sound starts. I'm using a shockwave file for sound, and this for rotation:
onClipEvent(enterFrame){
this._rotation +=15;}
Here's the link:
http://www.howardglazer.com/bob/record_player.html
Is there a way around this?
He he ... well done BOB !
This is the real power of Flash (as I said many times before,not suitable for sophisticated projects).
Anyway, try to stream an MP3 file instead of using that SWF.
Also,try to replace that text with a GIF image.
p.s.
You can't use a shockwave file for sound.
Shockwave (DCR files) is something very different.
But this is MacroMedia's fault,not yours.
best regards
-
undead creature
I like your "ancient" player,and for this reason I had to digg a little bit.
Your problem is the buggy "SWF music track".
Test your player with my track (see the attached file).
Everything works just perfect !
p.s.
don't remove that banner !
ha ha ha
-
Thick as a Brick
Well, I guess the program I use to convert to .swf (Boomer Audio) corrupts the file. I used another program, and the player doesn't slow down, but it doesn't stream any more either (56k modem here). Once it loads, it works fine. I did use your file with the same results, no streaming.
Here's the new player:
www.howardglazer.com/bob/record_player2.html
How do you get an mp3 to stream without having to open a new window, to play like a .swf does?
-
undead creature
Originally posted by bobgodwin
I did use your file with the same results, no streaming.
Here's the new player:
www.howardglazer.com/bob/record_player2.html
How do you get an mp3 to stream without having to open a new window, to play like a .swf does?
That's because I had no intention to make it streamed.
If you need to stream MP3 files ( http://necromanthus.com/KoolMoves/MP3Player.html ),use for that button the following script:
mySnd = new sound();
mySnd.setvolume(100);
mySnd.setpan(0);
mySnd.loadsound("music_file.mp3", true);
cheers
-
Thick as a Brick
But why does the bad file stream and slow down my record player and the good one not slow down the player but not stream? Can I get it to work like the old file (start to play immediately) without the slow down. Or do I build a virtural 8 track player (Ah, the 8 track. Now there was some music technology).
I tried the mp3 route and the mp3 speeds up, like the old Alvin & the chipmunks cartoon.
-
Degenerate and baise art thou.
From the help file:
"If your sound file is sampled at a rate other than 5500, 11025, 22050, or 44100, the sound will play in the Flash player at a rate nearest to one of the four rates listed above."
That is most likely why the mp3 speeds up...
Resample and retry.
DocRee
-
undead creature
Originally posted by bobgodwin
Or do I build a virtural 8 track player (Ah, the 8 track. Now there was some music technology).
I tried the mp3 route and the mp3 speeds up, like the old Alvin & the chipmunks cartoon.
Yummy !
I can't wait to see your 8 tracks player !
Do you like that cartoon ??? LOL
p.s.
DOCREE is right: 22050Hz or (if you think that WWW is a kind of POLYGRAM) 44100Hz.
best regards.
-
Thick as a Brick
That did it (Jumps up and down and does happy dance). I Resampled at 22050 and it works like I want now. Thanks Doc, thanks Necro. Here's the link:
www.howardglazer.com/bob/record_player_mp3.html
tell me if it works for you.
I loved the chipmonks, had all there records. Better than the Beatles ya know.
I'll get right on the 8 track. Tryin' to figure out how to get it to play a little bit of the other songs in the backgroun will be the hard part.
Thanks again
-
undead creature
Just perfect !
But I can't adjust the TONE ... ha ha ha
Waiting for that 8 tracks player ...
-
Thick as a Brick
Is there a way to adjust volume and/or tone? That would be Kool.
Here's the file if anyone wants to play with it.
Last edited by bobgodwin; 01-05-2008 at 05:05 PM.
-
undead creature
Originally posted by bobgodwin
Is there a way to adjust volume and/or tone? That would be Kool.
Flash is not able to process sounds, so it's impossible to adjust the TONE.
To adjust VOLUME (using external SWF files,this case),take a look at this ancient example:
http://necromanthus.com/KoolMoves/SoundTracks.html
a tip: instead of 4 tracks you have only one.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|