How to program this midi sample

Using The Polyphone app I can inspect soundfonts.

Given choir#D2.wav extracted using Polyphone; plus this screenshot; how can I program this sample in lua to preserve as much characteristics as possible? I see LFO mentioned and Vib(rato?) LFO, but I don't know music theory so I'd really like a code sample here.

This is my best attempt to copy values in the right spot. Is this correct?:

local sample = snd.sample.new(samplePath)
local s = snd.synth.new(sample, 2232?, 524?)
inst:addVoice(s, 0, 42, transpose?)

What should the value of transpose be? Note that the root key (the sample's native key) is 39.
Should the sustainStart and end be in the unit of samples, like I tred, or seconds?