• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 13
Release 2D Spectrum, visualization
#31
both - what is your vis setting? Here are 2 screenshots with setting "very high". Mhhh are we highjacking this thread or what?

https://dl.dropboxusercontent.com/u/30371861/sweep.png

https://dl.dropboxusercontent.com/u/30371861/music.png
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#32
waveform not spectrum
Reply
#33
*facepalm*
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#34
Got a bit of an itch tonight, tried something different http://topfs2.github.io/spectrum2/ very much need design love but other than that, thoughts? (both this and the other needs webgl and webaudio powered browser, chrome rather late should do).
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#35
Yep, Chrome is the only safe bet.

Cheers, I like the first one better, this one looks more "2D"/ "static"
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#36
Funnai how these simple examples only work in chrome while big fat 3d worlds runs just fine in a free browser (firefox).
Reply
#37
(2014-12-08, 10:36)ironic_monkey Wrote: Funnai how these simple examples only work in chrome while big fat 3d worlds runs just fine in a free browser (firefox).

Its the webaudio part which doesn't work, I haven't really tried it on firefox yet tbh (usually code for chrome at work only, as its webkit)
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#38
right. we are quickly heading down the ie route again just with a new overlord Sad
Reply
#39
Haha. Well its very doable to get it to work on firefox, its just me being lazy. I'm mostly trying out ideas so focusing on getting it out quick Smile Ideally this will be turned into cpp and kodi anyways.

http://www.smartjava.org/examples/webaud...mple4.html is an example which works in both. I just didn't have the time to do it Smile
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#40
(2014-10-08, 17:23)topfs2 Wrote: I have almost recreated this one https://www.youtube.com/watch?v=ptICQtESe64
Or this in lighter version https://www.youtube.com/watch?v=64DeItg6dgs

Superb !!!
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
#41
(2014-12-08, 17:00)mikebzh44 Wrote:
(2014-10-08, 17:23)topfs2 Wrote: I have almost recreated this one https://www.youtube.com/watch?v=ptICQtESe64
Or this in lighter version https://www.youtube.com/watch?v=64DeItg6dgs

Superb !!!

I want to see it Wink
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#42
(2014-12-08, 10:14)pike Wrote: Yep, Chrome is the only safe bet.

Cheers, I like the first one better, this one looks more "2D"/ "static"

I could try to add the glow to this one too. And could try to mix it with a bit of random overlay, so that the blocks looks less "perfect"
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#43
(2014-11-25, 18:10)ironic_monkey Wrote: well, it's certainly borked topfs2. for starters;

https://github.com/notspiff/kodi-cmake/c...29cde623e9

as for nyquist; sure, some of the freqs are aliased, not much you can do about that. however, that not all that relevant here as such.
it's a windowed fft - only certain freqs are let through (iirc it's a standard hann squared cosine). which basically is a means to get very little energy in the aliased modes (very simply put!)

Btw noticed one more thing. The Start callback is called _before_ samplerate and friends have been initialized, i.e. it just send giberish to the visualizer.

Quote:21:56:25 T:140409239832512 DEBUG: SECTION:LoadDLL(/home/topfs/xbmc-out/lib/kodi/addons/visualization.spectrum2d/Spectrum2D.vis)
21:56:25 T:140409239832512 DEBUG: Loading: /home/topfs/xbmc-out/lib/kodi/addons/visualization.spectrum2d/Spectrum2D.vis
21:56:25 T:140409239832512 DEBUG: Calling TransferSettings for: 2D Spectrum
21:56:25 T:140409239832512 DEBUG: Visualisation::Start()
21:56:25 T:140409239832512 DEBUG: CGUIInfoManager::SetCurrentSong(musicdb://albums/155/2004.mp3?albumid=155)
21:56:25 T:140409239832512 DEBUG: SELECT albumview.*,albumartistview.* FROM albumview LEFT JOIN albumartistview ON albumview.idAlbum = albumartistview.idAlbum WHERE albumview.idAlbum = 155 ORDER BY albumartistview.iOrder
21:56:25 T:140409239832512 DEBUG: Loading additional tag info for file /home/topfs/Music/Safe/Van Halen/1984 [HDCD]/01 - 1984.mp3
21:56:25 T:140409239832512 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
21:56:25 T:140409239832512 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
21:56:25 T:140409239832512 DEBUG: Updating visualisation albumart: /home/topfs/Music/Safe/Van Halen/1984 [HDCD]/folder.jpg
21:56:25 T:140408759314176 DEBUG: OnInitialize() started
21:56:25 T:140408759314176 DEBUG: Updating visualisation albumart: /home/topfs/Music/Safe/Van Halen/1984 [HDCD]/folder.jpg
21:56:25 T:140408759314176 DEBUG: OnInitialize() done

Its not until OnInitialize it gets the data and I guess it really should defer it to then, or simply remove the data from Start as its unreliable.

EDIT https://github.com/topfs2/xbmc/commit/53...46d99515f2 not sure if this is entirely proper. Might mean that Render and friends are called before Start, which may crash a visualizer. I've tested the ones which works on linux and all except fishXBMC seems to work
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#44
If anyone is looking for inspiration, here is a nice one I found on youtube today.

Reply
#45
I like it. Just trying to understand the waveforms. Afaict it looks like they have split the fft into 10 (pass filtered) and then done fft back on each of those parts and made one line for each pass? Perhaps you could help on this ironic_monkey, since you are math Smile
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 13

Logout Mark Read Team Forum Stats Members Help
2D Spectrum, visualization0