// linked list management
        void remove() {
            if (prev) prev->next = next;
            else kernel->playingNotes = next;
            
            if (next) next->prev = prev;
            
            //prev = next = nullptr; Had to remove due to a click, potentially bad
            
            --kernel->playingNotesCount;

            sp_pdhalf_destroy(&pdhalf);
            sp_tabread_destroy(&tab);
            sp_phasor_destroy(&phs);
        }
 void destroy() {
     sp_tabread_destroy(&tabread1);
     sp_tabread_destroy(&tabread2);
     AKSoundpipeKernel::destroy();
 }