Programmatic wave marker creation, naming with Python

I just finished a Python script using pydub that detects silences between tracks on an LP/cassette .wav recording and adds markers (cues) at the appropriate points, and I want to name them sequentially so they'll be numbered when I open them in Audition CC 2014.1.
How does Audition encode marker names in PCM wave files? I don't think they're in the peak file, and while I've combed the raw data with struct.unpack, I can't make heads nor tails of it... wondering if there's some kind of XML embedded in the header chunk.
A Python-based marker naming solution would be great too. Very little experience with C/C++. Thanks!!

Markers are saved as part of the RIFF file structure in .wav files along with other information. I believe that all this extra metadata is stored in a chunk towards the end of the file. You may therefore find further info by looking for RIFF wav structure on the internet.  Search for "Cue-points chunk"
Lots more info here:
http://sharkysoft.com/archive/lava/docs/javadocs/lava/riff/wave/doc-files/riffwave-content .htm
There is a very useful third party app for Windows called CueList Tool that can access, edit and save markers and marker lists which might help you in your quest.
CueListTool

Similar Messages

  • Does hp photo creations work with windows 8?

    I was wondering if HP Photo Creation works with Windows 8?  I have installed Windows 8 and when I went online to see if this program works with Windows 8, I was not sure if it does.  Can anyone tell me?

    I understand you have a question regarding HP PhotoCreations and Windows 8.
    I take it this is the site you came to.  The site doesn't really list any system requirements that I was able to find.  It looks like it is a free program, so you could download and install it to find out.  If it doesn't work, you could just uninstall it without issue.  You could also try installing it in compatibility mode.  If you want to try compatibility mode, you would right-click the downloaded install and select troubleshoot compatibility. 
    I don't have access to a Windows 8 unit at the exact moment, but I'll return with the results if I am able to get my hands on one. 
    Let me know if this answered your question. 
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Blee, plugin for Maxon Cinema 4D R12 using Kuler with python

    Hi,
    I just finished Blee, a free plugin for Maxon Cinema 4D R12 using Kuler with python.
    Blee will create for you a layer of materials, each one getting the  color from the Kuler theme: you will get 5 materials in a layer named  according to the theme title.
    check here the screenshot at http://www.mediafire.com/i/?u4qkl9ebt2bb6zk

    Sweet! I'm going to download and try it out.

  • Need help with python script for Deluge

    I am using Deluge 1.3.2 with web server, and all works fine, I use this script in the Deluge settings to execute upon torrent completion:
    #!/bin/bash
    torrentid=$1
    torrentname=$2
    torrentpath=$3
    torrenttimedelta=`/usr/bin/python2 /home/bobby/scripts/deluge/torrentTimeDelta.py $1`
    subject="Started download new torrent!"
    message="$torrentname to $torrentpath"
    echo -e `date`"::Finished downloading torrent:$2 in: $3" with id:$torrentid >> ~/logs/scripts.log
    echo -e `sendEmail -t [email protected] -f [email protected] -u "deluge server notification: torrent $torrentname is complete!" -m "$torrentname has completed downloading at: $torrentpath and took $torrenttimedelta to complete :)" -xu [email protected] -xp password -v -o tls=yes -s email.com` >> ~/logs/scripts.log
    echo ---------------------------------------- >> ~/logs/scripts.log
    This is to email me when a torrent is done and works. What I wanted to add to this email was the time taken to complete the torrent. I have gotten help from Deluge forum in this thread: http://forum.deluge-torrent.org/viewtop … =9&t=36989  However I think it's something with Python within Arch that is the obstacle, and so that helpful person can't do much more IMO. The python script I'm using is:
    #!/usr/bin/python2
    from deluge.ui.client import client
    from twisted.internet import reactor
    d = client.connect()
    def on_connect_success(result):
    print "Connection was successful!"
    def on_get_torrent_value(value):
    for torrent in value:
    print "%s: %s" % (torrent, value[torrent]["name"])
    client.disconnect()
    reactor.stop()
    client.core.get_torrents_status({}, ["name"]).addCallback(on_get_torrent_value)
    d.addCallback(on_connect_success)
    def on_connect_fail(result):
    print "Connection failed!"
    print "result:", result
    d.addErrback(on_connect_fail)
    reactor.run()
    Now if I call this from shell directly, it works. However, including it with my email script at the top, Deluge itself freezes and no email is sent. I run ps aux | grep deluge and I can see that the script has run, but apparently died and all is just hanging. I kill the script process and Deluge resumes just fine, the email is sent. Kinda confused how to remedy this, appreciate any help Thanks
    P.S. When I get the email, the part that says ""$torrentname has completed downloading at: $torrentpath and took $torrenttimedelta to complete "" shows nothing where $torrenttimedelta should be, it just says "and took to complete"

    [edit]  Sorry, I don't use deluge and I messed up my test script. If the script is executable try `/home/bobby/scripts/deluge/torrentTimeDelta.py $1`
    Are there any other errors? or try running bash with debug output to see if it will tell you something else
    The problem you are having is bash doesn't recognize variables inside the tick marks.
    Hope that helps
    Last edited by rickeyski (2011-07-05 19:27:36)

  • WCF :Consider marking the type with the CollectionDataContractAttribute attribute or the SerializableAttribute attribute or adding a setter to the property

    Hi All,
    Currently I am working in a WCF project here when I try to send data from WCF Project 1 to WCF project 2 I am getting the below error.
    The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:subscriber. The InnerException message was 'The use of type 'Integra.Business.ICC.ObjectChangeTracker'
    as a get-only collection is not supported with NetDataContractSerializer.  Consider marking the type with the CollectionDataContractAttribute attribute or the SerializableAttribute attribute or adding a setter to the property.'.  Please see InnerException
    for more details.
    I don't understand what issue this is since I am new to WCF. Please help me on this thanks in advance.

    You've posted to a forum for Microsoft Project - a project management program.  Please re-post your question to the WCF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf
    Sorry - I cannot seem to move your post for you.
    Julie

  • How do I install a version of vim with Python support?

    I'm trying to install a version of vim with Python support, but for some reason I can't seem to find anything useful when I search.
    So far I've found posts that say arch doesn't have one built with Python support, and use this <broken link> AUR package. I've search AUR for "vim python" which turned up nothing. There *does* exist extra/gvim-python3, but when I install that, then vim (not gvim) still tells me "Error: Required vim compiled with +python"
    This search:
    https://duckduckgo.com/?t=lm&q=arch+lin … on+support
    Provides:
    https://bbs.archlinux.org/viewtopic.php … 1#p1070281 - Only a link to a bug report
    https://bbs.archlinux.org/viewtopic.php … 0#p1144210 - Post with the 404'd AUR link
    What I finally found was this Gist with directions on using the ABS:
    https://gist.github.com/MicahElliott/3048622
    Ultimately you'll have to change the particular tar.xz files you use in the pacman -U steps, but this should get you vim with Python enabled.

    I have downloaded vim by cloning The Vim Mercurial repository.
    hg clone https://vim.googlecode.com/hg/ ~/bin/vim_bin
    Then i have a this script to install it in my own ~/bin/ dir.
    #!/bin/bash
    cd /home/myuser/bin/vim_bin/src
    echo "---Configure----"
    ./configure --prefix=/usr --localstatedir=/var/lib/vim \
    --with-features=big --with-compiledby="Custom Vim insall" \
    --enable-gpm --enable-acl --with-x=no \
    --disable-gui --enable-multibyte --enable-cscope \
    --enable-netbeans --enable-perlinterp \
    --enable-rubyinterp --enable-luainterp \
    --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config \
    --enable-python3interp --with-python3-config-dir=/usr/lib/python3.4/config > my_log
    echo "=== Make ==="
    make >> my_log
    echo "==== Install ===="
    make install >> my_log
    Hope it helps some one

  • Can I rotate mark ups created with Adobe X on the background page of a PDF document?

    Can I rotate mark ups created with Adobe X on the background page of a PDF document?

    Thank you for taking the time to reply.
    I tried both ways and neither works.  It gives me a prompt box that I have to click "next" for every page but after going thru all pages, nothing is sent to the printer.
    Also, all directions I've read indicate it will print to the default printer.  If my default printer is on a network, will that cause problems....
    and...
    should I be getting a prompt box on every page?  I thought all this would happen behind the scenes and not force me to interact with every page.
    dc

  • DC creation finished with some problems

    Hello,
    After finish the DC creation below message is getting
    DC Creation finished with some problems
    Reason: Some used DC's not avilable Locally, You Have to sync used DC's for the project.
    and when I open the view implementation many errors in the default methods.
    below is the error log:
    java.lang.Exception: C:\Users\xxxx\.dtc\LocalDevelopment\buildvariant.config is missing
    at com.sap.ide.eclipse.component.core.Util.getBuildVariantDocument(Util.java:205)
    at com.sap.ide.eclipse.component.core.Util.initBuildVariant(Util.java:261)
    at com.sap.ide.eclipse.component.devconf.DevConfManager.getInstalledDevConfs(DevConfManager.java:432)
    at com.sap.ide.eclipse.component.devconf.DevConfManager.getInstalledDevConfs(DevConfManager.java:372)
    at com.sap.ide.eclipse.cbs.activation.internal.ActivationRuntimeDataStorage.setActiveDevelopmentConfiguration(ActivationRuntimeDataStorage.java:225)
    at com.sap.ide.eclipse.cbs.activation.internal.ActivationRuntimeDataStorage.onActiveClientChanged(ActivationRuntimeDataStorage.java:944)
    at com.tssap.dtr.client.lib.vfs.config.impl.Configuration.setActiveClient(Configuration.java:477)
    at com.sap.ide.eclipse.component.wizard.DevConfWizard.updateDTR(DevConfWizard.java:687)
    at com.sap.ide.eclipse.component.wizard.DevConfWizard.addDevConf(DevConfWizard.java:546)
    at com.sap.ide.eclipse.component.wizard.DevConfWizard.access$100(DevConfWizard.java:67)
    at com.sap.ide.eclipse.component.wizard.DevConfWizard$1.run(DevConfWizard.java:348)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at com.sap.ide.eclipse.component.wizard.DevConfWizard.performFinish(DevConfWizard.java:346)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
    at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
    at org.eclipse.jface.window.Window.open(Window.java:563)
    at com.sap.ide.eclipse.component.provider.actions.DevConfNewAction.run(DevConfNewAction.java:46)
    at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)
    at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
    at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1391)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
    at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
    at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
    at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
    at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Thanks
    Polaka

    Hi Polaka,
    the Error clearly tells the root cause...
    Some used DC's not avilable Locally, You Have to sync used DC's for the project.
    This means that the DC for which you have created project structure is now present on your Local client DTR, but the same DC is using some other DCs as dependencies. And these used DC(s) are not available on your Local Client DTR.
    Please perform the below mentioned steps...
    1) The DC for which you are creating the project structure, is having dependecies on other DCs.
    2) Open the public parts of that DC and check the Used DCs that are needed.
    3) You need to create the project structure of those used DCs too from Inactive DCs view.
    4) Also make sure that buildtime depencies are also sychronized from Active DC view.
    If the problem still persists, then i would request you to provide the following details.
    1) Types of the DCs that you are using.
    2) in the CBS web UI,
    -->(http://<host>:<port>/webdynpro/dispatcher/sap.com/tc.CBS.WebUI/WebUI)
    -->Here, find out the build spaces specific to your track inside Buildspaces Table.
    <SID>_<TrackName>_D
    check the Development buildspace of your track whether it is consistent or not?
    3) If the build space is having some broken DCs then provide the Logs of the Build failure on CBS for those broken DCs.
    Regards,
    Shreyas Pandya

  • When I downloaded pics from my camera to iPhoto it put them in a file that was named with the download date. Can I do that with Aperture (as the download default)?

    I recently replaced iPhoto with Aperture. When I download pics into Aperture they are place in a file that's called "Untitled Project." When I downloaded pics from my camera to iPhoto they were put in a file that was named with the download date (YYYY MM DD). Can I do that with Aperture (as the download default)?

    My apologies.
    When I import I have an Applescript that stores the images in a year month day folder-project structure so I haven;t used the default Aperture behavior in some time. When I tested it out to reply to you I was doing it from the file system and it picked up the date from the folder.  mea culpa.
    Anyway the closest you can get is to have Aperture split the images by date. IN the Aperture preferences set the project split granularity
    Autosplit into Projects
    and then in the import window set
    Automatically split projects.
    This will give projects named Month Day, Year (ie: Mar 13, 2012) there is no way to change this
    As I said I have a script that runs on import and sets up a structure like:
    Of course many here will say not to name projects this way, that Aperture has the ability to sort by date and you're better off naming projects something more meaningful. For them that is true and it might be for you also. For me I like to store my masters this way, it works for the way I shoot.
    regards

  • LabVIEW binary format that can be opened with Python

    I need to save data in a binary format which can be opened with Python.  I have tried the "Write Waveforms to File (1D).vi" and can open them back up in LabView, but the binary format is not published anywhere, so I cannot open them in Python.  They appear to be saving as DataLog type binary files.
    Is there another binary format which I can use that I can open in Python?
    The reason I need this is that with 16-channel DAQ at 20kHz I can only save about 30 seconds of data.  For longer periods, the task of writing to a text file consumes all available memory and cpu.

    I found a solution.  I found an open-source project called pyTDMS (google for it), and it can read tdms type files sometimes.  It was some trial and error to get my data saved in a way that pyTDMS could open the file, but in the end it works great.
    I have two digital output channels as well as 16 analog input channels, so here is how I had to save the data within LabView:
    The 16 analog input channels were saved as a 1D array of waveforms.  Then the digital output channels were made into another 1D array of waveforms.  The trick was to use the write tdms subvi twice.  Once for the analog input channels and again, on the same file, for the digital output channels.  pyTDMS opens these files just fine, and I can use the metadata to sort out what channels the data goes with in Python.

  • Directory Naming with OFM 11g - Identity Management Does Not Work.

    I tried to find document about how to setup/implement Directory Naming with Oracle Fusion Middleware 11g- Identity Management, but without luck. We implement Directory Naming with IM 10.1.4.3 on Linux that is 32-bit only and doesn't coexist very well with OEM GC (64-bit). So we are very eager to try 64-bit of IM 11.1.1. Any information is highly appreciated. Thanks huge.
    Edited by: bhqu888 on Aug 16, 2009 6:51 PM
    Edited by: bhqu888 on Aug 16, 2009 6:56 PM

    I installed OFM IM 11.1.1 on RHEL 4.8 (x64) successfully and OID is up and running. Using Net Manager in the $ORACLE_HOME/bin dir I can upload TNS to OID. But Directory Naming does not work. Dbs client could not log into any dbs server through this 11g OID. Our 10.1.4 OID works fine.
    Edited by: bhqu888 on Aug 16, 2009 6:51 PM
    Edited by: bhqu888 on Aug 16, 2009 6:58 PM

  • How to mark (psd) Images with the Circle Symbol without duplicating them

    I would like to import my layered images in Aperture.
    The problem is i would like to further adjust them in photoshop cs3 without creating a duplicate.
    Is there a possibility to mark this images with the Circle Symbol (for edited with external editor) or do I really have to open each image than close again, delete the master and then the remaining image with the circle can be opened and further enhanced in Photoshop without duplicating the image.
    Another example:
    I like to open a psd file within aperture with: edit with Adobe Photoshop CS3.
    The Image should open without being duplicated. Then I could drag the layer into another PSD document and close it again.
    Right now I would end up with a Master Duplicate which I have to delete afterwards.
    I know I could use referenced files and say show in finder but I like managed better,
    also:
    Show in finder does show you only one image (I like to do that to 5 or 10 images at once).
    bc

    Like I said if you want to get into the programming business you can modify the aperture database directly but I don't know of an easier way with managed masters. You can always just do your workaround to files that you are actually working on and you only need to do it once.
    Sorry there is no answer to easier answer to deal with all of them at the same time. At least none I can think of off the top of my head.
    RB
    Ps. Lightroom can just open your PSD files but that is an apples and oranges thing. Lightroom is not trying to manage your masters for you in a managed library an ensure that nothing modifies them, if you are ok with that method than referenced files should be ok with you as well, you can always use referenced for your legacy PSDs and use a managed methodology for your new images going forward starting with the source image.

  • Creation profile with required parameters

    Please can anyone tell me  how to create the new creation profile with the following parameters: Delivery on Thursday and creation on Wednesday.

    Hi,
    Settings for the Creation Profile
    You make the following settings in Customizing for Purchasing under Scheduling Agreement ® Maintain Release Creation Profile for Scheduling Agreement with Release Documentation.
    General Parameters
    For JIT delivery schedules, you select Changed or next date. For forecast (FRC) delivery schedules, you select Next date only.
    For JIT schedules, you specify that backlogs and immediate requirements are determined.
    Aggregation Horizons
    For JIT schedules, you specify daily aggregation and enter 10 workdays as End. For FRC schedules, you choose monthly aggregation and enter 180 workdays as End.
    This has the effect that JIT delivery schedules show the daily quantities for the next 10 workdays and FRC schedules the monthly quantities for the next 180 workdays (9 months à 20 workdays).
    Creation Periodicity
    You specify weekly creation for JIT schedules and monthly creation for FRC schedules.
    Tolerance Profile
    You specify 10 days as the checking period for JIT schedules, since this corresponds to the release horizon. You enter 5% as upper and lower tolerance limits and choose Overall check.
    In your case JIT SCHEDULE IS VALID. I hope this will clear your issue.

  • I can't paste nor copy using IDLE with Python 2.7. Can somebody fix the problem

    I can't paste nor copy using IDLE with Python 2.7.
    Can somebody fix the problem

    I just launched IDLE for Python 2.7.2 on Mac OS X 10.8.4.
    The defaults for IDLE assume a PC environment and not Mac, thus it was expecting control+c, control+v for copy and paste. Under the IDLE Options menu, Configure IDLE...
    Under the Keys tab, Use a built-in key set, select IDLE Classic Mac. Now command+c, command+v work.
    Since I didn't want to squint, I set my Font to Ubuntu Mono 14 pt.
    I applied these settings and clicked ok.
    I successfully copied from a terminal window and pasted into IDLE with no issue.

  • Mark Safari tabs with different colors ?

    Is there an extension or a plugin that allows for marking different tabs with colors ? I want to be able to group together a bunch of tabs that are relevant under one color.
    I cant find any plug-in for safari

    zazu90 wrote:
    I cant find any plug-in for safari
    Firefox has ColorfulTabs extension, install Firefox and then install
    https://addons.mozilla.org/en-US/firefox/addon/colorfultabs/
    Firefox is the most user customizable browser there is.
    Easier surfing option for hard of seeing users

Maybe you are looking for

  • Book Changes in FM cause RH to crash

    When I have an existing RH project with a reference to a FM book, and I then add a chapter to the FM book OR I rename chapters in the book, and then update my RH project where the book is referenced, my project hangs. I have tried Update, Force Updat

  • Is there a way to turn off the URL suggestions in Safari 5.1.3?

    I am a freelance video producer,  and I am trying to take video screen shots for a tutorial. However, when I begin typing anything in for a URL, Safari lists not only freqents sites I visit, but also my current history. I have tried using "private bo

  • Problem with facebook publish

    I don't often publish to facebook, but in the past I have created several collections under the facebook publish service, each going to its own album of the same name. However today I decided to add 2 photos to an existing album, but when I click pub

  • Getting Used Spot Colors in a Color Legend on MAC JS or Applescript

    Hello again: I've been looking around for a script that will take the used spot colors in a document and place them in a predetermined spot. I've came across several posts about this, such as the COLOR CHIPPER although I think it's focus was on swatc

  • Unable to create new service on windows

    Hello everyone, I've just installed oracle 10g R2 on windows vista home basic. I chose not to install the sample database and create one on my own. Mine is windows/administrator account and when I try to create a service with oradim command, I get er