Skip to main content

Topic: foo_wave_seekbar (Read 516123 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Dexter_prog
  • [*][*][*]
foo_wave_seekbar
Reply #850
I'm getting crashes with foobar since I installed the latest version

edit:oops, was using .11. Let's see if .12 does the same.
  • Last Edit: 29 September, 2011, 03:32:18 PM by Dexter_prog

  • Dexter_prog
  • [*][*][*]
foo_wave_seekbar
Reply #851
hmm, no crashes so far but some tracks are not getting scanned :/

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #852
All the bad-allocs should be solved with 0.2.13.13. *knocks on wood*
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

foo_wave_seekbar
Reply #853
Great Zao!

Works with my two reported files... 

  • suaff
  • [*]
foo_wave_seekbar
Reply #854
Pleeeease: seeking using the mouse-wheel (like standard seekbar can do that)...
foo foo foo

foo_wave_seekbar
Reply #855
All the bad-allocs should be solved with 0.2.13.13. *knocks on wood*


Everything seems to be good here.

Thanks for a fab component.

Listener

  • czesiu
  • [*]
foo_wave_seekbar
Reply #856
so... I accidentally clicked "Extract Seekbar Signature" in Album List and now foobar2000 sits @90%CPU on both cores... 
I've removed foo_wave_seekbar for now. Is there any way to tell it to stop scanning the whole library? (as this is what it's probably doing)

[oh and I think a warning ("Do you really want to scan gazillion files?") would be appropriate when a user tries something like this  ]
  • Last Edit: 02 October, 2011, 08:25:26 AM by czesiu

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #857
Run sqlite3 wavecache.db
Execute delete from job;

I haven't really seen any point for a warning when initiating a scan for a lot of files. It's a reasonably common use case.
In any way, you can always restrict it to only using one core in advanced preferences. They should not affect your performance in any significant way, as they run with idle priority.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • czesiu
  • [*]
foo_wave_seekbar
Reply #858
Run sqlite3 wavecache.db
Execute delete from job;

I haven't really seen any point for a warning when initiating a scan for a lot of files. It's a reasonably common use case.
In any way, you can always restrict it to only using one core in advanced preferences. They should not affect your performance in any significant way, as they run with idle priority.

thx, it worked

  • s_PLASH
  • [*]
foo_wave_seekbar
Reply #859
thank you once again for updating the component. still i wished you could add the option shade played "non-transparent". also if played waveform could be coloured separately, it would be awsome. don't you want it too, sometimes? =) i so hope you do^^

  • Anomalous
  • [*][*][*]
foo_wave_seekbar
Reply #860
thank you once again for updating the component. still i wished you could add the option shade played "non-transparent". also if played waveform could be coloured separately, it would be awsome. don't you want it too, sometimes? =) i so hope you do^^

I'm not entirely sure what you're saying, do you mean like this?

Here's a version of the RMS effect which uses the highlight colour instead of just grey-scaling it. http://pastebin.com/rVfuCDgy



  • s_PLASH
  • [*]
foo_wave_seekbar
Reply #861
YES! how do you do that? i got Direct3D 9.0c and "Frontened settings..." button below. but i cant activate it / click doesn't seem to work. why??

UPDATE: with Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) it it didn't work on my x64 win 7  now, with x64 Package, a click on "Frontened settings..." button opens a "Seekbar configuration: Direct 3D"-window. i loaded defaulf by clicking on it..

whats next stept to do for non-transparency?
  • Last Edit: 09 October, 2011, 10:56:50 PM by s_PLASH

  • Anomalous
  • [*][*][*]
foo_wave_seekbar
Reply #862
Paste in the code (here's a slightly updated version) and click apply.

  • s_PLASH
  • [*]
foo_wave_seekbar
Reply #863
thank you! now i miss only two small things: 1) how do i disable that 2nd, inner waveform? and 2) is it possible to get a a fine line for selection (as it was in GDI mode)?

also it would be great to see how you do it.. maybe with some coloured parts in a code posted right here? ^^

  • Anomalous
  • [*][*][*]
foo_wave_seekbar
Reply #864
I don't really know how to use this language, but I've figured out how to do what you want.

how do i disable that 2nd, inner waveform?
Change line 94
Code: [Select]
float factor = insideRms ? (1.0 - 0.5 * saturate(factorRms / border / 2)): 1.0;
to
Code: [Select]
float factor = 1.0;


is it possible to get a a fine line for selection (as it was in GDI mode)?
Change line 114
Code: [Select]
float positionWidth = 2.5 * dx;
to
Code: [Select]
float positionWidth = dx;

  • s_PLASH
  • [*]
foo_wave_seekbar
Reply #865
thank you 
maybe there is one last thing left, which ist not possible for now:

(Highlight background color only/separately)
  • Last Edit: 10 October, 2011, 08:04:23 AM by s_PLASH

  • Anomalous
  • [*][*][*]
foo_wave_seekbar
Reply #866
You're right that wasn't possible, here's an updated version which sets the background colour to the highlight colour if "shade played" is disabled. http://pastebin.com/q6qLaQ18

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #867
Highlight only for s_PLASH.
The colors may be the wrong way around, check played() if it's the wrong way. There's very little you can't do with HLSL, it's just pure awesome math.
Beaten to the punch by Anomalous - bah.
  • Last Edit: 10 October, 2011, 08:25:58 AM by Zao
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • s_PLASH
  • [*]
foo_wave_seekbar
Reply #868
thanks you both  your effort is appreciated! i can't even find the differences yet
here is my new seekbar


EDIT
Quote
There's very little you can't do with HLSL

i think here it is. you need 5 colours for real separation of front- and background. maybe its possible without "Colors" menu, just by editing the "Effect source" script. but i'm not the one to edit in any way.


your last script ignores "Foreground color" selection, as you wanted obviously. but that way it provides only 3 colours to chose from.
  • Last Edit: 10 October, 2011, 09:39:31 AM by s_PLASH

  • RAZOR87
  • [*]
foo_wave_seekbar
Reply #869
Zao,
Thank you so much for the plugin, is it possible for him to make support for DSD?
  • Last Edit: 10 October, 2011, 11:30:38 AM by RAZOR87
razor-87.deviantart.com

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #870
That depends entirely on what you mean by DSD. If it's an input plugin, it's not currently banned like CDDA is. If it's a DSP, no, I do not support or intend to support any DSPs.

I might add, CDDA and similar formats are banned because random access of a CD is a very bad idea.
  • Last Edit: 10 October, 2011, 03:07:30 PM by Zao
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • RAZOR87
  • [*]
foo_wave_seekbar
Reply #871
I mean, SACD and are extracted from the DSD stream, for example.
  • Last Edit: 11 October, 2011, 05:24:32 AM by RAZOR87
razor-87.deviantart.com

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #872
That track scans perfectly fine with foo_input_dsdiff 1.4 here.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • RAZOR87
  • [*]
foo_wave_seekbar
Reply #873
I just meant another plug-in "foo_input_sacd".
razor-87.deviantart.com

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #874
I do not have any source material to test that input. If it's not broken, it should work out of the box.
You still haven't said what fails, nor given any relevant console info.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.