Need to find empty audio files

Need to find WAV audio files that are empty, i.e., recorded with no audio input signal.

Follow the next steps:
1) Create a DIRECTORY object
Example:
CREATE DIRECTORY audio_files_cat AS
'audio_files_cat';2) Create a table (audio_file_table) with blob column (audio_file_blob)
3) Fill file names (audio_file_name)
3)Create a procedure to load files into your table
Example:
CREATE OR REPLACE PROCEDURE load_audio_files(p_dir IN VARCHAR2)
IS
v_file BFILE;
v_filename VARCHAR2(40);
v_rec_number NUMBER;
v_file_exists BOOLEAN;
CURSOR audio_files_csr IS
   SELECT audio_file_name
   FROM audio_file_table
   FOR UPDATE;
BEGIN
DBMS_OUTPUT.PUT_LINE('LOADING LOCATORS TO AUDIO FILES...');
FOR rec IN audio_files_csr
LOOP
  v_filename := rec.audio_file_name || '.DSS';
  v_file := BFILENAME(p_dir, v_filename);
  v_file_exists := (DBMS_LOB.FILEEXISTS(v_file) = 1);
  IF v_file_exists THEN
   DBMS_LOB.FILEOPEN(v_file);
   UPDATE audio_file_table
      SET audio_file_blob= v_file
    WHERE CURRENT OF audio_files_csr;
    DBMS_OUTPUT.PUT_LINE('Set Locator to file: '||v_filename|| ' Size: ' || DBMS_LOB.GETLENGTH(v_file));
    DBMS_LOB.FILECLOSE(v_file);
    v_rec_number := product_csr%ROWCOUNT;
  ELSE
   DBMS_OUTPUT.PUT_LINE('File ' || v_filename ||' does not exist');
  END IF;
END LOOP;
DBMS_OUTPUT.PUT_LINE('TOTAL FILES UPDATED: ' ||v_rec_number);
EXCEPTION
WHEN OTHERS THEN
  DBMS_LOB.FILECLOSE(v_file);
  DBMS_OUTPUT.PUT_LINE('Error: '|| to_char(SQLCODE) ||SQLERRM);
END load_audio_files;Regards

