{"action":"created","issue":{"url":"https://api.github.com/repos/spite/ccapture.js/issues/72","repository_url":"https://api.github.com/repos/spite/ccapture.js","labels_url":"https://api.github.com/repos/spite/ccapture.js/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/spite/ccapture.js/issues/72/comments","events_url":"https://api.github.com/repos/spite/ccapture.js/issues/72/events","html_url":"https://github.com/spite/ccapture.js/issues/72","id":293375944,"number":72,"title":"Record output of audio visualizer with proper delays in audio player","user":{"login":"BenBergman","id":142754,"avatar_url":"https://avatars1.githubusercontent.com/u/142754?v=4","gravatar_id":"","url":"https://api.github.com/users/BenBergman","html_url":"https://github.com/BenBergman","followers_url":"https://api.github.com/users/BenBergman/followers","following_url":"https://api.github.com/users/BenBergman/following{/other_user}","gists_url":"https://api.github.com/users/BenBergman/gists{/gist_id}","starred_url":"https://api.github.com/users/BenBergman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenBergman/subscriptions","organizations_url":"https://api.github.com/users/BenBergman/orgs","repos_url":"https://api.github.com/users/BenBergman/repos","events_url":"https://api.github.com/users/BenBergman/events{/privacy}","received_events_url":"https://api.github.com/users/BenBergman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-01T01:50:19Z","updated_at":"2018-02-01T02:06:19Z","closed_at":null,"author_association":"NONE","body":"I'm trying to record the output of an audio visualizer I built that uses HTML5 audio tag sources for input and feeds in through an analyzer node. When played without CCapture it runs just fine at a high framerate. With CCapture running it runs at a slow frame rate (as expected) but the audio is still running real time. This causes the video output to appear as though it is in fast forward.\r\n\r\nI see that CCapture overrides HTMLAudioElement.prototype.currentTime. Do I need to enable anything to get this working? I have tried with Firefox and Chrome and I don't see any errors in the console with verbose mode on."},"comment":{"url":"https://api.github.com/repos/spite/ccapture.js/issues/comments/362134782","html_url":"https://github.com/spite/ccapture.js/issues/72#issuecomment-362134782","issue_url":"https://api.github.com/repos/spite/ccapture.js/issues/72","id":362134782,"user":{"login":"spite","id":731885,"avatar_url":"https://avatars3.githubusercontent.com/u/731885?v=4","gravatar_id":"","url":"https://api.github.com/users/spite","html_url":"https://github.com/spite","followers_url":"https://api.github.com/users/spite/followers","following_url":"https://api.github.com/users/spite/following{/other_user}","gists_url":"https://api.github.com/users/spite/gists{/gist_id}","starred_url":"https://api.github.com/users/spite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spite/subscriptions","organizations_url":"https://api.github.com/users/spite/orgs","repos_url":"https://api.github.com/users/spite/repos","events_url":"https://api.github.com/users/spite/events{/privacy}","received_events_url":"https://api.github.com/users/spite/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T02:06:19Z","updated_at":"2018-02-01T02:06:19Z","author_association":"OWNER","body":"Yes, unfortunately there's no way to \"throttle\" the internal workings of Web Audio, so the AnalyserNode will run in real time, desyncing from the canvas capture. That's a problem that affects all captures that deal with FFT and signal processing, I've run into that many times. There's only two real solutions or workarounds: reimplement the AnalyserNode so it runs throttled, or pre-generate and store the FFT result. 😐"}}
{"actor":{"display_login":"spite"}}