Hallo,
Can I use my "custom" effects?
I created the full collection piano CAF (90 keys) to make a small piano app. I created a modified copy of PIANO App and I want to use it with my effects (filename PIANO_01.caf .. PIANO_90.caf). The CAF files and the PIANO.py ist in the Subdirectory root/Piano/. Opening the CAF file in Phytonista "explorer" plays the CAF file.
How can I address my own CAF files in a .py script?
I'm using the following code:
for i in range(0,90):
effect_name = 'PIANO_'+str(i+1).zfill(2)
self.sounds.append(effect_name)
sound.load_effect(effect_name)
unfortunately the sound.play_effect(self.sounds[index]) doesn't plays any node.
Is there any suggestion?
Thanks and cheers.