Skip to main content
outside_late
New Participant
January 22, 2022
Question

Is it possible to automate setting markers?

  • January 22, 2022
  • 1 reply
  • 486 views

Hello,

 

I've tried searching for this, but only found totally unrelated topics.  I tried to fine an online manual that I could download, but it appears there is no manual.  Having to rearticulate search requests, to try to find something takes time, and when you don't find anything, it's frustrating.  At least a reference manual lets you figure it out for yourself.  The fact that I pay Adobe a sizeable amount of money every month, and they can't even make reference manuals available (something every other professional company does, who I don't pay every month) is unacceptable.

 

Rant over, sorry.

 

I would like to automate setting marker points.  I'm editing wavetables, and I just need to set a marker every 2048 samples.  I have wavetables which have 256 single cycle waveforms, so doing this manually is rather cumbersome.

 

Is there a way to automate this in the newest version of Audition?

 

Thanks!

This topic has been closed for replies.

1 reply

SteveG_AudioMasters_
Community Expert
January 22, 2022

There's no printable manual because they are very expensive to produce, and cut into the shareholder's dividends somewhat, etc. so the Adobe corporate bean-counters really don't approve of them. There have been arguments going back decades over the rights and wrongs of this, and I'm probably not a good person to ask about it, as I seem to end up answering a lot of the queries arising from the lack of an adequate one. And that begs another question; how on earth do you put in comprehensive  answers to all the queries that ever arise? Well clearly you can't - so the system relies very heavily on this forum to 'compensate' for that.

 

In some ways it's better because we can put in answers to queries that would never make it into the manual anyway, and yours might be a case in point - I don't think that anybody would ever put what follows in a manual, even though perhaps they ought to!

 

No, there is no direct way of automating this within Audition, and unless a lot of corporate users wanted it, it's very unlikely to ever be included as a feature. There is a way of creating a file that will do what you want, though, but it's a fiddle and you have to do it outside Audition. Although, because the export facility is there, allowing you to do this, then you could argue that you don't need it as a built-in function anway. What do you do? You need to create the first few markers with the correct number of samples. Then you select them all in the Marker panel and use Export>Selected Markers to CSV, and save them - make sure that you have the sample format selected. Now open a spreadsheet and you'll find under the 'format' heading your first few sample numbers. Use the spreadsheet to propagate that increasing value for as far as you need to go, and save the results. (no I'm not including the spreadsheet commands - you have to do that bit.) If you re-open the audio file and go to Import, there's an option to 'Import markers from file'. If you reimport your markers, the entire file (or as many as you created, anyway) should be imported, giving you the result you want. And you can re-use this file as many times as you want, obviously. This facility has been within Audition for quite a few years now.

Participating Frequently
January 23, 2022

Use this script when adding Multiple markers to mp3 files....

 

/* =======================================================================================================
* Script Name: Add Markers
* Description: This script will add markers at fixed intervals throughout
* the length of the open file
*
* Initial State: Run with one file open and the Regions List visible.
* (Menu: View > Regions List)
*
* Parameters (Args):
* Step - the interval at which to set markers - DEFAULT: one marker every 1.3 seconds
* Prefix - the first part of the marker name - DEFAULT: no prefix
* Suffix - the last part of the marker name - DEFAULT: no suffix
*
* Output: None
*
* ==================================================================================================== */

using System;
using System.IO;
using System.Windows.Forms;
using SoundForge;

//Run with one file open and the Region Lists visible (Menu: View, Regions List)
//Sets markers at set intervals, creating names in this format: prefix+time+suffix
//NOTE: Look for MODIFY HERE to quickly update the Script Args with your own preferences
//TIP: Uses an undo wrapper, so that you can undo all markers in one step

public class EntryPoint {
public string Begin(IScriptableApp app) {

//start MODIFY HERE --------------------------------------
double step = GETARG("Step", 300.3); //change from every 1.3 seconds to something else
string szPre = GETARG("Prefix", ""); //first part of the marker name. Type "" to leave blank
string szPost = GETARG("Suffix", ""); //last part of the marker name. Type "" to leave blank

// GETARG is a function that defines the default script settings. You can use the Script Args field to over-ride
// the values within GETARG().
// Example: To over-ride GETARG(Key, valueA), type Key=valueB in the Script Args field.
// Use an ampersand (&) to separate different Script Args: KeyOne=valueB&KeyTwo=valueC

//sample Script Args: Step=4

SteveG_AudioMasters_
Community Expert
January 23, 2022

I have no idea what the above is, but I can assure you that it has nothing whatsoever to do with Audition, and nothing to do with the original enquiry.