Mysterious audio file caching

I wrote a "play .WAV file" function (using getAudioClip) as part of my applet and am using it as a subroutine in my Javascript/PHP web application. The application records the user's voice, saves it on a server, and plays it back when requested. The mystery is this:
My Apache server is NOT configured to cache files. I turned off Java's caching function via Java's control panel. In spite of this, when I overwrite an audio file with new content, the application keeps playing the old content for a while. (It seems that content sticks for about 10 minutes.) I tried emptying the browser cache right after new content is recorded, but the result is the same. The old content is kept SOMEWHERE and I don't know where. It's not in Java's cache directory. It's not in the browser cache.
Can anyone shed some light on it?
Edited by: acchan on Aug 1, 2009 8:33 AM

acchan wrote:
Can anyone shed some light on it?Applets can be horrid for caching. Suggestions..
1) Check the information returned from the URL actually changes (in length/data).
2) Create a javax.sound.sampled.Clip instead of the AudioClip.
Here is some [source demonstrating the second part|http://forums.sun.com/thread.jspa?messageID=10780561#10780561].

Similar Messages

  • A mysterious audio file opens when I open my browser. How do I find and delete it?

    A mysterious audio file opens when I open my browser. How do I find and delete it?

    The other possibility is that someone with access to your machine (children?, co-worker?) set up all of your browsers to have that audio file set up as a default "home page". This is probably more likely than malware. I just tried with Safari, and it's definitely possible. Check out your Safari preferences and see what it shows as your homepage.

  • Importing HDV files (.m2t) no audio in timeline (or sound gaps in audio file) ONLY IN CS6 !

    After importing HDV files, wait for conforming, and drop the files to sequence, on some files there is no audio at all or partial audio.
    All files played OK in any mediaplayer.
    I have no such problems in CS5 or 5.5 using the same files in the same project and sequence type. HDV 1080i/25 
    I reinstall PR CS6 and I delete all ".cfa" and ".pek" files, but no success.

    All right so what I just discover so far in order to resolve this non sense bug thing, I've exported the faulted sequence in EDL, track by track.
    On the original sequence, I had a Prores 422 video clip name "Clip 497" that was manually sync with an audio file call "Audio 10".
    At another timecode in the original timeline, I had a h264 clip name "MVI_0050" that was synced with an audio file call "Tascam_0455".
    I said that when I select only an audio file in the timeline and I make reveal in the project, it links me to the correct audio file in the bin but when I make match frame or reveal in the finder, it links the audio to a video file. The
    Well the EDL just confirmed that, in the timeline created by the EDL, I have to relink manually all the files (wich is a pain in...) and my mysterious audio file "Audio 10" appears with the name "MVI_0050", I can still link it to the original "Audio 10" but I don't understand HOW an audio get to be linked to a video file......
    The audio file coming from the Tascam still have their original names in the timeline.
    Very weird and not very cool.
    Oh  and guess what, after closing Premiere and re open it, my sequence coming from the EDL where I spent 1 hours to manually relink the media....does not have sound anymore.......................

  • Mysterious audio 9GB of audio files on my Macbook Air

    I am mystified by 9GB of audio files being listed in the storage of my 64GB Macbook Air.  I have moved the iTunes library to an external HD and meticulously been through to look for audio files in finder, removing those I no longer need.  I have also repaired and indexed my main disc and revealed hidden files but been unable to find any obvious places where these files might be hidden. Any ideas?

    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    If you're using Time Machine to back up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of files you've recently deleted. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as "Backups." The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself.
    To locate large files, you can use Spotlight. That method may not find large folders that contain a lot of small files.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders. It may take some minutes for ODS to list all the files.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • Audio File Missing but Still works in timeline?

    Hi,
    I was wondering if I could get some help on finding or putting my audio files back online. The music plays in the timeline but it shows as offline? I can't find the files? It is offline and still works?? I can't find the files to put the music back online! If anyone could help me with this that would be great!
    Thanks,
    Todd

    Are you sure the actual file is offline and not the thumbnail cache? If you double click it does it open in your viewer?

  • Sample editor doesn't open selected audio file in 8.0.2

    Hey there.
    I've just upgraded to Logic pro 8.0.2 from 8.0. When i drag an audio file (a) into the arrange page and then double click on it, it says "nothing to display". It then randomly displays the file (a) but when i double click on another audio file (b) it opens up audio file (a).
    Very strange behaviour that surprisingly didn't occur in Logic pro 8.0.
    Any suggestions would be really appreciated.
    Thanks

    Hey Jorge.
    Thanks for the suggestion. I've actually had to re-install the bug ridden 8.0.0 version to get it to work. Never thought i'd be saying that
    I haven't updated it yet as i need to get some work done before i waste another day trying to sort out mysterious errors.
    Thanks anyway
    Rowan

  • "Cannot Find Audio File", Garageband

    Mac OS X version 10.6.8
    GarageBand 08-Version 4.1.2 ·(248.7)
    This is a issue which goes back to 2005 on some forums, and in my case, has just occured. There seems to be thousands of people effected.  After 3 years of using GarageBand for language studies, I'm now afraid to open any file with this software. Some 3 years work potentially lost.
    Please don't suggest I upgrade my software. This problem occurs in all versions of Garageband and OSX. I was thinking of buying a new MacPro but so far I could not risk it with this problem unresolved.
    When I try to open a file, which up to recently functioned perfectly, I get a message "Audio File Not Found...Skip or Search". Regardless of which option I chose, a file opens but with no audio content.
    Below are extracts from some of the solutions I've come accross on Forums.None have worked for me, despite some promising suggestions.
    For instance I don't have "Working Copies" file on my computer.
    Any comments from Apple would be appreciated.
    Extracts from some previous Contributions
    1. Quit GarageBand.
    2. Goto /Users/<your username>/Library/Application Support/GarageBand/Working Copies
    3. Delete the Guitar Lesson 2_Chords - G, C
    4. Start GarageBand up and enjoy Lesson 2.
    If i had to guess i would say it looks like there is a cache created when you start a lesson and it must be easily corrupted.
    It may have happened to me by having a download interrupted and I tried to run the Lesson anyway. Or perhaps trying to run the lesson mid download, i believe i may have tried that too in my impatience waiting for the Lesson. Either of those scenarios i could envision creating a corrupt "working copy."
    You went to the Library file path that is in your user folder. You must go to Macintosh HD and go to the main Library folder and follow the path Macintosh HD/Library/Application Support/Garageband/Learn to Play. Then you can delete the lessons you don't want.
    MacBook Pro, Mac OS X (10.6.4)
    Christoph Drösser
    Re: garageband saying "audio file not found"
    Apr 29, 2012 11:59 PM (in response to cole91)
    Hm. Saving the project might have actually killed your recording. The only way to get back to your audio clips is: locate your project in the finder, ctrl-click it, select "Show Package Content", and look into the Media folder. If the folder is empty, I'm afraid the recordings are gone for good.

    Edi,
    there is something completely wrong. You should see the following options:
    Does your song project show with the Guitar icon and the filename extension "band"?
    And does it say "Kind: GarageBand project", when you select the package in the Finder? 

  • Premiere Pro CC won't import ANY audio file, be it an mp3 or part of an mp4 video (or other formats)

    Any audio or video file I drop in to premiere will almost immediately pop up with the window
    Audio Conforming Error
    Error compiling movie.
    Unknown error.
    When I check the error/event log (little red X in the bottom corner) that window says:
    "11/21/14 09:47:28  A disk error occurred while attempting to access the following files:
    \\ipsse01\home$\myusername\AppData\Roaming\Adobe\Common\Media Cache Files\filename.mp3 44100.cfa"
    (The actual file is on my desktop)
    This happens with everything, even the stock audio files Windows comes with in the "Sample Music" folder, I tried those too to no avail.
    I'm at a complete loss. I'm new to premiere pro but these are generic file formats so I don't think the issue is with the file. I haven't tried to reinstall because I'd have to go to our one network administrator/IT person (who also is the accountant for the company) so she can enter the admin user name/password in the pop up box, and she's often so busy. I'm trying to avoid bugging her if I don't need to (which unfortunately I tend to still have to do a lot)
    For reference I'm running Win7 Professional 64-bit, 8GB RAM, and an i7-4610M CPU @ 3.00 GHz.

    Hi Neila,
    Neila@IPSUMM wrote:
    Thanks for responding, but I work for a very small company and since I'm the only one who needs CC, I have the personal version installed.
    Also this appears to be a blanket issue with all audio and video file formats, thus not likely a codec issue since the files I've tried so far should be covered by premiere's compatibility, the even play in windows media player with no issue.
    Video itself plays fine, but any audio attached to a video, or just plain audio files will not import no matter what I try.
    Sorry my info didn't help.
    Two things to try.
    Create a brand new project and test if you can import the problematic files.
    If that does not work, change the name of the folder that contains your media files. Then try to import.
    Let us know what happens.
    Thanks,
    Kevin

  • Artwork doesn't xfer to BlackBerry unless its a "Purchased AAC audio file"

    I've got a new BlackBerry Bold. I've had good success transfering my iTunes music to my phone, but I can only transfer album artwork for some of my songs. Only the songs in iTunes that are "Purchased AAC audio file" seem to successfuly transfer to my phone along with their artwork. None of the artwork transfers for my imported CDs or any iTunes purchases that are "Protected AAC audio file" even though I paid for these albums. Can anyone help me solve this mystery?

    I have 2 categories of songs on I tunes that wont download to my new BB Bold- in all cases on the playlist on the BB music sync playlists it says the songs are "Protected (Digital...."
    1- songs originally downloaded from CD's onto I tunes, I have been able to download those onto Ipods but not the Bold, I don't have this problem with all music from CD's just some
    2- some purchased songs from I tunes wont download to the Bold-- I paid $.30 to remove the DRM for all songs that Itunes gave me the option to do that with on a message that popped up, yet other songs purchased from Itunes still wont download and I get the same "Protected (Digital...."
    any suggestions on how to get those songs onto my Bold?

  • I am running a website called mediahawk, I cannot play audio files I just get a black box where the media player controls are

    I log onto the site when I try to play an audio file I see a black rectangel where the media played controls should be and the file will not play.
    I have tried updating the plugin.
    It works fine in IE.
    Anyone have any ideas

    -> Update Firefox to the latest version 10.0.1
    * [[Installing Firefox on Windows]]
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
    -> ALL your Firefox Plugins (Adobe Flash, Java, Silverlight) are extremely out-dated
    * Update All your Firefox Plugins -> https://www.mozilla.org/en-US/plugincheck/
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''
    Check and tell if its working.

  • Peak Audio Files

    Having real problems with peak audio generation.  Lots of projects that I open or re-open that where created in any version of Premiere CC (including 2014) have the wave form missing.  I have tried clearing the media cache to force Premiere to re-generate the peak files but with no luck.  I would rather not use render and replace as a solution to this is there an easy way to get premiere to regenerate the peak audio files manually? or at the very least an easy way delete any cache files on my system in order for prem to automatically regenerate the peak audio files?  Without a wave for it is making it very difficult to edit the audio in my projects
    In terms of the system I am running if that helps shed any light on the issue its a new 12 core MacPro and this is a clean install of Premiere Pro CC 2014 without any previous versions lurking around on the system.  All my projects are stored on a SAN but the media cache is pointed to the local machine rather than set to store stuff with each project.

    There are Preferences for this.
    Check the Audio prefs panel and the Media panel.
    You can turn on/off PEK file generation and enable these to be stored in a specific location.
    Using a SAN, I would adjust the Media prefs to store cahce files alongside the media.

  • Guitar Lesson 2 - Audio file not found

    This is the error I receive when I try to load "Guitar Lesson 2" of the "Learn to Play" lessons. (Audio file "Guitar2GTRs2MiXv3.caf" not found.) I've tried deleting and re-downloading the lesson several times. I found the missing file but only when I browse to it myself, nothing appears in Spotlight. This is the only lesson I'm having this problem with. Anyone have any ideas?

    Thanks for referring me to the proper thread. It works fine now. I was deleting only the downloaded lesson not the cached lesson file. Hopefully Apple will check into this.
    ~
    1. Quit GarageBand.
    2. Goto /Users/<your username>/Library/Application Support/GarageBand/Working Copies
    3. Delete the Guitar Lesson 2_Chords - G, C
    4. Start GarageBand up and enjoy Lesson 2.

  • PSE 9 Organizer error codec trying to add an Elements audio file to slide show

    I am using PSE 9 to build a slide show. When I add audio, I can use mp3's  from my music library in the slide show without any issues ...
    but I am getting the following error when I try to add an Elements audio file (example " A _Taste_Of_Sicily.mp3)
    This is the Organizer error message:
    "Unable to add the audio file (C:\ProgramData\Adobe\ElementsOrganizer\8.0\Music\A_Taste_Of_Sicily.mp3).
    The selected file cannot be played because your system does not have the required compresser/decompresser(codec) installed."
    I had PSE 8 and upgraded to PSE 9 - I noticed the error file detail shows 8.0 - Is this my problem - maybe an incomplete upgrade ?  (I've made several slideshows mixing photos and music, on an older computer using PSE 8 and never ran into this issue.)
    Below is my system info in case that helps:
    OS=Windows 7 Home Premium 64-bit on an HP Pavillion dv7
    Intel(R) Core(TM) i5-430M Dual Core processor (2.26GHz, 3MB L2 Cache) with Turbo Boost up to 2.53GHz
    8GB DDR3 System Memory (2 Dimm)
    500GB 7200RPM SATA Hard Drive with HP ProtectSmart Hard Drive Protection
    512MB ATI Mobility Radeon(TM) HD 5470 switchable graphics
    IDT High Definition Audio CODEC
    Thanks for any help !

    beccarie1 wrote:
    This is the Organizer error message:
    "Unable to add the audio file (C:\ProgramData\Adobe\ElementsOrganizer\8.0\Music\A_Taste_Of_Sicily.m p3).
    The selected file cannot be played because your system does not have the required compresser/decompresser(codec) installed."
    Does that file extension really have a space in it?  If so, remove the space.
    Ken

  • Problem Premiere CC not sending audio file to Adobe Audition

    Hello,
    I have an audio clip in Premiere Pro CC that I am attempting to send to Audition via dynamic link with "Edit Clip In Adobe Audition."  I have done this in the past but not since I have upgrade all my versions from the CS6 version to the CC 2014 versions.  Previously it worked without incident.  Here is what happens now.
    1.  I right click the audio track (Mono-005.wav) in the premiere pro cc timeline.
    2.  I select "Edict Clip in Adobe Audition.
    3.  In Premiere Pro CC a new audio track is generated (MONO-005 Audio Extracted.wav) on the timeline - replacing the previous track (MONO-005.wav) and in my Premiere Pro CC media bin BUT it never opens up in Adobe Audition....the program (Adobe Audition) never even attempts to open up.
    I was getting the Audition error "primary temp volume cannot be found" so I went in to Audition and changed the Media & Disk Cache file location and now I can open up the Adobe Audition program just fine if I am clicking it directly to open.  However, whenever I attempt to bring an audio file from premiere with dynamic link (as referenced above) Audition does not even attempt to open.
    Software
    Adobe Audition Build 7.2.0.52
    Adobe Premiere Pro CC Build 8.1.0 (81)
    Computer
    Processor - Intel (R) Xeon (R) CPU   X5560 @ 2.80 GHz 2.79 GHz (2 processors)
    RAM 48 GB (currently 40 GB usable)
    64 bit operating system
    Windows 7 Professional Service Pack 1
    Thanks in advance for any assistance.

    Had this issue before.  Check the file associations to see if Audition CC 2014 is set as the default editing program to open sesx files, etc.
    You might want to make sure that all the other apps are set as well.  I have three versions of the software on my machine, and I had to do this to ensure the latest version was set as the default app for the appropriate file types to make dynamic linking work.

  • Audio file not found. Please help restore??

    Arrgh! Hopefully someone can help me! A section of recording has gone missing from my podcast made in Garageband 3 and I have no idea how to get it back!
    The podcast was intact when I saved and closed down for the night, then in the morning when I opened the file, a message box popped up saying 'Audio file "Recording#586.aif" not found! It gave me the option to search for it, which I did, but nothing came up.
    I've tried searching my computer and servers, but nothing again.
    I have no idea how this could have happened! The strand of lost recording is in the middle of the podcast and the rest of the file is unaffected. Unfortunately, the strand was recorded separate to the preceding and following strands, so I can't recover the missing file by extending out the other strands. ****.
    If anyone has any suggestions or can offer any help, I'd be super grateful!
    Thanks

    Ah okay, that's handy to know, thanks. But that shouldn't affect the original files that I'm salvaging, right?
    I'm able to retrieve the unedited GB project files using FileSalvage, but that end bit of the recording is always missing. Even though these are the original files and nothing's been edited or chopped away.
    The only thing that I can think might have caused this mysterious disappearance is that the segment that's gone missing is the very end bit of the project, and the recording only stopped because GB automatically stopped it. Due to lack of space or recording capacity or something. Maybe there wasn't enough memory or something to conserve that final segment. I don't really know...

Maybe you are looking for

  • EHS_EXPERT Transaction program not registered.

    Hi, My rfc connection is giving the following error. I have created afrc connection between SAP R/3 and EHS Expert server which is on another windows server. please suggest the solution. Trace file opened at 20100730 123242 EEST SAP-REL 701,0,32 RFC-

  • Restoring data from a Time machine backup of a potentially corrupted drive

    I seem to be the queen of failing hard drives, heh. I'm on my third in a year, and will be addressing the root cause of these failures, of course, but right now, I'm wondering how safe it is to restore from my Time Machine backup. Here's the scenario

  • ICloud emails showing name and email address

    Is it possible to get the display to just show my name and not the address i.e. John Doe instead of John Doe <[email protected]>?  My other emails only show names (Exchange and POP account).

  • Authorization check in WDA

    Hello Gurus, I have two different types of users. Based on authorization check I should take them to respective view. Basically, I have 5 views, for type A users, I should take them from 1 thru 5 views. for type B users, I should them from 3 thru 5. 

  • Statement AUDIT SELECT TABLE also audits update, delete and inserts

    Hi, Database Oracle 11g. After turning on AUDIT with these 2 statements: SQL> ALTER SYSTEM SET audit_trail = "DB_EXTENDED" SCOPE=SPFILE; SQL> AUDIT SELECT TABLE BY ACCESS; then insert, update and delete statements are recorded in sys.aud$ as well as