Scripting for GarageBand: import; compress; export

Hi there -
I'm not sure where the best place to post this is, so forgive me if this was not the best guess. I'm doing research on language and have a workflow that involves collecting thousands of recordings of individual words:
     I record someone for half an hour;
     splice that single audio file into hundreds or thousands of single-word chunks;
     export each splice as a separate audio file;
     (would like to) use automator / script to automatically rename the resultant files with an alphanumeric prefix and numerical postfix;
     import each of these files into GarageBand (or StudioOne) individually;
     compress the file to reduce dynamic range;
     export the finalized file into a designated folder.
I have some very basic background in programming (primarily MatLab, but very basic dabbling in C), but I know nothing about scripting for Macs. In the long term, I'm interested in learning how to do this, but in the short term I'm looking at a lot of work that needs to get procssed and just need a quick fix for automating so that I don't have to (continue to) do this manually for each file!
In case it is of interest to anyone who may respond: the ultimate goal fo the process is to attain as constant a volume across all the files as possible: I record many different people, in different settings over the course of months or years and was told that compression will help standardize the playback volume. The reason for compressing each file individually is because even within a single recording session, the individual's voice may fluctuate notably as they move closer and further from the mic, or even if there is a single loud noise during recording - it would act as the reference point for compression, even though it was an anamoaly.
Finally, to clarify the questions involved here:
How can I automate the last 4 or so (or more?!) points from the above workflow? or Any suggestions where to find someone who could do this?
Alternatievely: suggestions on standardizing volume playback that does not involve the above process (NB: the standardization has to be as professional as possible, so I don't want to compromise the result for a simpler workflow).
Where can I start to learn more about scripting on the Mac so I can tackle such issues on my own, in the future?
Kind regards,
Rax Adam

Yes, the Keynote presentation slides/project is set for 1920x1080, the reason is I'm outputting via a high lumens projector that natively projects at 1920x1080p.
Even though a Macbook Pro does not have a screen that size, the Macbook can send out even larger than 1920x1080, but I am limiting the output to the native screen res of the projector.

Similar Messages

  • Nokia Photo Transfer for Mac - import and export y...

    Hi, Nokia has published new Nokia Photo Transfer for Mac application, which allows importing and exporting photos and videos from Nokia Lumia with Windows Phone 8 smartphones to Mac.
    - Importing photos and videos from your Nokia Lumia with Windows Phone 8, for example Nokia Lumia 1020, to your Mac
    - Exporting photos and videos from Mac to your Nokia Lumia with Windows Phone 8
    - Deleting photos and videos from the phone.
    - Nokia Photo Transfer for Mac supports also full resolution photos taken with Nokia Lumia 1020; photos taken with Nokia Smart Cam and Nokia Smart Shoot applications; photos taken with Nokia Cinemagraph application.
    You can download Nokia Photo Transfer for Mac from Nokia Photo Transfer for Mac web pages.
    Nokia Photo Transfer for Mac supports Nokia Lumia smartphones with Windows Phone 8 operating system. Supported operating systems for Mac are Mac OS X 10.8 Mountain Lion and Mac OS X 10.7 Lion. You need to have compatible USB cable for your Nokia Lumia smartphone.
    Let us hear what you think about the application. Nokia Photo Transfer for Mac informs you about new updates automatically.
    Cheers, Samuli

    Ultimateone wrote:
    I believe that after the OS Mavericks came out that this app is NOT broken.
    Not mentioned as compatible in this link: http://www.nokia.com/gb-en/support/product/nokia-photo-transfer-for-mac/ and no longer works upon Mavericks for me!
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Executable or batch script for end users to export mailbox to PST

    We are in the process of taking over a small firm and proceeding with manual migration of mailboxes from this firm , currently we do not have full access to their environment and having a hard time depending on admins of their organization dealing over
    to exporting mailboxes and then importing them back to our exchange environment,  my idea is to rather provide a executable or batch script to user's of their organization get their mailboxes exported out directly from end users  so that we do not
    have to depend on remote organization's admins for every single user out there . is there a batch script or some executable code that end users can run to have their mailbox exported out directly ? 
    Aditya Mediratta

    Seems like, this informative article would be a good approach to resolve your concern :
    http://www.msexchange.org/articles-tutorials/exchange-server-2013/management-administration/managing-pst-import-export-process-exchange-server-2013-part2.html
    Moreover if you wish, you may also give a shot to this automated solution (http://www.exchangemailboxtopst.org/) in order to accomplish this job in more easier and quicker way.

  • Script for setting Imported Excel Table Cell Inset

    InDesign CS3 Windows XP
    I've checked the FAQ and ran all the searches, but I can't find this. My old computer crashed and took with it a script that I had that would set all the cell insets for the cells of the imported Excel tables in one swelled foop. Can someone point me to the source again? My price sheets are nothing but imported Excel tables and it takes forever to set all the insets for each block separately.
    Thanks,
    JAG

    Phah.
    app.documents.everyItem().stories.everyItem().tables.everyItem().cells.everyItem().propert ies = [topInset:"1cm"]; //??
    This one-liner may need some additional work, but when I am done with it, it'll set the insets for all tables in every open document.
    Perhaps 'everyItem' also works on disk files ...
    [Edit] Just pulling your leg. I'll take a look on the one-liner when I'm back at work.
    I've got a class in a couple of weeks on Javascripting ...
    I'm jealous. They give classes about this? BTW, JavaScript is not that hard (e.g., not harder than any other reasonably popular programming language), but its interface to InDesign is something else. In this case, the magic word is 'everyItem'. (You'll learn.)

  • Setting up Figure and Table Titles for Translation Import and Export?

    Hi,
    I use InDesign to write User Manuals. Once the manual complete, I use SDL World Server to translate the document which works wonderful. The way it works is the document is parsed by the xml data and when you export the document from SDL, the translated data replaces the English data, it’s pretty slick! The problem that I have is that my Figure and Table numbers are hard coded with the word "Figure" and "Table” as part of the numbering system and will not translate nor export (see screenshot below). Is there A.) A way I can make the code become a reference to a text box in the document that then can be translated? B.) A common or different way to handle this?
    If you need any more info, just let me know. Thank you for your help!

    The problem that I have is that my Figure and Table numbers are hard coded with the word "Figure" and "Table” as part of the numbering system and will not translate nor export (see screenshot below). Is there A.) A way I can make the code become a reference to a text box in the document that then can be translated? B.) A common or different way to handle this?
    I've always avoided that auto-figure-naming stuff, in any application, for the sole reason that it often doesn't localize well. I'm not a WorldServer user, but a SDL Trados Studio user, so I don't know exactly what to tell you. If you're the kind of person to pop your IDML open in a text editor, you'll find that the actual "Figure" text appears in Styles.xml, and I doubt that SDL's IDML filters look there for text for translation. I don't actually know for sure, and I do know you're using an SDL product with which I have no familiarity whatsoever.
    A different, somewhat kludgy way to handle this would be to use auto-numbering to create an invisible paragraph number (color of Paper, size of 0.1 pts, glyph width of 1%, or something along those lines), and then have the phrase "Figure" in your live text, followed by a cross-reference to the paragraph number.
    A common way to handle this would be to ask SDL to update their IDML filter to pick up terms used in auto-numbered lists.

  • A Script for Conditional Text Batch Export

    Hi, I was directed into this subforum with this question:
    I have a document with nearly 200 versions of conditional text that has to be individually swapped out and exported to pdf. I genearlly just do this one at a time all the way though.
    Is there a way to batch the export of these pdfs? I've been scouring the internet for a soultion but can't seem to find one. I am on CS4 still if it matters. Thanks!

    Hi,
    no Problem Take a look at the exportline too. you can choose between backgroundexport and normal export.
    var nameOfThePDFExportPresetYouWantToUse = 'MyPdfPreset' //please don't forget to set!
    var currDoc = app.activeDocument;
    var currFilePath = currDoc.filePath.absoluteURI + '/';
    var currFileName = currDoc.name.replace(/.indd/, '');
    var currConditions = currDoc.conditions;
    //set all conditions visible to false
    currConditions.everyItem().visible = false;
    l = currConditions.length;
    //cycle thru conditions
    while(l--){
    currCondition =     currConditions[l];
    //set actual condition visible to true
    currCondition.visible = true;
    currConditionName = currCondition.name
    //set pdfName
    var exportTo = File(currFilePath + currFileName + '_' + currConditionName +'.pdf');
    //Have a look here:
    //export PDF. to choose backgroundexport. use the second line of code
    currDoc.exportFile(ExportFormat.PDF_TYPE, exportTo,false,  nameOfThePDFExportPresetYouWantToUse);
    //currDoc.asynchronousExportFile(ExportFormat.PDF_TYPE, exportTo,false,  nameOfThePDFExportPresetYouWantToUse);
    //set actual condition visible to false
        currCondition.visible = false;
    Sunny Day
    Hans-Gerd Claßen

  • Script for export all text in single rtf file?

    Hi!
    I need to export all storys from indd document to a single rtf file. Is there avaible some free script for CS4 which can do that?

    if(app.documents.length != 0){
         if(app.documents.item(0).stories.length != 0){
              myGetFileName(app.documents.item(0).name);
    //========================= FUNCTIONS ===========================
    function myGetFileName(myDocumentName){
         var myFilePath = File.saveDialog("Save Exported File As:");
         if(myFilePath != null){
              myDisplayDialog(myDocumentName, myFilePath);
    function myDisplayDialog(myDocumentName, myFilePath){
         //Need to get export format, story separator.
         var myExportFormats = ["Text Only", "Tagged Text", "RTF"];
         var myDialog = app.dialogs.add({name:"ExportAllStories"});
         with(myDialog.dialogColumns.add()){
              with(dialogRows.add()){
                   with(dialogColumns.add()){
                        var myExportFormatDropdown = dropdowns.add({stringList:myExportFormats, selectedIndex:0});
              with(dialogRows.add()){
                   var myAddSeparatorCheckbox = checkboxControls.add({staticLabel:"Add separator line", checkedState:true});
         var myResult = myDialog.show();
         if(myResult == true){
              var myExportFormat = myExportFormats[myExportFormatDropdown.selectedIndex];
              var myAddSeparator = myAddSeparatorCheckbox.checkedState;
              myDialog.destroy();
              myExportAllText(myDocumentName, myFilePath, myExportFormat, myAddSeparator);
         else{
              myDialog.destroy();
    function myExportAllText(myDocumentName, myFilePath, myExportFormat, myAddSeparator){
         var myPage, myStory;
         var myExportedStories = [];
         var myTempFolder = Folder.temp;
         var myTempFile = File(myTempFolder + "/tempTextFile.txt");
         var myNewDocument = app.documents.add();
         var myDocument = app.documents.item(myDocumentName);
         var myTextFrame = myNewDocument.pages.item(0).textFrames.add({geometricBounds:myGetBounds(myNewDocument, myNewDocument.pages.item(0))});
         var myNewStory = myTextFrame.parentStory;
         for (var i = 0; i < myDocument.pages.length; i++) {
              myPage = myDocument.pages.item(i);
              for (var t = 0; t < myPage.textFrames.length; t++){
                   myStory = myPage.textFrames[t].parentStory;
                   if (!IsInArray(myStory.id, myExportedStories)) {
                        //Export the story as tagged text.
                        myStory.exportFile(ExportFormat.taggedText, myTempFile);
                        myExportedStories.push(myStory.id);
                        //Import (place) the file at the end of the temporary story.
                        myNewStory.insertionPoints.item(-1).place(myTempFile);
                        //If the imported text did not end with a return, enter a return
                        //to keep the stories from running together.
                        if(i != myDocument.stories.length -1){
                             if(myNewStory.characters.item(-1).contents != "\r"){
                                  myNewStory.insertionPoints.item(-1).contents = "\r";
                             if(myAddSeparator == true){
                                  myNewStory.insertionPoints.item(-1).contents = "----------------------------------------\r";
                   } // if not exported
              } // for text frames
         } // for pages
         switch(myExportFormat){
              case "Text Only":
                   myFormat = ExportFormat.textType;
                   myExtension = ".txt"
                   break;
              case "RTF":
                   myFormat = ExportFormat.RTF;
                   myExtension = ".rtf"
                   break;
              case "Tagged Text":
                   myFormat = ExportFormat.taggedText;
                   myExtension = ".txt"
                   break;
         myNewStory.exportFile(myFormat, File(myFilePath));
         myNewDocument.close(SaveOptions.no);
         myTempFile.remove();
    function myGetBounds(myDocument, myPage){
         var myPageWidth = myDocument.documentPreferences.pageWidth;
         var myPageHeight = myDocument.documentPreferences.pageHeight
         if(myPage.side == PageSideOptions.leftHand){
              var myX2 = myPage.marginPreferences.left;
              var myX1 = myPage.marginPreferences.right;
         else{
              var myX1 = myPage.marginPreferences.left;
              var myX2 = myPage.marginPreferences.right;
         var myY1 = myPage.marginPreferences.top;
         var myX2 = myPageWidth - myX2;
         var myY2 = myPageHeight - myPage.marginPreferences.bottom;
         return [myY1, myX1, myY2, myX2];
    function IsInArray(myString, myArray) {
         for (x in myArray) {
              if (myString == myArray[x]) {
                   return true;
         return false;
    This is a revised version of the script --  not totally tested.
    Kasyan

  • Oracle Database export and Import compression proportion

    Dear ALL,
    I have oracle 8i Exp dump file of 10gigs from Production database. For import it to development database, how much spare physical space is required to have on the dev machine ?
    Is there a compression proportion defind with each oracle version using exp or expdp utility ?
    Kindly help me understand. I tried to google but fail to see any firm reply.
    Kind Regards,
    V Kumar

    vikasksinha wrote:
    Dear ALL,
    I have oracle 8i Exp dump file of 10gigs from Production database. For import it to development database, how much spare physical space is required to have on the dev machine ?I am not sure that there is any way which can tell you that how much space you would be using for the import?
    Is there a compression proportion defind with each oracle version using exp or expdp utility ?
    Kindly help me understand. I tried to google but fail to see any firm reply.
    The compress parameter of export doesn't work the way most think about it. Have a read,
    http://oracleadmins.wordpress.com/2008/08/05/understanding-compress-parameter-in-export/
    Aman....

  • Error for linking ecatt Script for exporting parameter

    Hi,
    We have 2 SAPGUI scripts, one is transaction CO01 to create the production order. The other is CO02 to release the production order. In the first script I get production order number as parameter 1 in the message field. I need to export this field to second script for releasing order.
    I am not able to pick the order.
    Tried to use ABAP code
    ABAP.
    DATA: z_aufnr like CAUFVD-AUFNR.
    get parameter id 'ANR' FIELD Z_AUFNR.
    ENDABAP.
    Still export parameter in log comes as empty. So if I create thrid script using ref# it errors out at second script start.
    Your help is greatly appreciated.
    Thanks,
    Gajanan

    Hi
    you don't have to use abap for this .
    in the command editor
    choose first script recording interface and double click it ,observe the screen list on right side and now select the last screend and double click field and parameterize it say give it a  name as variable1 by entering this in valin column.
    Create a parameter and by param1 name and export type and default values as variable1.
    Now for the second script create a parameter as import type and set it's value as &param1&.
    Also pass this value to second script by the same as you done for first script.
    This will work for sure.
    To know more how to parameterize follow the links,
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    http://www.sapecc.com/tutorials/secat_create.htm
    Please reward points.

  • Script for Importing data

    Hii All
    I want to run import of all the datafile s with help of script
    I have many datafile s with differant users and I want to run db import
    Plz Help me How to write a script .
    Thanking You

    GaurAVS,
    I don't know what were the reaosns that made you selected this option, question did you try using any other options to move data from source to destination. Couple of questions for you?
    1. One single export dump for each schema user or is it more than one file?
    2. I assume from your earlier post, you got more than 50 schema users in your database?
    Here is simple bash script, assuming you have one export dump file for each schema user. Make a directory call data and move all the dump file, please read script carefully for more instruction and modify according to your needs.
    In addition before running this script on linux box run follwoing from command prompt
    $dos2unix import.sh
    #!/bin/bash
    function importfile
         echo "importing $file for user $1"
         imp $1/$2 full=y file=$file log=./data/`basename $file dmp`log
         test=$?
         if [ $test -ne 0 ]
         then
                echo "Importing for user $1 failed ..."
             exit 1;
         fi
    function listfile
        # you have to supply username and password here
           for file in ./data/*.dmp
           do
             echo "exporting $file for $1"
             # If you used username as filename for each export dump
              unset username
              +username=`basename $file .dmp`
              echo "Username is set to $username"
              # Now to get password for this username ; you can create a file with
              # this format username=password
              # $1 -- Username
              # $2 -- Password
              unset pw
              pw=`cat ./data/pwd.txt.txt|grep $username|cut -d'=' -f2`
              echo "Password is set to $pw"
              # You have to write a small function to get username and password
              importfile $username $pw
               done
    listfile $1 $2Edited by: OrionNet on Dec 20, 2008 11:47 PM

  • Looking for Script Exchange-2007: Import-Mailbox Calendar Folder on multiple mailboxes {Distribution Group}

    Hi,
    I'm looking for a PowerShell script which will import a Calendar events into student's mailbox (Calendar). Those students are located in a distribution group and I would like to target the distribution group; I'm trying to simulate what I want to achieve
    in the below code example, I would appreciate if anyone jump in and advise.
    $Users = Import-Csv C:\users.csv | ForEach-Object{Get-DistributionGroup -Identity SC-1213} | Import-Mailbox -Identity $Users -PSTFolderPath c:\Calendar.pst -IncludeFolders '\Calendar' -StartDate -EndDate
    Much appreciated..
    Hussain

    The logic doesn't work unless you are using StartDate and EndDate for the period when you change the item.  As I said above, StartDate and EndDate are not the times when the meeting starts and ends - they are the times that the item was either added
    or modified in the mailbox.  Your filter was trying to pull items that were in the future.
    And as I also said above, if you import a modified item, the original is
    not going to be updated.  You will have a duplicate meeting
    on the calendar.  You would have to remove the original
    and import the updated item if this was how you wished to manage the updates.  This is not nearly as effective as
    sending meeting requests and updating those meetings.
    For example, if we do things the way you are doing them, and we add a "Student Appreciation Bonfire" meeting to the calendar for April 12 at "The Quad", we would do the following:
    On February 1, you get information for the meeting that needs to be imported
    You create this new meeting in the PST calendar - "Student Appreciation Bonfire"; Date April 12, start 8:00 AM, end 12:00 noon; Location The Quad
    You import the PST into everyone's calendar
    You receive a note on March 12 saying the venue has changed to The River Beach, so you update this meeting in your PST
    Since there are other calendar items in the PST, you import the update using StartDate of March 12 and EndDate of March 13 - the date that you changed the item, not the date the item occurs
    At this point, all users have two meetings on their calendar - the original and the update
    If, instead of doing it this way, you create a Student Actvities Calendar mailbox, you would handle it this way:
    On February 1, you get information for the meeting that needs to be imported
    You create this new meeting in the Corporate calendar - "Student Appreciation Bonfire"; Date April 12, start 8:00 AM, end 12:00 noon; Location The Quad
    You invite everyone to the meeting
    You receive a note on March 12 saying the venue has changed to The River Beach, so you update this meeting in that calendar and send out the update
    At this point, all users have only the one meeting on their calendar - the update
    Using the PST as the source for the meetings would work only for items that
    will not be changed - holidays are a good example.

  • Looking for a program that can handel import and export of palm doc files

    I am looking for a program that can handel the import and export of palm doc Files that can convert them to to either txt or RTF files for Vista 32, running Palm Desktop 7.1.
    Could anyone give me a few suggestions of any plug-ins that would be good me?
    Hearns
    Post relates to: Palm IIIxe
    This question was solved.
    View Solution.

    Ok, you need to clean uninstall Palm desktop 6.2. Install Palm desktop 4.1.4 and download and install documents to go version 6.
    Here are the clean uninstall instructioins for Vista.
    You should first make a copy of your data to have just in case something
    happens. You can find your data files by going to Start --> Documents -->
    Palm OS Desktop. Highlight your Palm Desktop username and right click and
    copy. Then go to your PC desktop right click on a blank spot and select paste.
    If this is the first time you are installing Palm desktop and encountering a problem, skip the previous step.
    Now you want to uninstall Palm Desktop and remove everything that has to do
    with Palm Desktop from your computer.
    Go to the following locations on the PC and delete the folders listed below.
    C:\Program Files\Palm or Palm One
    C:\Users\[Vista Login Name]\appdata\local\virtualstore\Program Files\Palm or
    PalmOne
    C:\Users\[Vista Login Name]\appdata
    *Note you may need to view hidden folders to get to appdata. To do that go
    into your control panel and open folder options. Go to view tab and uncheck
    hide hidden files.
    Once this is done you will need to delete some registry keys from your PC Operating System.
    Word of warning, going here and deleting the wrong thing can cause your PC
    from starting up, crashing and deletion of programs and data. If you feel
    you are unsure of yourself, see if you have a friend that can help you or a
    PC technician that you can pay to help you. This procedure will show them everything they need to delete. To make sure we have a good copy of the current registry, we need to do a backup of the Registry.
    Go to start on the PC, in the search field type "regedit.exe" without quotes.
    Highlight COMPUTER, go to File --> Export. Should pop up with a Save As box.
    Current location is fine, should be in My Documents or save to a location you will remember. In the file name on the bottom type "backup[todaysdate]" i.e. backup07072008. Next, the hard part.
    The easiest way to make sure your working with the correct key, highlight the key i.e. palm quick install, and press delete on your keyboard. It will ask you, are you sure. Say yes. Do the same thing for all keys below.
    If you make a mistake, stop what you are doing. And call a PC technician.
    BUT do not turn off your computer.
    The reg keys are as follows (Note: some of theses reg keys will not be here
    but if they are delete them)
    * HKEY_CURRENT_USER\Software\U.S. Robotics\Palm Quick Install
    * HKEY_CURRENT_USER\Software\U.S. Robotics\PalmOne File Transfer
    * HKEY_CURRENT_USER\Software\U.S. Robotics\Pilot Desktop
    * HKEY_CURRENT_USER\Software\Palm
    * HKEY_CURRENT_USER\Software\Palm, Inc.
    * HKEY_CURRENT_USER\Software\PalmDesktopAutorun
    * HKEY_CURRENT_USER\Software\palmOne
    * HKEY_CURRENT_USER\Software\PalmSource
    * HKEY_LOCAL_MACHINE\Software\PalmSource or anything else that says palm
    Next reboot your computer.
    Then reinstall your palm desktop from the CD and do a hotsync. Use the username that is on the handheld.

  • Shell script for export backup in oracle 11g

    Hi,
    Oracle version 11.2.0..
    O/S-AIX
    How to write shell script for export full backup in oracle 11g and also need to remove 2 days of old backup.
    Regards,
    Raju

    How to write shell script for export full backup in oracle 11g
    Do you mean that export is your backup strategy ? is your database running in noarchivelog mode ? if so, then why ? if not so, then why not RMAN ?
    need to remove 2 days of old backup.
    If that mean remove files older than 2 days, you can use something like this :
    $ find <absolute directory path> -mtime +2 -exec rm {} \;

  • Script for export in datapump  -- help needed !!!

    hello all,
    i am using the following script as batch file in my database for export
    script:
    =========
    exp name/password file=d:\exp\%date%.dmp full=y log=d:\exp\exp.log an this will replace the first file(monday) on next monday.
    similar way i need a script for data pump for full database export using datapump
    thanks ,
    gold

    login to database as a dba and create directory for your dumpfile path.
    create directory dpump_dir as 'd:\exp';
    and then use the below script for export.
    expdp username/password full=y directory=dpump_dir dumpfile=%date%.dmp logfile=exp.log

  • Query to do import and Export for Oracle 10g

    For MYSQL we have queries available for import and export
    import:-LOAD DATA INFILE 'filename' INTO TABLE tablename FIELDS TERMINATED BY ','
    export:-SELECT * into OUTFILE 'file name' FIELDS TERMINATED BY ',' FROM tablename
    Do we have similar query in Oracle which can be executed on SQL * Plus

    Is it a feedback opinion you want to get/put ?
    If not, then use a proper forum, which you can find somewhere here below :
    http://forums.oracle.com/forums/category.jspa?categoryID=18
    Maybe Database General is the one for your question.
    By the way, explain where you get the data from (flat file -sqlldr - or dump file -imp -?), and where you want to put the data (flat file - select - or dump file -exp - ?), be sure you know the format of file of your output.
    Nicolas.

Maybe you are looking for