Record + generate
First woking record+generate
Move audio to separate class