Added method in https://github.com/KSHSK/WAVED/commit/63b6e793dbf68142122f36ff4d65708ab45977d2