HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: q-stankovic on 2011-07-29 19:44:03

Title: [not my release] Seek Control (foo_seek)
Post by: q-stankovic on 2011-07-29 19:44:03
Seek (foo_seek), developed by Hydrogenaudio user grimes, is a component that offers different ways of seeking inside one or more tracks. It provides three features:

Preview: This mode lets the user play their tracks as previews, whose length can be chosen in the options from several lengths (in seconds); there is also a default length defined in the preferences. Therefore, in contrast to foo_preview (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Preview_(foo_preview)), the user can quickly change the preview length on-the-fly whilst listening to the previews. Furthermore, the user has the option to begin the preview from a given point where s/he has clicked or dragged the seekbar, rather than from a fixed point.

Fast Forward/Rewind: This feature imitates the behaviour of seeking inside an analogue tape: a part of the track is played, then the playback jumps to a position further ahead or behind to play another part, and so on. The periods for both playback time and moving forward/backward are definable in Seek’s preferences.

Loop: This enables the user to choose and play a loop, whose length is again selectable in foo_seek’s preferences. Also, s/he can change the looped part of a track simply by dragging the seekbar. The preferences offer the option to start the loop in the next track either on a fixed point, or from a point where the user has clicked or dropped the seekbar. In the latter case, the user is able to compare the same part of a piece of music between different versions: by simply pressing the Next button, the loop repeats between the same time-points as for the previous track. Last but not least, there is a mode that offers a Repeat A–B functionality.

Downloads, changelogs, and additional information are in grimes’s release topic (http://www.hydrogenaudio.org/forums/index.php?showtopic=88654&view=findpost&p=763972).
Title: Re: [not my release] Seek Control (foo_seek)
Post by: db1989 on 2011-07-29 20:04:24
procrastinating (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Seek_(foo_seek))
Title: Re: [not my release] Seek Control (foo_seek)
Post by: q-stankovic on 2011-07-29 20:41:08
db1989,

your english seems to be much better than mine. 
Just replace my text with your version, everyone who starts reading this thread benefits from that.
Title: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
Post by: grimes on 2012-01-27 14:12:07
an example for first mode:

Title: Re: [not my release] Seek Control (foo_seek)
Post by: tums16 on 2012-02-01 06:01:38
thank
Title: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: Re: [not my release] Seek Control (foo_seek)
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: [not my release] Seek Control (foo_seek)
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: [not my release] Seek Control (foo_seek)
Post by: grimes on 2016-04-24 09:55:37
3 controls are not nessesary.
Title: Re: [not my release] Seek Control (foo_seek)
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: [not my release] Seek Control (foo_seek)
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: [not my release] Seek Control (foo_seek)
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: [not my release] Seek Control (foo_seek)
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.

Title: Re: [not my release] Seek Control (foo_seek)
Post by: loz on 2019-03-03 13:37:23
Not sure if this component is still developed, but if it is I'd like to request an option for 'Playback position preview' to be a percentage if possible. Percentages make it convenient instead of jumping ahead 80 seconds on a 90 second track or so when previewing.

Also, why isn't this on the components page (https://foobar2000.org/components)?

Either way, thanks. One of the most useful components I use.
Title: Re: [not my release] Seek Control (foo_seek)
Post by: knreddy on 2020-07-08 18:01:53
Preview of Music Tracks in preset minutes similiar to foo_seek.dll in Android

Apps needed
1. Tasker by joaomgcd (in my case full,  v5.9.2)
2. Sleep Timer (turn music off) by CARECON GmbH (in my case paid,  v2.5.5)
3. Music Folder Player Full v 2.5.9 by ZorillaSoft (or  any other music player may be chosen)

Install above 3 apps on Android 4+ phone

a) Open tasker > Profiles > application > select Music Folder Player Full (or eq app) >
Tasks>name the task to "Start SleepTimer" or whatever you like> Select action category > Plugin > Select SleepTimer > configure > select Start>set it to 1 min or 2 or ...Minutes as per suitability of preview duraion > click on Ok Mark (v') > click on back mark

b) Open tasker > Profiles > + > event > plugin> configure > seloect After End at event>  click on Ok Mark (v') > click on back mark (now the profile will be named as "SleepTimer After End" in auto) , New Task + > name it as "Music folder Next Track" > + > Media > Media Control > select Next >back>back

c) Open tasker > Profiles > + > event > Media> select Music track changed > back >(now the profile will be named as "Music Track Changed Playing or Not playing" in auto) , New Task + > name it as "SleepTimer ReStart" > + > Select action category> plugin > select SleepTimer> select Start and 1 minute or 2 minute ....as suitable preview duration > click on Ok Mark (v') > click on back mark


d) (i) Open app sleep timer > Options (3 vertical dots) Settings> on sleep> performa action >unselect all Open app sleep timer
       Open app sleep timer > Options (3 vertical dots) Settings> on sleep> fade out duration reduce to 5 or 10 sec

   (ii) Open app sleep timer > Options (3 vertical dots) Settings> put on shake to extend and tap on shake to extend> adjust shake sensitivity , running time to always, extend type to extend , do not others or do not give permission to notification to avoid distubance performa action >unselect all

    (iii) Open app sleep timer> Options (3 vertical dots) Settings> Extension length 1 or 2 or 3 or 4 min


