insertFile(): Adding a sample directly to a channel using an insertion point.

Post Reply New Topic
RELATED
PRODUCTS

Post

I'm trying to use the insertFile() command, to add a sample directly to a track/channel by:

Code: Select all

filePath = "/Volumes/Drive2/test.wav"
selectedTrack = host.createArrangerCursorTrack(0,0);
selectedTrack.startOfDeviceChainInsertionPoint().insertFile(filePath)
This code doesn't work, and none of the other insertion point commands work either, like browse(), paste().

Has anyone been able to use the insertion point commands?

Post Reply

Return to “Controller Scripting”