Input
sample
Sample to be changed
priority
New playing priority for the sample