@thrice801 said in Issue with simply playing a file, and question about introspection:
@d-healey when I tried the trace function, it broke off execution and opened xcode (not familiar with xcode debugging), I can't tell if that is the expected behavior from that, or if it was trying to log some data as json unsuccessfully, and it is blowing up, and xcode is catching the error (the line it breaks on is something about json serialization) - is that the expected behavior of trace, or is it supposed to be putting info in my console? - also the variable watch table gave me slightly more info which is helpful, could see arrays of strings and what not, but still don't see any class names or object types and what not.
Thanks all I eventually got it figured out, and was able to get the file loaded in the AudioLoopPlayer. However I am now realizing, there is no play method on this thing. How do I actually go about triggering playback of the file, or what am I missing here?
I'm basically just trying to trigger playback of the sample now, when the daw transport play button is clicked, except I have no daw here. So I'm wondering, how do I actually play it back, and also: is there a way to simulate daw transport playback/controls directly within hise (and or setting tempo and things)?
just running it in the code editor, just using Console.print(trace(myObj));
-- any idea on the triggering playback of AudioLoopPlayer also, programatically? is that not possible, do I need to use a sampler and attach midi for playback or something?