refactore a bit sound_data, remove unnecessary allocation, add set_datas method to the Sound class