Thanks for your help. Yes, my Shockwave app is doing some audio file editing. After the user records a sound, the file is compressed using ogg compression - the compressed file is stored is as a smaller "wav" file in each students folder after it is uploaded. This site is designed for elementary classroom teachers and their students. Since each student has a portfolio approximately 100 recorded sounds throughout the school year, thousands of sounds need to be available at any given moment, depending on which student has been selected in a pull-down menu. That is why I was hoping I could play each sound file from the web as opposed to downloading the file and then playing the sound. Your thougths....and thanks again for the assistance! (PS - I do have a beta sight if that would help to look at. Let me know)
Main Topics
Browse All Topics





by: Bobaran98Posted on 2009-05-09 at 09:00:29ID: 24344364
Since your sound files are so small, there's no reason you can't saved them directly into a BLOB field in your MySQL database (removing the need for separate directories). I can show you the code for that, if you'd like.
Of course, for playback, I don't think you can just load an OGG file and expect the browser to translate it as audio, in which case the user would still need to download the file to play.
Tell me, though... it sounds like your Shockwave app is doing some sort of audio file editing... do you have a way of converting that OGG file code back into WAV on the fly? Because if so, I think we can get you to what you're looking for. Let me know!