adding dir self audio encode/decode