Hydrogenaudio Forums

Hosted Forums => foobar2000 => Uploads - (fb2k) => Topic started by: grimes on 2011-05-16 09:29:31

Title: foo_seek.dll
Post by: grimes on 2011-05-16 09:29:31
Seek

foo_seek.dll

Works with CUI/DUI

actual version: 1.2

Features:

Quote
Mainmenu commands:
Menu | Playback | Seek Control | Preview length (6s-20s, Default)
Menu | Playback | Seek Control | Loop length (6s-20s, Default, End point mode, Set end point, Remove end point)
Menu | Playback | Seek Control | Preview (ON/OFF)
Menu | Playback | Seek Control | Loop (ON/OFF)
Menu | Playback | Seek Control | Rewind (5s-30s) (ON/OFF)
Menu | Playback | Seek Control | Fast Forward (5s-30s) (ON/OFF)

Advanced Preferences:
Preferences | Advanced | Playback | Seek | Automatic start/stop (ON/OFF)
Preferences | Advanced | Playback | Seek | FF/RW | FF/RW playback time [ms]
Preferences | Advanced | Playback | Seek | Loop | Loop length [ms]
Preferences | Advanced | Playback | Seek | Loop | Playback position loop
Preferences | Advanced | Playback | Seek | Loop | Reset next track to playback position loop (ON/OFF)
Preferences | Advanced | Playback | Seek | Preview | Playback position preview
Preferences | Advanced | Playback | Seek | Preview | Preview length [ms]
Preferences | Advanced | Playback | Seek | Preview | Reset next track to playback position preview (ON/OFF)
Preferences | Advanced | Playback | Seek | Preview | Skip shorter tracks in preview (ON/OFF)


[attachment=7874:foo_seek_1.2.zip][attachment=7875:foo_seek_1.2_src.zip]
Title: foo_seek.dll
Post by: grimes on 2011-05-19 21:41:06
Seek 0.2


FIX: "Playback position" bug
FIX: Various bugs
CHG: Commands moved to submenu "Seek Control"


Title: foo_seek.dll
Post by: grimes on 2011-05-20 09:17:18
Seek 0.3


FIX: Various bugs
Title: foo_seek.dll
Post by: grimes on 2011-05-20 13:31:44
Seek 0.4


FIX: foobar2000 restart
CHG: individual Playback position variables for "preview" and "loop"


Title: foo_seek.dll
Post by: grimes on 2011-05-21 10:02:51
Seek 0.5


FIX: Wrong preview playback position when position is greater than track length
CHG: 5x-60x -> 5s-30s
CHG: Default FF/RW playback time set to 2s (2000ms)


Title: foo_seek.dll
Post by: grimes on 2011-05-22 15:37:56
Seek 0.6


ADD: Advanced Preferences option: Reset new track to playback position preview (for "Preview" only) (ON/OFF)
ADD: Advanced Preferences option: Automatic start/stop (ON/OFF)
Title: foo_seek.dll
Post by: grimes on 2011-05-25 16:52:29
Seek 0.7

ADD: Advanced Preferences | Playback | Seek | Skip shorter tracks in preview (ON/OFF)

(OFF(Default): playing the end of shorter tracks)


Title: foo_seek.dll
Post by: grimes on 2011-06-01 17:23:46
Seek 0.8


FIX: Loop at end of track
ADD: Preferences | Advanced | Playback | Seek | Loop | Reset next track to playback position loop (ON/OFF)
ADD: Menu | Playback | Seek Control | Preview length (6s-20s) (ON/OFF)
ADD: Menu | Playback | Seek Control | Loop length (6s-20s) (ON/OFF)
CHG: reorganisation of Advanced Preferences entries
Title: foo_seek.dll
Post by: grimes on 2011-06-04 11:43:39
Seek 0.9

CHG: Preview stops now, if "stop after current" was enabled
CHG: Preview/Loop length radiobuttons
ADD: "Default" command for Preview/Loop length. "Default" takes value from Advanced Preferences "Preview/Loop length [ms]"

Title: foo_seek.dll
Post by: grimes on 2011-07-23 13:41:15
Seek 1.0

ADD: New mode to set loop length manually:

commands



usage



--> endless loop between start and end point


download: see first post

Title: foo_seek.dll
Post by: JonSlaughter on 2012-01-17 06:49:05
Great concept. I was looking for something just like this for foobar as I generally have to open up some other program to do it.

The main issues is that the "usage" is not user friendly/convenient. Is it not possible to assign hot keys to assign the loop endpoints and some hot key to toggle the loop playing????
Title: foo_seek.dll
Post by: grimes on 2012-01-17 11:05:51
Every menu item could be assigned.

Maybe your keyboard shortcut conflicts with another one?
Title: foo_seek.dll
Post by: spockman on 2012-01-26 23:30:46
Is it possible with this component to loop a 30 second (or 10 or 20 or whatever seconds) section in the middle of a song?
If so, how do I set the start and end points?
Regards,
Spockman.
Title: foo_seek.dll
Post by: grimes on 2012-01-27 10:36:28
loop length is predefined for 6,8,10,12,14,16,18,20 seconds.
Other values can be set in Advanced Preferences.
Alternatively set endpoint mode, seek to start point in seekbar manually, wait for x seconds and set end point by shortcut.

