Steinberg WaveLab Elements 7 Handbuch Seite 87

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 428
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 86
4.9 Scripting 73
Functions
toString()
apply(thisArg, argArray)
call(thisArg [, arg1 [, arg2, ...]])
Example:
//Create a new custom marker Object
function customMarker(name, comment, timeSecs)
{
this.name=name;
this.comment=comment;
this.timeSecs=timeSecs;
}
//Create a new instance of the custom marker
var myMarker=new customMarker("A custom marker", "My custom marker comments",5);
//Use prototype function to add a new property to it
customMarker.prototype.samples = null;
myMarker.samples = activeWave.sampleRate() * myMarker.timeSecs;
//Trace the results in the log window
logWindow.printInfo(myMarker.name);
logWindow.printInfo(myMarker.samples);
Array Objects
Functions
toString()
toLocaleString()
concat([item1 [, item2 [, ...]]])
join(separator)
pop()
push([item1 [, item2 [, ...]]])
reverse()
shift()
slice(start, end)
sort(comparefn)
splice(start, deleteCount[, item1 [, item2 [, ...]]])
unshift([item1 [, item2 [, ...]]])
Example:
WaveLab 7
Seitenansicht 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 427 428

Kommentare zu diesen Handbüchern

Keine Kommentare