Summary: | Feature request: Be able to retrieve data from specific channel with RealtimeAnalyserNode | ||
---|---|---|---|
Product: | WebKit | Reporter: | Raymond <rgbbones> |
Component: | Web Audio | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | crogers |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Raymond
2012-01-17 00:12:48 PST
Actually, I think that we *do* want to mix stereo to mono and then analyse that instead of just taking the left channel. For individual channel analysis, a splitter can get us any specific channel. (In reply to comment #1) > Actually, I think that we *do* want to mix stereo to mono and then analyse that instead of just taking the left channel. For individual channel analysis, a splitter can get us any specific channel. Ok, if the design is to use channel splitter to do the work, fine. ;) While , at least we might need to eliminate the need to connect the RealtimeAnalyserNode to a destination node somehow in order to make it pull the data? It's annoying that I need to connect it through a 0 gain node to mute it out... (In reply to comment #2) > (In reply to comment #1) > > Actually, I think that we *do* want to mix stereo to mono and then analyse that instead of just taking the left channel. For individual channel analysis, a splitter can get us any specific channel. > > Ok, if the design is to use channel splitter to do the work, fine. ;) > > While , at least we might need to eliminate the need to connect the RealtimeAnalyserNode to a destination node somehow in order to make it pull the data? It's annoying that I need to connect it through a 0 gain node to mute it out... Yes, that's true. It might take a little work to implement, but could be nice. (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > Actually, I think that we *do* want to mix stereo to mono and then analyse that instead of just taking the left channel. For individual channel analysis, a splitter can get us any specific channel. > > > > Ok, if the design is to use channel splitter to do the work, fine. ;) > > > > While , at least we might need to eliminate the need to connect the RealtimeAnalyserNode to a destination node somehow in order to make it pull the data? It's annoying that I need to connect it through a 0 gain node to mute it out... > > Yes, that's true. It might take a little work to implement, but could be nice. so do you have any idea on this, or I can try this work ;) (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > (In reply to comment #1) > > > > Actually, I think that we *do* want to mix stereo to mono and then analyse that instead of just taking the left channel. For individual channel analysis, a splitter can get us any specific channel. > > > > > > Ok, if the design is to use channel splitter to do the work, fine. ;) > > > > > > While , at least we might need to eliminate the need to connect the RealtimeAnalyserNode to a destination node somehow in order to make it pull the data? It's annoying that I need to connect it through a 0 gain node to mute it out... > > > > Yes, that's true. It might take a little work to implement, but could be nice. > > so do you have any idea on this, or I can try this work ;) I'm sure it can be solved, but somehow the AudioContext has to keep track of such unconnected RealtimeAnalyserNodes, so it can "artificially" pull them. But, then we have to be careful about the lifetime of them... You can think about it if you like. There might be other such nodes in the future, such as a MeteringNode to measure signal level. channel splitter should do the work |