@Orvillain Great end to a long journey. i knew it would end up being a simple few lines of coding.
Here is what i got working!!!
This code will keep the root note set to 60 as new samples are loaded.
Content.makeFrontInterface(600, 600); const var asp = Synth.getAudioSampleProcessor("Audio Loop Player1"); const var af = asp.getAudioFile(0); af.setContentCallback(function() { asp.setAttribute(asp.RootNote, 60); Console.print("Root note set to 60."); });