Title: foo_seek.dll
Post by: grimes on 2012-01-27 14:12:07
an example for first mode:

Title: foo_seek.dll
Post by: tums16 on 2012-02-01 06:01:38
thank
Title: foo_seek.dll
Post by: Speech on 2012-08-06 17:29:25
Is it possible to skip a part of an audio file, such as the first x seconds and the last y seconds? My podcasts contain advertisements at the beginning and at the end, but obviously they don't have the same length, so I can fix a specific moment when to skip only relative to the audio length minus y seconds.
Title: foo_seek.dll
Post by: grimes on 2012-08-07 07:13:18
Not possible with foo_seek.
Why do you not split the audio files in (three) parts.
You can hear this way only the middle part.
On the other hand, foobar2000 is able to play the three files without gap.
Title: foo_seek.dll
Post by: q-stankovic on 2012-08-07 16:44:42
foo_skip will allow to cut out a begiining and ending part out of a track.
Title: foo_seek.dll
Post by: booya on 2012-12-28 16:05:49
I'm sorry, but I really don't understand fully how to use this loop option.

For example, I need to loop one track between 48 min and 59 min 45 sec. What should i do?

Enable end point mode
Start loop
Seek to start position of loop in seekbar
wait
(for what?)
Set end point of loop (with shortcut)

Is that possible to select a time w/o waiting? I want to open Foobar2000, start selected track, immediately select required time/segment and then I need to minimize application and forget about it. And if yes, what time in advanced option should I set (and whether I should do it)?

I tried but did not achieve the desired outcome.
Title: foo_seek.dll
Post by: grimes on 2012-12-28 17:56:42
seek to 48 min and wait 11:45 and set end point.
It is an unusual long time for a loop, so this is not practicable.
Unusual loop length can be set in the advanced preferences
Title: foo_seek.dll
Post by: EpicForever on 2013-05-28 22:22:50
This plugin needs serious documentation, there are several things that I don't understand.
1. What is "automatic start/stop" in advanced preferences?
2. Why this plugin doesn't work for tracks played from results of Media Library Search?
3. Why "Loop/reset next track to loop position" doesn't work as it should? I can't understand the dependency - sometimes all tracks are starting form time given in advanced preferences even if this ckeckbox is unchecked, sometimes thety don't even if it's checked.
Title: foo_seek.dll
Post by: grimes on 2013-05-29 08:32:53
1. automatic start/stop: The loop starts with one click on main menu entry "loop" (otherwise two clicks: loop + play) (minor important option)

2. Can't reproduce.

3. I don't understand. Did you seek to another position and it is not reseted to advanced preferences value next cycle? Strange! Can't reproduce.
Title: foo_seek.dll
Post by: dfkt on 2014-03-05 16:01:40
I'm probably misunderstanding the functionality of this component - but would it be possible with it to simply emulate the FFWD/REW behavior of a CD player or portable MP3 player? I.e. long-press/press&hold keyboard buttons for FFWD/REW, and resume normal playback when releasing buttons?

So far my trials & errors didn't yield any results in that direction.
Title: foo_seek.dll
Post by: mikk on 2014-04-22 21:15:40
Hi!

Thanks for this component!

I have small problem with loop function A-B

I create shortcout, F11-Loop F12-Set End point
End Point mode enabled manually.

Play audio... if I want start point I press F11... and when I want end point, I press F12. After this, the A-B loop is work.

But, the problem, If I press pause under A-B loop, this is can't  works really, because after few times the play is start himself again...

Sorry my poor english.

ps.: my foobar is latest, 1.3.2
Title: foo_seek.dll
Post by: grimes on 2014-04-24 06:14:56
Seek 1.2

FIX: Pause in loop fails


Thanks for reporting this bug.
Since there is no command to pause a timer, I stopped loop mode on playback pause.

See first post.
Title: foo_seek.dll
Post by: mikk on 2014-04-24 07:38:52
Seek 1.2

FIX: Pause in loop fails


Thanks for reporting this bug.
Since there is no command to pause a timer, I stopped loop mode on playback pause.

See first post.


Hi!

Thanks for this quick repair!

But pasue function is needed for me. Can you make pause function of this component (via shortcout or any way)?

Thanks!
Title: foo_seek.dll
Post by: reselty on 2014-07-26 07:19:08
Hi There -  & Thanks for this tool!

How can I activate/use the the seek length I define under :
>> Preferences | Advanced | Playback | Seek | Preview | Preview length [ms] <<

to define longer f.e. 60sec preview then 20 sec under
>> Playback | Seek Control | Loop length (6s-20s, Default, End point mode, Set end point, Remove end point)

b.t.w: my version (1.2)  does not show  "End point mode, Set end point, Remove end point"

