Start/Stop AudioLoopPlayer
-
@argon If you put the script containing
Synth.playNote()
within the loop player's chain that should (I think) limit its scope. -
@d-healey chain meaning inside of an onControl or something different? im a code noobie haha, your videos have been my bible
edit: just to clarify, im attempting to have an audioloopplayer play a wav of a vinyl sample and have that sample always be playing. a knob will control the gain and keep it at zero unless the user increases it
-
@argon The audio loop player has it's own midi processor section. Try putting your script there.
-
@d-healey ahhh good idea. ill give it a shot thank you
-
@d-healey brilliant! it worked! thanks again :D
-
@d-healey i spoke too soon i guess, works in hise but not in a compiled plugin
-
@argon how are you loading the sample in the loop player?
The problem can be that the compiled plugin doesn't find it. -
@Matt_SF the samples are in the audio files folder and ive added them manually within the project
-
@argon said in Start/Stop AudioLoopPlayer:
@Matt_SF the samples are in the audio files folder and ive added them manually within the project
..but did you add them to the AppData/AudioFiles folder in your compiled plugin?
-
@Lindon yep, no luck
-
-
i wonder if its my hise version causing issues. im noticing now the audiowaveform panel doesnt function correctly as it does in other hise versions on my machine. im using a scriptnode commit from around may (i think). is there a newer one anyone can confirm is working?
-
@argon said in Start/Stop AudioLoopPlayer:
other hise versions on my machine.
-
@argon I'm using the latest commit. I'm currently working with audio loop players and I can confirm it's working just fine.
-
@argon but as David advertised () , using multiple versions of HISE is the best way to mess everything up...
-
@d-healey :anxious_face_with_sweat: bad practice eh?
-
@Matt_SF thank you ill give it a try
-
i had to set the sampleIndex to 0 instead of -1. finally able to test it in a compiled plugin and the sample does not load after all. it shows the correct filename and when i right click the panel it opens the correct AudioFiles folder with the sample in it. any ideas for what might be causing it to not load?
-
@argon you'll need to post a snippet I think
-
This post is deleted!