Creating script to split wav files

I'm using AA3 to record my vinyl collection for burning on to CD & I also use mixedinkey to ascertain the key for each track.
Quite often the keys can be different at the beginning & end of each track so I want to create a script that will save the 1st 2 minutes of a track as say "filename(1).wav" & the last 2 minutes as "filename(2).wav" so mixedinkey can analyze them separately, is it possible?
I have a lot of tracks that I'd like to do so automating it is the only way forward.
Thanks in advance.

Thanks for the replies.
I'm getting there. I created the script below that deletes all but the 1st 2 minutes, this can then be run in batch processing with a file rename mask to get the desired result for the particular file I recorded the script on. All subsequent tracks of different length confuse it as they're not 18413567 samples in length.
Is there any way to say "end of file" instead of specifying a number?
Collection: mixedinkey
Title: MIK1
Description: Saves 1st 2 minutes only
Mode: 2
Undo: 0
Selected: none at 0 scaled 18413568 SR 44100
Freq: Off
cmd: Channel Both
Selected: 5292000 to 18413567 scaled 18413568 SR 44100
Freq: Off
cmd: Delete
Freq: Off
End:

Similar Messages

  • Script to Split PDF files on Bookmarks

    I'm totally new to Java scripting.  What I'm looking for is a script I can run from batch processing with professional that will look at a collection files in s directory and split ech one of them on their bookmarks into smaller files.
    The bookmarks are all based on the page so it is possible to use the bookmark object's "execute" method to execute the bookmark action and pickup the page number.
    I read that last part somewhere. If someone can give me a reference to a thread or just some code to get me started that would help. Thanks,
    Josh

    5 years later... hopefully this helps someone out there.
    I couldn't find much information online about this myself, but hammered away until it worked. My code is for a slightly different purpose, but you should easily be able to adjust it for your needs.
    My sources:
    Adobe IAC Developer Guide
    Adobe IAC API Reference
    Adobe JS API Reference
    Adobe Acrobat and VBA – An Introduction | Karl Heinz Kremer's Ramblings
    UtterAccess Discussion Forums > Splitting Pdf Files
    Private Sub extractBookmark()
    Dim AcroApp As AcroApp, AVDoc As AcroAVDoc, PDDoc As AcroPDDoc, PDBookmark As AcroPDBookmark, AVPageView As AcroAVPageView
    Dim newPDF As AcroPDDoc, mergePDF As AcroPDDoc
    Dim jso As Object, BookMarkRoot As Object
    Dim masterPath As String, testName As String, i As Variant, bookmark As Variant
    Dim startN As Integer, endN As Integer, nPages As Integer, totalP As Integer
    Set AcroApp = CreateObject("AcroExch.App")
    Set AVDoc = CreateObject("AcroExch.AVDoc")
    Set PDDoc = CreateObject("AcroExch.PDDoc")
    Set PDBookmark = CreateObject("AcroExch.PDBookmark")
    masterPath = ActiveWorkbook.Path & "\MasterDocument.pdf"     'Path of the PDF containing the bookmarks to be extracted
    AVDoc.Open masterPath, vbNull
    Set AVPageView = AVDoc.GetAVPageView
    Set PDDoc = AVDoc.GetPDDoc
    Set jso = PDDoc.GetJSObject
    Set BookMarkRoot = jso.BookMarkRoot
    bookmark = jso.BookMarkRoot.Children
    totalP = PDDoc.GetNumPages
    'Loop through the 10 bookmarks in MasterDocument.pdf and get the starting page # of each. This # has to be changed to the # of bookmarks in your pdf. Or write something to count the bookmarks and use that variable. "productName" is a global variable for my specific project... You'll need to revise this for your purpose.
    For i = 0 To 9
        If bookmark(i).Name = productName Then
            PDBookmark.GetByTitle PDDoc, bookmark(i).Name
            PDBookmark.Perform AVDoc
            AcroApp.Exit
            startN = AVPageView.GetPageNum
            If i < 9 Then
                PDBookmark.GetByTitle PDDoc, bookmark(i + 1).Name
                PDBookmark.Perform AVDoc
                AcroApp.Exit
                endN = AVPageView.GetPageNum
                nPages = endN - startN
            Else
                nPages = totalP - startN
            End If
        End If
    Next
    PDDoc.Close
    'This part will also need to be modified. I am inserting the bookmarks into an already made PDF (global variable for me "fName"). You'll want to create a new pdf.
    Set newPDF = CreateObject("AcroExch.PDDoc")
    Set mergePDF = CreateObject("AcroExch.PDDoc")
    newPDF.Open fName & ".pdf"     'This line needs changing for your purpose. Probably could be.... newPDF.Create
    mergePDF.Open masterPath
    newPDF.InsertPages 0, mergePDF, startN, nPages, 0
    newPDF.Save PDSaveFull, fName & ".pdf"
    newPDF.Close
    mergePDF.Close
    End Sub

  • Splitting .wav Files from LPs in WaveStu

    Hi,
    Does anyone know how to split a large .wav file using Creative WaveStudio? I haven't been able to find out how in the help files or online knowledgebase.
    I have a SB Li've! 24-bit and have successfully recorded LPs to .wav files in 96kHz/24-bit resolution (I plan to take advantage of the higher resolution afforded by the DVD specification over normal audio CDs and make music-only DVDs). I've been capturing whole sides of LPs and now need to split the resulting file into tracks.
    I can think of two work arounds:
    ) record one track at a time.
    2) make individual tracks from several copies of the large file.
    But it would be easier to just be able to split the large file into individual tracks. Any help would be much appreciated.
    Thanks.

    if you only deals with STEREO 24/92 files then wave studio should be able to split them easily.
    if you're dealing with multi-channel 24/96 files then I think Goldwave isn't able to process them correctly (it's not indicated it supports multichannel files in the product description).
    If you plan to play your records on a PC only, then why you do not compress them with Windows Media codec (lossless for 5./24bit/96kHz, or Professionnal for 7./24bit/96kHz max). You'll be able to fill more your compilations without any hearable audio loss (with the lossless one yes).
    Windows media encoder can do this very well, as well as indexing its media formats.

  • ITunes will no longer play nor add to the library any mp3 files which I have created by conversion from a wav file.

    I am running iTunes 10 on XP Pro and it will no longer play those mp3 files which I have created by conversion from wav files.  I tried to delete some from the library and then re-add them but iTunes will not add them back to the library.
    Can anyone help solve this, please?

    Back up your purchased music before you upgrade, I've read at least 5 cases where purchased music has just gone.....missing.
    That is not supposed to happen, didn't happen to me or thousnds of other iTunes users, but you don't want to be the 6th person, do you?
    There are two things to try before you upgrade:
    Barbara Hall, "Unknown Error (-208)" #1, 07:42pm Oct 19, 2005 CDT
    http://docs.info.apple.com/article.html?artnum=302478

  • How to create 8-ch. .wav, as per Charles at NAB

    Please list all the steps necessary to create an 8-channel .wav file from input files that are either 5.1 and 2.0 AC3/E-AC3 or .wav files.  There may be some file-naming conventions involved--and name-changing.  Channelization may also be an issue.

    Warning - here be dragons! IOW, you can do it, but at present it's a bit 'clunky'...
    The basic process involves you starting with a multichannel file, with nothing in it. You create this by clicking on 'New File' and selecting 'custom'. This lets you create a file with as many channels as you want. You do this, and you then have an empty file block on your screen. At this point, any files you want to put into it have to be opened, and ideally converted to individual mono tracks (easy option to do this in the Edit menu). Now, in your multichannel file, you have to turn off all of the tracks except the one you want to insert into. The channel controls for doing this are at the RHS of the waveform. Open the track you want to insert, and copy it. Now return to the multichannel file and paste it to the active track. Repeat with all the other files you want to insert, and you have an n-channel file with your 5.1 or whatever tracks in it.
    Additionally, you can now open the Channel Mixer on this new file, and you'll get the option to alter the levels on individual channels if you want. Save the result, and you're done.
    Now, I'll be the first to admit that this isn't yet perfect. But hey, the fact that it works at all is quite something, considering how long we've waited for it.

  • Bouncing individual tracks creates 2 wav files for each..why?!!

    When I bounce individually selected tracks from Logic Express, it creates a double wav file in my folder for each track I bounce. It didn't use to do that and I haven't changed any settings... Please HELP :/

    By "double wav" do you mean that you are getting a separate audio file for left channel and another for right channel, something like this?
    Be sure to check in your bounce window that you have "interleaved" checked instead of "split."
    Depending on how you're exporting/bouncing your tracks this may not help, but you can always solo the desired track and bounce your song with "interleaved" selected to get a single stereo file of that individual track.

  • Cannot play .wav file in ICM script

    Dear all,
    I wrote a cript that plays a audio file ( .wav). That file is in correct audio format ( 64kbps, 8bit, 1 mono, 8kHz, CCITT u-law).
    As you can see in script, all test calls from PSTN after jumping to Run Ext. Script  are going to End node ( number 27). And from mobile test, i cannot hear any sound from script.
    So, what is cause here? Thank in advance

    I'll have to go on some assumptions since you don't have a lot of info here.  Someone probably created a generic IPIVR script that performs similar functionality to the micro apps in CVP using peripheral variables as input.  If an error is occuring, it is happening in the IPIVR and you will need to look at the MIVR logs to see what is causing the error.  As for the path that the call takes once it exits the run external script node, that is set within the IPIVR script using the Set ICM Result step.  Set it to true and it exits the success leg or set it to false and it exits the failure leg of the node.  I'm guessing that you are probably not looking in the correct directory for the wav file and that is why it is not playing.
    Ed

  • How do I open a Quicktime created wav file in other sound editing software?

    A friend sent me three wav files created in QuickTime but they won't open in ANY sound editing software or players I have other than Quicktime. I need to use these for an upcoming podcast but can't do anything with them until I can open them with my editing software (WavPad Sound Editing).
    Can someone please tell me how to do this?

    On a Windows system you can't. There is a plugin codec for WMV for the Mac version of QuickTime, but not for Windows. You'll need to use other software.
    Regards.

  • HT1550 No longer able to create ALAC version of a WAV file.

    When I select a WAV file, song or album I bring up the menu and am offered, 'Create a WAV Version'. It is already a WAV file, why I would I want to create another. How come I am no Longer being able offered thje 'Create ALAC version Option? Anyone know what I need to do to be able to 'Create ALAC Version'?

    artmanxxx wrote:
    Thanks for the reply ed2345.
    It doesn't help me. I used to be able to have WAV as my default import setting. Then if neccesary I was able to 'create ALAC version' by right clicking and selecting it in the menu. I can no longer do that.
    Regards, Artman
    Artman, 
    iTunes has always allowed exactly one import setting, and it applies both to CD ripping and to format conversion!
    However, it is not that hard to change it and then change it back if you need a different setting for a different purpose, such as creating an ALAC version.

  • Want to replace Wav Files with Apple Lossless in the same folder...Scripts?

    Hello!
    I have about 4,000 wav files (wow) that I digitized from Vinyl. I organize my media folder myself (I have the organize option unchecked in preferences) and most of the songs are not properly tagged. I would love to convert the wav files to apple lossless and have Itunes save the file in the same folder from where it originated. I havent found a way to do this yet. Its weird to me that I can select a song in a playlist and hit "Show in Finder" and it knows exactly where it is yet when I convert files to apple lossless they end up in the "unknown artist-unknown album" folder. Anyone have any ideas or is there any scripts that can do this for me ? thanks so much!!
    I had found one script that deletes the original wav files but still the new apple lossless are still put in the unknown album folder.....
    Zeke

    When iTunes converts a file, it does not allow you to direct the location of the output file, but rather places it according to the Artist/Album tags, which in your case are unknown.
    Almost every other conversion tool allows you to direct the location of the output. There are not a huge choice that run on the Mac and support Apple Lossless, but a good one is Max.

  • How to create a wav file from 24bit 96Khz sampling rate data

    Hi
    I am trying to make an VI which will play sound while acquiring data from PXI 4472 DAQ card.
    My sampling rate is 96Khz and PXI 4472 card is a 24bit card.
    Wave files are in 8 or 16 bit and the sampling rate is 8000, 11025, 22050 and 44100. How will I be able to play the data which I am acquiring.
    How would i normalize the data into the required format needed for most of the sound cards to play.
    Or are there any codec available in Windows XP which i call to play a 96KHz 24 bit sample
    Does anybody ever encountered this type of problem.
    Thanks in advance
    Nitin

    Whilst the 'standard' RIFF format specification usually accomodates 16 bit data, there is of course no reason that you can not create your own extension. It just won't be playable by Media player using the 'standard' installed drivers or codec. This may not be a problem....
    WAV files can and do support other formats, you just need to know how to handle them......
    There is howerver a 4GB limit (related to the pointer size in the WAV specification) which with higher bit depths on the sampling does start to become a bit of a problem.
    To give you a few samples of other types of wav files check out the following site here
    http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Samples.html
    The following definitions for WAV audio formats may also be of interest here
    http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html
    Good luck with 24 bits.

  • Error in creating log files in create script with ASM

    In our create script we have:
    LOGFILE GROUP 1 ('+REDO1/oradata/cssys/redo01a.log') SIZE 100M;
    I'm getting the error ORA-00301: error adding log file '+REDO1/oradata/cssys/redo01a.log' - file cannot be created.
    ORA-17502: ksfdcre:4 Failed to create file +REDO1/oradata/cssys/redo01a.log 
    ORA-15173: entry 'oradata' does not exist in directory '/'
    The datafile didn't return an error and there we had DATAFILE '+DATA/oradata/cssys/system01.dbf.........
    Not sure why the error occurs on the REDO, the DATA and REDO look fine in ASM. Thanks in advance.

    I have no personal experience with this, but pl see if MOS Doc 604982.1 (Unable To duplicate Database on ASM From one Server To Another Host) is applicable in your case
    HTH
    Srini

  • How to create a comp from separate wav files

    I have wav-files from a ProTools session, 3 takes (14 mics), so in total 42 (drum)racks.
    I am looking for a way to create a Comp in Logic, so i can use the Quick Swipe Comping facility.
    Anybody knows how to achieve this ?
    Thx in advance,
    Arno

    Pull the files onto the arrange page then: *right click/folder/pack take folder*
    Message was edited by: bill borez

  • Can i create AIF or WAV files larger then 4 gig?

    Can i create AIF or WAV files larger then 4 gig?  It seems like I have been doing that all along, but suddenly FCPX and Compressor 4 will not allow me to create and AIF file bigger then 4gig.  It claims that the file format does not support sizes above 4

    Hi...
    per def. WAV 32bit does not support larger files than 4GB (sometimes 2GB).
    You can use the BroadCast WAV format. Which will enable that.
    However, if the destination format (Your final movie you wanna export to in Compressor and Fcpx) is WAV and not broadcast WAV it wont work due to the 4GB limit.
    Aiff is limited as well.
    Here are a few sources:
    http://en.wikipedia.org/wiki/Broadcast_Wave_Format
    http://en.wikipedia.org/wiki/RF64
    http://en.wikipedia.org/wiki/WAV
    PS --- WHy do you need more than 6 hours of uncomressed 16 Bit audio for a movie ???

  • I have just installed Itunes 11.0.   When itunes creates a *.AAC file, does it put it in the same directory as where my .wav files are located?

    I have an iPod Touch 64gb.  I have 149 gb of  .wav or similar format music.  I have created a music library with the latter. How can I convert this library
    into  .AAC format so that the syncing process will be seamless?  Should I create a new folder for the .wav files and put the .AAC files into
    a subfolder in the itunesmedia folder?  If so,  how do I get  itunes to put these files in that folder?
    Thanks.

    was this ever addressed

Maybe you are looking for

  • IPOD error message when plugging it into Macbook

    My Ipod has been acting up lately. It happened before and I went through the restore process and lost ALL of my songs, videos, playlists, etc. The process is painful to rebuild, and now that I have done that, it's telling me the same thing again. "Th

  • How to open a LOV popup programatically?

    Hi All, I am using JDeveloper Version 11.1.1.1.0. I need to open LOV popup when pressing a push Button in my page. I am using (af:inputListOfValues) tag in .JSPX and (RichInputListOfValues) component in Backing Bean. Any help would be appreciated. Th

  • How does AUMultibandCompressor work?

    Can anyone point me in the direction of a tutorial for AUMultiband Compressor? I get the gain, attack and release settings, but not the fact that there appear to be four bands but only three crossovers. How does crossover work? What do the EQ setting

  • Creating Quality Notification via BAPI

    I am attempting to create a quality notification using BAPI_QUALNOT_CREATE but am running into an issue.  I need the ability to link the inspection lot number to the quality notification but I do not see a field for inspection lot in any of the BAPI

  • Require special stock indicator in  MCBA Report

    Hi, We have following requirement, In report MCBA. we need special stock indicator ( e.g. We should have facility to select/deselect consignment stock, subcontracting stock, third party, stock transper, service.) As this selection Criteria  does not