- finished basssample implementation