{"action":"created","issue":{"url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/665","repository_url":"https://api.github.com/repos/katspaugh/wavesurfer.js","labels_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/665/labels{/name}","comments_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/665/comments","events_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/665/events","html_url":"https://github.com/katspaugh/wavesurfer.js/issues/665","id":137769734,"number":665,"title":"Toggle between mic visualization and recorder waveform","user":{"login":"daversm","id":4974944,"avatar_url":"https://avatars.githubusercontent.com/u/4974944?v=3","gravatar_id":"","url":"https://api.github.com/users/daversm","html_url":"https://github.com/daversm","followers_url":"https://api.github.com/users/daversm/followers","following_url":"https://api.github.com/users/daversm/following{/other_user}","gists_url":"https://api.github.com/users/daversm/gists{/gist_id}","starred_url":"https://api.github.com/users/daversm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daversm/subscriptions","organizations_url":"https://api.github.com/users/daversm/orgs","repos_url":"https://api.github.com/users/daversm/repos","events_url":"https://api.github.com/users/daversm/events{/privacy}","received_events_url":"https://api.github.com/users/daversm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/katspaugh/wavesurfer.js/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-02T04:25:25Z","updated_at":"2016-05-17T01:12:47Z","closed_at":null,"body":"Is there a way to toggle between mic visualization( via microphone plugin) and showing the loaded audio waveform, using the same wavesurfer object. Currently I am having to create and destroy wavesurfer objects, when I am showing mic visualization and then want to show a loaded audio's waveform. "},"comment":{"url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/comments/219593822","html_url":"https://github.com/katspaugh/wavesurfer.js/issues/665#issuecomment-219593822","issue_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/665","id":219593822,"user":{"login":"thijstriemstra","id":305679,"avatar_url":"https://avatars.githubusercontent.com/u/305679?v=3","gravatar_id":"","url":"https://api.github.com/users/thijstriemstra","html_url":"https://github.com/thijstriemstra","followers_url":"https://api.github.com/users/thijstriemstra/followers","following_url":"https://api.github.com/users/thijstriemstra/following{/other_user}","gists_url":"https://api.github.com/users/thijstriemstra/gists{/gist_id}","starred_url":"https://api.github.com/users/thijstriemstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thijstriemstra/subscriptions","organizations_url":"https://api.github.com/users/thijstriemstra/orgs","repos_url":"https://api.github.com/users/thijstriemstra/repos","events_url":"https://api.github.com/users/thijstriemstra/events{/privacy}","received_events_url":"https://api.github.com/users/thijstriemstra/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T01:12:47Z","updated_at":"2016-05-17T01:12:47Z","body":"@daversm can you show the code you're using now? Perhaps something in wavesurfer.js can be refactored to make things easier for you."}}