Thank you very much for your simple, direct and effective examples, and what I did before was to refer to various official JavaScript examples and tutorials of construct3, add a main.js, and import tonejs in it and then export function and so on, the result is more complicated and ineffective than your example. What I want to say is that I didn’t want to disturb others at first, and tried to solve the problem by myself, but for me, a layman in programming and English is a foreign language People, it is indeed a bit difficult, so I am going to use the simplest way, directly ask the final demand, and then see if someone can give an effective example, and I will learn slowly by myself. BTW, after trying AI-assisted programming a few times, I feel that although I can't often get accurate answers, but it can provide various ideas and inspiring examples quickly and tirelessly,Given time, this should be the way of the future,At least I won’t bother others because of a simple question in the future
Sincere thanks again to you and everyone in this forum for being so helpful