Thanks again!
Title: foo_seek.dll
Post by: grimes on 2014-07-26 12:45:05
The Preview length [ms] in Advanced Preferences is aktivated by Playback | Seek Control | Preview length | Default

Preview has no end pont mode (only loop)
Title: foo_seek.dll
Post by: reselty on 2014-08-04 10:11:41
The Preview length [ms] in Advanced Preferences is aktivated by Playback | Seek Control | Preview length | Default

Preview has no end pont mode (only loop)



Thank you !!!
Title: Re: foo_seek.dll
Post by: sunday777 on 2016-04-17 17:05:45
Dear author,
After spending 20 minutes on reading this thread, I still don't understand what those commands mean...
"Enable endpoint mode"? " I see these is "set endpoint"... But where is "set start point"? "Automatic start"?
I feel you make a powerful component but I am really confused...

In my opinion, there should be only 3 controls and that should be enough:
- Set Start point at current position
- Set End point at current position
- Toggle play the loop on\off (jump to start and repeat the loop when it's on. Walk over endpoint if it's off.)



Title: Re: foo_seek.dll
Post by: grimes on 2016-04-24 09:55:37
3 controls are not nessesary.
Title: Re: foo_seek.dll
Post by: sunday777 on 2016-04-27 17:02:40
Thank you!  I got it!

To anyone who is also confused like me, this is a brief of how to use this great component:
1. Open "Keyboard Shortcuts" in foobar2000's Preference.
2. Assign key1 for Playback / Seek Control / Loop
3. Assign key2 for Playback / Seek Control / Loop Length / Set end point
4. Play whatever you want, seek to or wait for where you like to start a loop. Press key1.
5. Seek to or wait for where you like to end the loop. Press key2.
6. Now you just make a loop!

I guess I still don't understand those advanced features. But knowing this is good enough to me to proceed my Japanese learning.

Thanks the author again for this component!
Title: Re: foo_seek.dll
Post by: renega on 2016-05-24 11:56:48
It would be nice to have starting and en point times available in two variables for scripting purpose, for ex. exporting the loop to a file. Thanks for thinking a little to this possibility !
Title: Re: foo_seek.dll
Post by: Lee James on 2016-10-11 14:37:18
Hello Grimes, thank you for this very useful plugin. It is just the A-B repeat function I want. To me, this is a really important function which I have used for years in other media players (eg. PotPlayer). As a musician, I use it to analyze very small portions of a piece of music, so I can hear notes, chords, harmonies, etc. I always thought it was strangely absent from Foobar, but now someone kindly told me about this plugin. So thank you very much for developing it :)

However, I have 2 issues I'd like to address...

1. The keys don't work for me
Firstly, I can't actually get the plugin to work. I followed Sunday's very helpful instructions which are worth repeating...

To anyone who is also confused like me, this is a brief of how to use this great component:
1. Open "Keyboard Shortcuts" in foobar2000's Preference.
2. Assign key1 for Playback / Seek Control / Loop
3. Assign key2 for Playback / Seek Control / Loop Length / Set end point
4. Play whatever you want, seek to or wait for where you like to start a loop. Press key1.
5. Seek to or wait for where you like to end the loop. Press key2.
6. Now you just make a loop!

However, no matter what functions I assign keys to, the keys seem to have no effect at all. If I assign the keys to anything else under "Playback" they work just fine, but if I assign them to anything under "Seek Control" they don't work. I don't suppose you would know why?

2. I would like "Toggle looping" and "Set start point" to be two different commands
You said earlier in this thread that there is no need for these two functions to have two separate controls, but I would have to respectfully disagree. All the other media players I've used with A-B Repeat have these two controls separate. Without two separate controls, it is much harder to make slight adjustments to the start and end point while it is looping - something I do a lot.

For example, imagine you are listening to a looped section of a track and you just want to make the start point slightly earlier or later. This is very easy if you can "set start point". Just hit the key at the new start point, and the start point is adjusted, with the end point being completely unaffected.

Or imagine you are listening to a looped section of a track, and you want to move the end point slightly later - in other media players this is simple: you just turn off looping, then when you get to where you want the end point to be, hit the end point key at the new desired end point. The end point is moved without affecting the start point.

Also, in my experience of using other media players, the key to set an end point usually also turns looping on. (If no start point has been set then it loops to the start of the track.)

So I would like to humbly suggest that, at least for some people, 3 controls are necessary:
1. Set start point
2. Set end point/activate looping
3. Toggle looping
Title: Re: foo_seek.dll
Post by: hans2017 on 2017-12-01 08:36:30
1. Open "Keyboard Shortcuts" in foobar2000's Preference.
2. Assign key1 for Playback / Seek Control / Loop
3. Assign key2 for Playback / Seek Control / Loop Length / Set end point
4. Play whatever you want, seek to or wait for where you like to start a loop. Press key1.
5. Seek to or wait for where you like to end the loop. Press key2.
6. Now you just make a loop!

Sorry, I would like to point out that item 5 is incorrect. You can only wait and then set the end of loop, but you can not seek. In fact, the seeking shift the start of loop.

SimplePortal 1.0.0 RC1 © 2008-2018