- September 12, 2009
- 798
- 577
- Home Country
-
Germany
Hey,
while looking into the AudioSpectrumAnalyzer to figure out how it is using GetFFTData and what it is doing with it exactly, i noticed that it displays the graph to early.
So lets say you listen to a song with a lot of beats, the bars peak ~1 second before you can hear the actuall beat. Also very mptoceable when listening to an audiobook. While it is quite, you can see that the narrator is going to speak in about a second.
Logs show nothing special, just that its loading a new window.
I was running the FEAT_ConfigSort branch.
Edit:
So i added the VUMeter effect to AtmoLight, using AudioSpectrumAnalyzer as a tamplate. I see the same problem here. So the problem rather is that GetFFTData gives us values from the future. I was expecting the values to be in sync with what i hear.
while looking into the AudioSpectrumAnalyzer to figure out how it is using GetFFTData and what it is doing with it exactly, i noticed that it displays the graph to early.
So lets say you listen to a song with a lot of beats, the bars peak ~1 second before you can hear the actuall beat. Also very mptoceable when listening to an audiobook. While it is quite, you can see that the narrator is going to speak in about a second.
Logs show nothing special, just that its loading a new window.
Code:
[2014-11-03 01:08:41,620] [69758 ] [InputMgr ] [INFO ] - WorkflowManager: Pushing workflow state 'AudioFullscreenContent' (id='82e8c050-0318-41a3-86b8-fc14fb85338b') onto the navigation stack...
[2014-11-03 01:08:41,621] [69759 ] [InputMgr ] [DEBUG] - WorkflowManager: Loading GUI model 'd8998340-da2d-42be-a29b-6d7a72aea2dc'
[2014-11-03 01:08:41,622] [69760 ] [InputMgr ] [DEBUG] - WorkflowManager: Using workflow model with id 'd8998340-da2d-42be-a29b-6d7a72aea2dc' for new workflow state '82e8c050-0318-41a3-86b8-fc14fb85338b'
[2014-11-03 01:08:41,623] [69761 ] [InputMgr ] [DEBUG] - WorkflowManager: Entering workflow state 'AudioFullscreenContent'
[2014-11-03 01:08:41,623] [69761 ] [InputMgr ] [DEBUG] - WorkflowManager: Deactivating predecessor workflow model '4cdd601f-e280-43b9-ad0a-6d7b2403c856'
[2014-11-03 01:08:41,624] [69762 ] [InputMgr ] [DEBUG] - WorkflowManager: Entering model context with workflow state '82e8c050-0318-41a3-86b8-fc14fb85338b' (old state was '062952bd-efa5-42fe-bf6b-63af61308a79') in new workflow model 'd8998340-da2d-42be-a29b-6d7a72aea2dc'
[2014-11-03 01:08:41,625] [69763 ] [InputMgr ] [DEBUG] - WorkflowManager: Compiling menu actions for workflow state 'AudioFullscreenContent'
[2014-11-03 01:08:41,625] [69763 ] [InputMgr ] [DEBUG] - WorkflowManager: Tidying up...
[2014-11-03 01:08:41,626] [69764 ] [InputMgr ] [DEBUG] - ScreenManager: Preparing to show screen 'FullscreenContentAudio'...
[2014-11-03 01:08:41,626] [69764 ] [InputMgr ] [DEBUG] - ScreenManager: Loading screen from file path 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\Media\Skin\default\screens\FullScreenContentAudio.xaml'...
[2014-11-03 01:08:41,629] [69767 ] [InputMgr ] [DEBUG] - WorkflowManager: Attaching GUI model 'ca6428a7-a6e2-4dd3-9661-f89cebaf8e62' to workflow state '82e8c050-0318-41a3-86b8-fc14fb85338b'
[2014-11-03 01:08:41,643] [69781 ] [InputMgr ] [INFO ] - WorkflowManager: Screen was updated by workflow model
[2014-11-03 01:08:41,643] [69781 ] [AMQ 'ScreenManager'] [DEBUG] - ScreenManager: Showing screen 'FullscreenContentAudio'
[2014-11-03 01:08:41,647] [69785 ] [AMQ 'SwitchBrowseModeAction'] [DEBUG] - WorkflowManager: Attaching GUI model '4cdd601f-e280-43b9-ad0a-6d7b2403c856' to workflow state '82e8c050-0318-41a3-86b8-fc14fb85338b'
[2014-11-03 01:08:41,664] [69802 ] [DX Render] [DEBUG] - ScreenManager: Closing screen 'LocalMediaNavigation'
I was running the FEAT_ConfigSort branch.
Edit:
So i added the VUMeter effect to AtmoLight, using AudioSpectrumAnalyzer as a tamplate. I see the same problem here. So the problem rather is that GetFFTData gives us values from the future. I was expecting the values to be in sync with what i hear.
Last edited: