I'm making some kind of music sequencer app and everything worked well so far. Sequencing and playing audio files works great, but now i want to implement saving sequence and loading it. I saved my initial beats inside array, that is loading on the beginning of layout - it's loading name of beat and JSON data for that beat. This JSON data is loaded into another array, that is storing current sequence. But for some reason this second array wont accept this JSON data. I have attached screenshots of relevant events, so if you have any idea, reply here Thanks
Preview for this app:
(this preview is not using loading function, that i mentioned above)
EDIT: Let me just add this. Beat loading worked when Change Beat function was comparing Parameter 0, and if value is 2, then Four on the Floor beat was loaded, if value was 3, then Drum'n'Bass beat was loaded, etc. I think that problem is only with the loading from one to another array.