PIANOBAR / PIANOMEMORY / PIANODECODER problem


#1

Hello !

is there anyone able to help with this

i need to make a simple polyphonic midi loop that will just play endlessly when power is on, i found these modules and it works great in live mode and connected to computer, but when i "upload it as a startup" it doesnt load the pattern from memory, what is wrong there ? the prefix / suffix ?

i just need one sequence that will load when switched on and then play until switched off.. the axocontrol thing is there just for testing now..

thank you a lot !


#2

the prefix also need the directory it's in, just like the normal demo's of the sample/table loading.
if you do:
../piano
.tab

it will create/load a file in/from the main directory of the sd-ram card (you will need this card if you want to save/load anything)
so the entire created string will be:
0:/piano000.tab


#3

Thanks for the quick reply !
I will try that


#4

hey !

its working perfectly with your advice, but now trying to get it to work with another machine with axoloti 2.0
its giving this:

error:'codec_clearbuffer' was not declared in this scope codec_clearbuffer();

and error: 'fbuff' was not declared in this scope if (rem_sz>sizeof(fbuff)) {

if the pianoMemory module is removed the patch works fine otherwise, is it just that this module is not compatible with 2.0 somehow ?


#5

seems johannes has not added the "clearbuffer" codec to the 2.0 version. You could just remove this line, but this cause a bleep if you load things (or make sure the main output volume of the axoloti is set to 0 before loading/saving).

First remove this line and see if this works. It might be that "fbuff" can't be found because it gives the error of the codec first. If it's still bugging because of the "fbuff", I'm afraid v2.0 also doesn't have that part included too and I won't be able to fix that. Note that axoloti v2.0 is still alpha version, including bugs and maybe still missing some important files.