Now open music folder and play , to disable this feature disable Tasker
...........................................................................
To backup tasker, open tasker > options> Data > Backup
............................................................................
Title: Re: [not my release] Seek Control (foo_seek)
Post by: knreddy on 2020-08-23 14:49:52
Preview of Music Tracks in preset minutes similiar to foo_seek.dll in Android

Apps needed
1. Tasker by joaomgcd (in my case full,  v5.9.2)
2. Sleep Timer (turn music off) by CARECON GmbH (in my case paid,  v2.5.5)
3. Music Folder Player Full v 2.5.9 by ZorillaSoft (or  any other music player may be chosen)

Install above 3 apps on Android 4+ phone

a) Open tasker > Profiles > application > select Music Folder Player Full (or eq app) >
Tasks>name the task to "Start SleepTimer" or whatever you like> Select action category > Plugin > Select SleepTimer > configure > select Start>set it to 1 min or 2 or ...Minutes as per suitability of preview duraion > click on Ok Mark (v') > click on back mark

b) Open tasker > Profiles > + > event > plugin> configure > seloect After End at event>  click on Ok Mark (v') > click on back mark (now the profile will be named as "SleepTimer After End" in auto) , New Task + > name it as "Music folder Next Track" > + > Media > Media Control > select Next >back>back

c) Open tasker > Profiles > + > event > Media> select Music track changed > back >(now the profile will be named as "Music Track Changed Playing or Not playing" in auto) , New Task + > name it as "SleepTimer ReStart" > + > Select action category> plugin > select SleepTimer> select Start and 1 minute or 2 minute ....as suitable preview duration > click on Ok Mark (v') > click on back mark


d) (i) Open app sleep timer > Options (3 vertical dots) Settings> on sleep> performa action >unselect all Open app sleep timer
       Open app sleep timer > Options (3 vertical dots) Settings> on sleep> fade out duration reduce to 5 or 10 sec

   (ii) Open app sleep timer > Options (3 vertical dots) Settings> put on shake to extend and tap on shake to extend> adjust shake sensitivity , running time to always, extend type to extend , do not others or do not give permission to notification to avoid distubance performa action >unselect all

    (iii) Open app sleep timer> Options (3 vertical dots) Settings> Extension length 1 or 2 or 3 or 4 min


Now open music folder and play , to disable this feature disable Tasker
...........................................................................
To backup tasker, open tasker > options> Data > Backup
............................................................................
the same can be configured with Automate app with much higher precision and features. The same is done uploaded at xda. Please Google with key words Music preview foo seek xda . It is almost perfect. No root needed in Android. Checked with Android 10.
Title: Re: [not my release] Seek Control (foo_seek)
Post by: knreddy on 2020-09-06 15:08:55
Revised file updated at xda and llamalab community , Same as above but it give pop up window to set your preferred duration at every start up,  it pops up  to extend time, it has proximity to continue to play,  also it has shake to change track
Title: Re: [not my release] Seek Control (foo_seek)
Post by: n0stalgia on 2022-09-28 22:10:35
Is there a possibility to add fade in/fade out to songs? Or is there a way to do this already?

I've tried combining this component with Fade In/Fade Out DSP, but sadly it doesn't work. foo_seek causes an "abrupt" switch to a different song.

I need a song to play for 90 seconds and then go into a 10 second fade out (trying to set up Foobar to be used for a competition ballroom dancing event)