Audio CD iso from wav files on the shell

I googled around for this but haven't found a solution.  I want to take a directory of wav files and write them to an iso file that can be burned off to a CD (a functional audio CD) at a later time.  Closest I found is using /usr/bin/genisoimage but it doesn't make an audio CD image, rather, just a data iso.
genisoimage -o test.iso ./music/*.wav

graysky,
this is how a simplified single process script could look like:
#!/usr/bin/python
import os
# Grab all subdirectories within the current directory
search_sub ="find ./* -type d"
dirlist = []
for subdir in os.popen (search_sub):
dirlist.append(os.getcwd() + subdir[1:-1] + '/')
for cur_dir in dirlist:
os.chdir (cur_dir)
os.popen ("shntool cue *.flac > foo.cue")
os.popen ("shntool join *.flac")
You might want to give it a shot at a trial copy of your audio directories.
Edit:
A quick prototype for multiple encoding processes:
#!/usr/bin/python
import os
import multiprocessing
def bincue ():
while not q.empty():
cur_dir = q.get()
os.chdir (cur_dir)
os.popen ("shntool cue *.flac > foo.cue")
os.popen ("shntool join *.flac")
# Init Queue for found sudirectories
q = multiprocessing.Queue()
# Grab all subdirectories within the current directory
search_sub ="find ./* -type d"
for subdir in os.popen (search_sub):
q.put (os.getcwd() + subdir[1:-1] + '/')
cores=multiprocessing.cpu_count()
for i in range (cores):
process = multiprocessing.Process(target=bincue, args=())
process.start()
Last edited by Darksoul71 (2012-07-05 14:47:54)

Similar Messages

  • How do I convert an audio link into a wav file?

    how do I convert an audio link into a wav file with my Imac?
    A PC user showed me to right click an audio link where it asked if it wanted to save the link as a Wav file?
    I saw this done in front of me. How do I do it with my Mac ?

    This is how to do it in itunes http://support.apple.com/kb/ht1550
    If I view the song in finder, all that i have to do is press command-i and it opens a window. In the section where you view the name and extension I took off the extension (.mp3 in my case) and replaced it with .wav

  • HT4437 how  can i stream audio to ipad from video playing on the apple tv using air play?

    how  can i stream audio to ipad from video playing on the apple tv using air play?

    I don't know what AppleTV can handle as far as bit rate is concerned, but increase the bit rate as high as it will let you. You are taking DV which is 25Mb/s and compressing it. If you're making an H.264, you should get great results needing no more than 6Mb/s. Bear in mind, the higher the bit rate, the larger the file size.

  • Noise reduction from wav file

    hi all,
    I want to remove noise from wav file . right now i am using free "Wavepad software" for reduce the noise using Auto spectral subtraction. how can i do this by java.
    can some one help me ..............

    Does this apply to your previous question of converting your DAT file to a wav?
    If so, just run the "auto spectral subtraction" algorithm on your DAT file entries before you convert them to a WAV file...

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

  • I cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    i cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    Chester31,
    Thank you very much for sharing your file with us!  Now that we are able to reproduce the problem at our end, you may stop sharing the file on Acrobat.com.
    Do you know when this problem (for not being able to add new highlight/strikeout/underline) has started?  Did you update your iOS from 7.x to 8.0 recently?
    We will continue investigating the problem and let you know what we find.
    Thank you again for your help.

  • SQL* Loader Loading specific column from CSV file to the table

    Dear All,
    Iam Loading specific column from .CSV file to the oracle table.
    Could pls help how i can load only that cols into the table
    Eg: CSV file having id, Frst_name,Last_name, Address,Phone,Insurance etc
    out of this I want to load only Frst_name,Last_name columns to oracle table say fname and lname.
    Thanks in Adv.
    Junu

    Lily,
    I made some changes to your table def but you will get the idea
    -- Table EMPLOYEE
    CREATE TABLE EMPLOYEE
      EMPID        NUMBER                           NOT NULL,
      EMPNICKNAME  VARCHAR2(10 BYTE)                    NULL,
      FNAME        VARCHAR2(20 BYTE)                NOT NULL,
      MI           VARCHAR2(20 BYTE)                    NULL,
      LNAME        VARCHAR2(20 BYTE)                NOT NULL,
      FULLNAME     VARCHAR2(20 BYTE)                NOT NULL,
      HIREDATE     DATE                             DEFAULT SYSDATE               NOT NULL
    --  data file employee.dat
    1,amy,b,amy b
    2,cindy,d,cindy d
    3,eric,f,eric f
    4,gary,h,gary
    -- Control file : Employee.ctl ( you can use truncate, replace or append , see sqlldr for more options)
    load data
    Truncate into table employee
    fields terminated by ","
    optionally enclosed by '"'
    TRAILING NULLCOLS
    empId INTEGER EXTERNAL,
    FName char(20),
    LName char(20),
    FullName char(30)
    now to load use following or you can speicify infile in control fle
    sqlldr username/passowrd control=employee.ctl  data=employee.dat log=employee.log
    {code}
    Hope this help.
    Regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Failed to read data from report file Reason: The table could not be found.

    BO Enterprise XI R2, cannot publish crystal reports using the publishing wizard.
    Failed to read data from report file Reason: The table could not be found.
    Any ideas to get around this would really help out.
    Regards

    Connection used Views, ODBC System DSN is setup properly.
    Approach for import from business view manager and import wizard.  both methods failed to import the Business View and underlying reports.
    I figure I may have imported the Business View wrong? From Business View Manager I exported from my dev server then imported to prod server.
    Apparently I learned exporting my business view also includes the Data Connections that the Business Views are dependent upon.
    So which ever folder you specify it copies it there. Originally the all Data Connections Resides on the root folder. To return it to the original location. I deleted what I had exported. Exported this time to the root folder, then only deleted the business views, foundation, elements. Then exported again to the folder where I intended then only deleted the Data Connection.
    Makes any sense? So I then had to re point the business views and all the dependent objects to the data connection that resides in the root folder.
    I tested the connection, it works fine. I properly updated my crystal reports to the business view in production. Did a sample extract it works as expected.
    However when i try to publish, either from Crystal or Publish wizard i get the same error?
    As a work around i am thinking, after updating the business view in the crystal reports, shall i re map the fields?? or reexport the business views again?
    Any help will be surely appreciated.

  • Visual wave files in the play bar

    How do I bring back the visual wave files in the play bar? They've disappeared since the last upgrade.

    On my 8 year old iTunes there's a little triangle on the left you click to change displays.  Have you tried clicking around on things there?

  • PP CC 2014 plays video fine from .mts files, but the audio is glitchy and jumpy.

    Premiere Pro CC 2014
    OSX 10.9.5
    I have imported .MTS files from one Canon C100 into PP through the Media Browser. I kept the file structure intact from the camera when copying. When I play a file in the source or program monitor the video plays back perfectly; however, the audio is glitchy and jumpy. It will skip time, jumping forward and backward seemingly randomly. If I open the same clip in Quicktime 10, it plays back 100% normal. I have restarted, reimported, and even transcoded the files to Pro Res 422 using Media Encoder CC 14. Nothing fixed it. The audio glitches the same way in the transcoded Pro Res Files.
    This is only the first of three cards of media. In total I have 120 .mts files in three separate AVCHD folders from a three camera C100 shoot. This leads to another issue I know I will run into. There will be three .mts files named "001," three named "002," etc. I have solved this issue in the past simply by transcoding, but that again failed to work for me thus far. So if I must stick with the .mts files, does anyone know a workflow for using multiple .mts files with the same name in one project/timeline?
    Thanks

    I find it hard to believe that this fixes the root of the problem as the same files playback fine in CS6. CS6 and CC 2014 should be referencing the same codec library on my system, right? If this is the case, then there is something wrong with how CC14 is decompressing the footage with the codecs that are working fine in CS6.
    To further this point. I imported the same files into CS6. CS6 played them back fine, so I saved the session and opened it up in CC14. CC14 converted the project file and all media loaded and plays back normal now.
    So if this is a codec issue, it would not have been solved by opening the files first in CS6. It also would not be solved as so many others report by moving the files and relinking to the new folder. It seems to me to be an import issue that is solely in CC14, not CC or CS6.

  • PPro CS4 All Audio Disappeared after Adding WAV File

    I cannot hear audio in a video I am editing in Premiere Pro CS4 (Win 7 pc). Problem began after I tried to record my voiceover (wav file) using PPro CS4. I saved videos from a digital camera, converted to QuickTime format, imported and was able to listen to both the audio that was originally part of the video and three voiceover files that I previously recorded using different software (I don't remember what). Now I cannot hear audio of any files, wav, wma, etc, using PPro CS4, Windows Media Player, or other software. Any suggestions of what I should do to restore audio to my system?
    fwalkatl

    Bill:
    Thanks for your quick reply. Unfortunately, this is a self-inflicted wound. It turns out I caused the problem by plugging my microphone into the headphone jack. After checking to confirm that my sound card driver is up to date, I glanced at the jack, placed the mike in the proper input port, and voila, I've got sound. I'm back editing my video in CS4. Based on this escapade, I'm sure I will need your advice again soon.
    fwalkatl

  • Extract time domain info from .wav file

    hi,
    I'm new to Labview. I want to :
    read  (an audio file) .wav file  and extract the time and frequency domain information from it.
    Pls can anyone guide me to do this task
    Thanks in advance

    Run this VI, wait till the end of the song and have a look at the diagram. You'll find interesting examples to use a Wav file.
    Hope this help you.
    PS : this vi was posted by chilly charly he is the one to thank
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    Congrats tBob and friends.vi ‏378 KB

  • Cannot hear imported wav files in the output

    Hi, I am using Macromedia Captivate. Version 1.01.1447
    I have imported a wav file and when I am playing the slide containing the audio file everything is fine, in particular I hear my audio file. However, when going to the preview of the entire slideshow (or just 5 slides), or if I preview the show in the browser, I do not hear anything. Also, when exporting the movie as a standalone file, I don't hear anything.
    Does anyone know a solution for this issue?
    Thanks!

    If you can get to the instrument editor, drag and drop your regions or files onto the keyboard and answer the following questions. To preview it have an EXS24 loaded up with EXS Instrument #5678 (or whichever number it happens to be.

  • PPro CS4 - half of audio is missing from exported files

    Hi all.
    I'm currently working on a project in PPro CS4, and by that I mean that I've already completed the project. It was exported and uploaded to youtube for my boss, no problems. Then he asked me to combine the two videos, so I copied the second half of the video and pasted it onto the first half's sequence. The settings I used for the two sequences were the same. When I play the video in PPro everything works fine. When I export the video, however, the audio is missing from the second half of the video (the half I copied). The second half audio is on the same track as the first half of the audio, so the audio levels on the exported video should be exactly the same.
    I've been browsing the forums and looking at troubleshooting pages but I still haven't found a solution to the problem. The video is intact; only the second half of the audio is missing. I have no idea why it's doing this or how to fix it.
    I'd appreciate any input.
    -RD

    Yes, if he is exporting one file of video and audio then either the entire track is exported
    or only the work area bar is exported for both video and audio. If he is exporting video and audio separately THEN they might be different lengths.
    You might right-click the audio for the second section and select Audio to see if it is muted.
    Try exporting the audio alone without video, listen to the audio in Windows Medica player and listen if all or only half of it exported. If all of it exported, then that narrows the problem.
    You might try creating a new Sequence and pasting the video and audio into the new Sequence (don't just duplicate the sequence, that may just duplicate the problem). Then export and see if that circumvented the problem.
    What format are you exporting to?

  • Audio not importing from MTS files

    I have AME CS6, and when I import an MTS video, the audio does not get included for some reason.
    After installing AME CC, when I import the same MTS file, the audio does get included.
    Does anyone know how to correct this in AME CS6?
    First image is from AME CS6:
    This image is from AME CC:

    Changing the Import method can sometimes resolve these types of issues. With any of the "memory card" cameras, important to use this method -
    1) Copy ENTIRE contents of SD card to your hard drive, all folders intact (do not use "transfer utility/conversion" software)
    2) In Premiere, use the MEDIA BROWSER to find and import media (usually tabbed at lower left side of Premiere interface).
    Hope this helps.
    Jeff Pulera
    Safe Harbor Computers

Maybe you are looking for

  • Item text in table not printing correctly

    Hi All,   I have a requirement to display Purchase Order Line Item Text in one of the column in a table. I used table to do this, but it is not working correctly, when there is more data (more than one page) in long text. Columns using in the table  

  • PMS Un Locking Appraisal Documents

    Hi all We like to unlock all the locked appraisal documents for every half an hour. For the above functionality our ABAPer has written a Z program to unlock all the appraisal documents and wanted it to be scheduled for every half an hour. Functionali

  • Re: CS5.5 GPU Hack - Not Working?

    I tried the EXACT same steps with Adobe Premier Pro CS5.5 to apply the GPU hack but after modifing the cuda_supported_cards.txt file Premier Pro CS5.5 will not start.  It will just crash.  But when I restore the cuda_supported_cards.txt it then start

  • [ ? ] Targetting function inside imported SWF

    Hi, Is it possible to target function that's inside imported (or Loaded) swf file? I want to load external swf file into my fla project file, and then with a press of a button (for example) trigger a function that's inside that imported (or Loaded) s

  • Excel Analysis Toolpak Add-In?

    I have an excel file from a client that uses custom functions in their formulas from SAP BusinessObjects, for example "EVTIM()". When I open their files, Excel does not recognize these functions so all data is replaced with an error message "#NAME?".