How to retrieve a sample file length [Solved]

Post topics about HALion scripting.
Post Reply
misohoza
Member
Posts: 960
Joined: Sun Oct 05, 2014 12:18 am
Contact:

How to retrieve a sample file length [Solved]

Post by misohoza »

Hi.

Is there a way to retrieve a sample file length of the currently loaded sample of a sample zone?

I'm trying to create a script to replace sample by changing the "SampleOsc.Filename" parameter and I'd like to set the SampleEnd parameter to the full length of the sample.

Any ideas?

Edit: https://developer.steinberg.help/display/HSD/AudioFile

Thanks Matthias.
Win 10 Home, 64 bit, 8 gb ram,
Cubase Pro 10.5, Wavelab Pro 9.5, Halion 6, Dorico 3,
NI Komplete 10 Ultimate, Ozone 7,
UR 44

Post Reply

Return to “Halion Scripting”

Who is online

Users browsing this forum: No registered users and 1 guest