added channel enum to tone generator