Similar Messages

  • I need to find a working file for the Adobe Download assistant?

    i need to find a working file for the Adobe Download assistant?

    I was going to recommend Brother becasue they held OS9 support longer than just about anyone, but their current printers are now supported back to Mac OS10.3 to 10.4, depending on printer model.
    If you can do with a b/w laser, the recently discontinued HL5250DN is very nice and OS9 drivers are still up on Brother support site (just checked). We have that model networked at home and its happily serving five Macs plus any visitors who bring their own computer.
    This printer has been absolutely reliable and trouble-free. It has both USB and ethernet connectivity (I prefer the latter), does duplex (two-sided) printing, and 1200 dpi res. If you Google the model HL5250DN, you should turn up some of the model still in stock someplace.
    If you need color, I'm at a loss for a recommendation there.

  • Logic keeps telling me it can't find an audio file and...

    http://img6.imageshack.us/img6/71/picture3oru.png
    http://img6.imageshack.us/img6/4183/picture4oym.png
    There are the screen shots. But I just wanna know how to get rid of these annoying messages! My project is just how I want, so these messages mean nothing to me.
    Messages read:
    1. Audio file Bass#12 not found
    2. 1 invalid region(s) changed

    I'm using a german version, so i'm not shure about the translation...
    Open your project and klick on "windows", "Audio Bin" ( shortcut "cmd9" ), search the filename there and delete it if you are shure that you don't need it.
    If you need it, search it with Mac OSX Finder, and put it in the audio bin.
    Is your Audio Path set ? Project Settings / Recording / Core Audio....

  • Does anyone know how to separate a movie track from an audio track on the new Mavericks Garage band. It used to be very easy on the iLife 11 version. If anyone could respond ASAP I'd be grateful. I need to make an audio file from a video.

    I urgently need to make some audio tracks from videos using the new 2013 GarageBand. In iLife11 Garageband, this was very easy. However, I cannot see how to do it in the new one. The alternative might be to revert to the iLife11 version, so does anyone know how to do this. It's extremely urgent since I need to produce these for a court custody hearing which will take place at 0800 GMT UK time on 31st October 2013. Please help.
    Thank you.

    When you drag a movie from the Media Browser to the Time lIne in GarageBand, you will see a pop-up "Extracting Audio".
    The Movie and the audio file will appear in separate tracks. You can copy the audio region from the sound track to a different track to keep it safe and then hide the Movie track.
    Léonie

  • Where can i find the Audio Files from Games?

    Who can  help me i' am serching the folder for Audio Files from Games and Application's where can  i find it by the way the sound folder from Application is not so important!

    Google audio game files, this is a free link. but there are quite a few.
    Hope you find the file you are loking for, plenty of hunting out there:)
    http://soundbible.com/tags-game.html

  • How do I find an audio file that I put on an iPod from a non-iTunes software?

    I'm talking about on the iPod itself, not looking at the folders when it is connected to the computer.
    I've put some audio files, podcasts and songs, that transfered from a non-iTunes podcast aggregator and songs that weren't in my iTunes library, but could not find them on the actual iPod device.  This, despite the files showing up on the device when looking at a list of files on computer screen once I connect to a computer.
    Asked this a few times now, and never got an answer.  Does anyone know what I am doing wrong here?

    - Only iTunes purchases will copy from iPod to computer.
    - If you sync manually and do not specify those modified songs to sync they will not sync to the iPod nor will the original version be deleted from the iPod
    - If you sync automatically and include those songs or select the modified songs to sync manually, the songs in the iPod should be replaced with the modified songs. However sometimes that does not happen

  • Logic 8 can't find my audio files

    I recently upgraded to Logic 8 from Logic 7. When I did this, I almost completely maxed out the memory on my MacBook Pro. To make enough room for the upgrade, I moved many of my old files to an external hard drive.
    When I try to open old Logic files, both those on my MacBook Pro and those from the external hard drive, Logic gives me a message that it cannot find the "_____" audio file, and prompts me to skip it or search for it manually. I'm something of a Logic novice, so I'm hoping that someone can tell me where Logic typically "stores" the audio files. Doing a search by date (trying to find the files by comparing the date of the Logic project and assuming that the audio files would be the same) turned up nothing. However, I didn't delete anything that I didn't move to the external drive. Those audio files have to be somewhere.
    Can anyone tell me the file saving protocol for the audio files? I'm sure that I can find them if I can figure out where to look.
    Thanks a bunch for your help (you Logic Rock Stars!)

    When you originally recorded the songs, had you saved them as a Project? Because if you had, an audio folder for the song would have been created within the songs main folder, and that's where the audio files that are missing will be.
    Because you simply dragged the Logic files over to the external drive, and then tried to open the songs, the original audio pathway is still intact, and the Logic file is looking for the audio in it's original location, which, of course, it is not now.
    When you get the first message "Cannot find lead vocal 1 (or whatever it is), choose "manually", and navigate to the audio file folder of that song. Once you locate that first missing audio file, Logic will look there for the rest of the missing files, and finish loading the song correctly on it's own.
    So... let me ask you... are the Logic song files themselves found with a song folder of the same name? If they are, you should also see a folder within that song folder, labeled "audio files". If that's the case, the audio for that song is stored within that audio files folder.
    If you hadn't gotten into the habit of saving songs as projects from back in Logic 7, then this could be a very long, and tedious process, of locating those files.

  • Need help finding a audio system ( stressed)

    I have cd with over 100 songs , and I need help finding  a boombox  that will play the CD anyone have any idea, I got no help from the store.

    here are the  specifications  for Philips eXpanium eXp 2461 , if somone can help me find a boomboox with simular specifications it would very helpful
    Philips eXpanium eXp 2461 - CD / MP3 player
    CD System
    CD system type CD / MP3 player
    Media load type Top-load
    Playback modes Repeat all,
    Resume play,
    One track repeat
    CD system response bandwidth -19980.0 Hz
    Signal-to-noise ratio 85.0 dB
    CD shockproof memory 45 seconds
    MP3 shockproof memory 100 seconds
    CD-R compatible Yes
    CD-RW compatible Yes
    CD track programming Yes (50 tracks)
    Digital audio standards supported MP3
    Supported bit rate 32 - 320Kbps
    General
    Product type CD / MP3 player
    Weight 8.0 oz
    Carrying Case
    Case type None
    Built-in Display
    Audio system built-in display LCD
    Audio Features
    Sound effects Digital Dynamic Bass Boost (Digital DBB)
    Sound output mode Stereo
    Additional features

  • I REALLY need to find Oracle Client File

    I was installing a copy of Oracle 8i - 8.1.7 on a Unix operating system. After installation I tried to locate the client file so that I can start up the client, but to my surprise I could not find the client file(s) - program. Do you know what filename under the Oracle directory contains the client file. Without this I cannot run any of the great wizards that Oracle has to offer.

    Well, there are a whole lot of files that come under the broad category of 'Oracle client'. There's presumably a /bin directory that has a number of utilities like SQL*Plus available...
    Justin

  • Need help finding moved image files

    How would I find files after they have been moved? I travel and use a MB Pro laptop. The workflow I'm using is to download images to my desktop, review, rate and add keywords immediately. I make 2 backups, 1 to portable data store hard drive and one to DVD. Then every few days I erase the desktop image files. When I arrive home I download the entire trip's images from the portable storage to my desktop drives (2 500Gb SATA drives).
    Is there an easy way to direct Aperture to look for the files in the new location? Or, failing that, is there a better way to work? I regularly have 40 - 60 Gb of images after a trip and the laptop hard drive is inadequate for the task.

    The question isn't really clear to me yet. If you know what "the new location" is, then it's easy to make Aperture point to it. But that may not be the question. I think you may need to describe your workflow in more detail.
    You don't say how to review etc images on the MBP. If you're using Aperture, it must be with a library. Are you using Managed images there? So is the problem how to transfer data -- images and edits and metadata -- from the library on the MBP to the library (with referenced images??) on the desktop?
    Synchronizing libraries is not something Apple makes easy or offers any real help with. The best way to do it turns out to be to export one project at a time, connect to the other machine and its library, and import the projects. (In the process you might also Relocate images to make them referenced.)
    But your note about the laptop drive being to small is confusing. I don't see where your images are when you're on the road.

  • How do I find Ibook audio files on Mac?

    An Ibook that i downloaded includes audio, i would like to be able to listen to the audio on my ipod instead of an ibook. Is it possible to transfer the files to itunes?

    The only two folders that show up are one called "Microsoft user data" and the other is RDC connections. Where do I go from there, I tried clicking into them but still was unable to locate any documents. I also cannot locate any of my music or pics. Forgive me, as I am a Mac noob.

  • Garageband won't open a song - because it can't find an audio file

    Hi, I was hoping someone might be able to help me out.
    I was working on a song, saved and closed it. Just a couple of hours later, I wanted to open the song and went through the process as normal. At first GB looked like it was loading up fine, then it got to a point and a message pops us saying something like "Unable to find Chorus1#32.aiff" with the options to Skip or Search.
    If I Skip, then GB just crashes and I get the apple message saying the program closed unexpectedly etc.
    If I Search, then it appears to search and doesn't find it and either ends up just hanging and becoming unresponsive (more times than not) and ocassionally it goes back to SKIP at which point it will crash if I try to skip.
    As such, I am completely unable to open this song. I have checked the package contents and the file that it says is missing is not there.
    I have searched the hard drive and have been unable to find the file anywhere. I found some other deleted .aif files in the trash, so I tried renaming one of those to the file GB says was missing and putting it in the song's package contents, this doesn't work. Just can't open the song at all.
    Can anyone help with this please, or is it just lost forever?
    Thanks in advance!

    Does the song play in iTunes?
    If yo have know goo copy of the song I would delete it from the iTunes media folder and then reimport  the known good file.

  • PLEASE - Need help with system audio files

    Hi guys, I'm going to try posting this one last night before throwing my hands up.
    I'm having a problem with my MacBook Pro where certain audio, namely in browsers like FireFox or Safari, doesn't output.
    YouTube and Google Video stream and display video content correctly, but no audio is output.
    System audio such as notifications, as well as iTunes, doesn't seem to be affected.
    I tried to follow the steps outlined in another post to check the output Hz setting for my midi device in the Audio MIDI Setup panel. However, this is what my panel looks like:
    http://static.flickr.com/48/12917458198120c9319_od.jpg
    It's simply blank, with "Output is not supported" displayed where those settings should be.
    Any ideas as to the root of this problem? It's almost like I'm missing a .plist file or some other system file, maybe something that got deleted using AppZapper? That's just a wild guess from a recent Mac convert after browsing the forums
    Thanks!

    First off, it makes total sense that you see "Output is not supported" for you microphone. Change the "Properties For:" drop down to "Built in Output" or whatever output device you are using. You will then see the audio output format and frequencies, but on the left side it will say "Input is not supported"
    Second, YouTube and Google Video don't use midi and so the Audio Midi Setup isn't really relevant to your problem at all and you should leave that alone... unless you are you a musician with a midi device setup. Perhaps this is the case, please post if it is. Otherwise you are headed down a blind alley messing with "Audio Midi Setup" to diagnose OR fix your issue.

  • Need help finding a hidden file

    I then discovered that phpMyAdmin doesn't work.
    Towards the end of the discussion, someone wrote, "WordPress had put a .htaccess file in the root level of my hard drive.
    "So in order, if you want to delete this file, you got to activate "hidden files viewing" in the terminal by typing this
    defaults write com.apple.finder AppleShowAllFiles TRUE
    and this
    killall Finder
    "After, you go in the computer root and this should be there, now delete it and to get all this crap working again as it should had…"
    I'm confused. I typed all that into Terminal, and it doesn't display anything. In another post, someone mentioned a program called TinkerTool. I downloaded it, but I don't know what to do next. How do I navigate to the root level of my hard drive and find a file and delete a file named .htaccess?
    Thanks.

    Download and run the free application TinkerTool (not "TinkerTool System"), select the Finder tab, and check the box labeled Show hidden and system files. Then click Relaunch Finder.

  • Need help finding an audio interface for my old ADAT

    Hello,
    I've been using Cakewalk Sonar for about 3 years and recently purchased a Macbook Pro and am making the switch to logic. In Windows I was using a E-mu 1212m PCI audio card that was connected via lightpipe to a Behringer ADA8000 8-channel preamp that has ADAT lightpipe output.
    The songs I do are 90% audio with midi only used very sparingly for maybe a piano here and there. I record drums with a 6 mic setup (2 overheads, 2 on snare, one bass, one hi-hat). I'm looking for a new audio interface to use with my Macbook Pro. I'm also looking at purchasing Logic Express as it seems like the only things in Pro that affect me is more channels than I use on songs.
    I would really like to spend no more than maybe 400-600 dollars if possible. Based on reading these forums, the best thing may be for me to get a MOTU 828 MKII off eBay (they seem to be available for about 500) or PreSonus Firepod.
    I've heard that some people love the PreSonus Fireface, but I'm not sure how the Firepod compares. Are the converters on the Firepod and 828 comparable or is the 828 significantly better?
    Also, my behringer preamps seem OK but I wonder if the Firepod would probably have better sounding ones, I think I only paid 2 or 300 dollars for the Behringer one.
    Any feedback at all would be great. Alot of great stuff on this forum I'm just having a tough time figuring out if I should ditch my existing ADAT preamp for a Firepod or use it with the 828 basically.
    Thanks,
    -Jayme
    Macbook Pro 2.33   Mac OS X (10.4.9)  

    Hi Jayme,
    Welcome to the Forum!
    Have you consider the Traveler?
    http://www.motu.com/products/motuaudio/traveler/overview.html
    Boy, see it for yourself, for a couple of hundred dollars more you've got
    192k and then some.
    :o)
    Cheers,
    Jorge

Maybe you are looking for