Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Move to a Random position in track button
« previous next »
  • Print
Pages: [1] 2

Author Topic: Move to a Random position in track button  (Read 4834 times)

Offline eLDeus

  • Member
  • *
  • Posts: 9
Move to a Random position in track button
« on: June 12, 2016, 11:46:43 AM »
Hello everyone, I wonder if someone thought about such thing - listening big length tracks such as audiobooks or lectures to be possible to jump to absolutely random place of a track with one button, it would be very handy in such situation feature? Thanks a lot!
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Move to a Random position in track button
« Reply #1 on: June 12, 2016, 08:26:45 PM »
Perhaps you have something in mind that is not immediately obvious to me.

I can't for the life of me imagine how this would be useful, and I can think of a few caveats right off the bat.

Generally speaking, even though people say it fairly often, I think that most people when they say "random" don't actually want true randomness in audio playback applications. True randomness in this situation would mean that you are equally like to skip to the exact same section of audio that you have just listened to as you are to skip to a new area of the track.

I am fairly confident that when 99.99% of people say they want random selection that they aren't aware that they actually want pseudo-randomness. Shuffle in Rockbox for instance, the entire playlist is shuffled randomly but the actual track selection ensures that each track is played precisely once.

I imagine you would want something similar in your desired implementation to ensure that the "random" playback didn't have an equal chance of skipping to a section of the track that you have already listened to. This is not impossible, but difficult, to manage.

Additionally there are basically no targets where this is even possible due to the already massively crowded keymap. It could be done, certainly, but it definitely wouldn't be a single button on most (all?) targets with hardware keys. It could be added as a selection candidate to our configurable hotkey system, and as a touchscreen area in the theme engine though I suppose.

One thing you could do yourself personally, although it isn't a complete fix to your request, would be create a config that you could load (say, Audiobook.cfg or...well, whatever, you get it) that changed the skip length from track skip to N minutes, although obviously N will be predetermined by you and not random you could use it to provide a way to jump in N minutes increments forwards and backwards in large tracks with a single button.

You could get reasonably quick access to this config by a couple of means, adding it to the shortcuts menu or the quickscreen and then loading it (shortcuts only jump to a file, they do not load it - perhaps they should, a cursory glance at the code suggests this would be possible), adding the config manager from the settings menu to the quickscreen, or just dumping the config file in the top-level of the filesystem (or wherever you have the file browser set to use) and using Files to get to it with the show files view setting configured as either supported or show all.

If you can present a situation for the use case that goes beyond "it would be cool if...", then please do so. If I am missing something please don't hesitate to tell me. I just think that feature suggestions really need to have a lot of thought put into their flaws and merits before implementation to flesh out the idea and ensure that Rockbox isn't just adding "settings because settings" in what is an already fairly crowded and complex system.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline eLDeus

  • Member
  • *
  • Posts: 9
Re: Move to a Random position in track button
« Reply #2 on: June 13, 2016, 08:39:27 AM »
just need to push button and to hear random position in a track
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Move to a Random position in track button
« Reply #3 on: June 13, 2016, 09:57:14 AM »
I don't think that feature would be widely enough used to make sense.
Logged

Offline Graham1

  • Member
  • *
  • Posts: 52
Re: Move to a Random position in track button
« Reply #4 on: June 13, 2016, 03:59:56 PM »
My question is somewhat similar to this one. Say I had an album (say 12 tracks) which were contained within one file (say album.ogg). Would Rockbox be able to skip between tracks within this one file?

:)
Logged
Sansa Clip v2 | Rockbox Development Build

https://www.thevenusproject.com | Beyond Politics Poverty and War

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Move to a Random position in track button
« Reply #5 on: June 13, 2016, 04:47:56 PM »
No.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Move to a Random position in track button
« Reply #6 on: June 13, 2016, 08:19:46 PM »
Quote from: Graham1 on June 13, 2016, 03:59:56 PM
Say I had an album (say 12 tracks) which were contained within one file (say album.ogg).

Why would you even do this? What does having albums in this format actually achieve? I am genuinely curious about this, I can't see any obvious benefit to doing this, and with most rippers/encoders/transcoders this would take a notable amount of effort as opposed to ripping the tracks individually, which in my mind is infinitely more practical for any number of reasons.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline monoid

  • Member
  • *
  • Posts: 107
Re: Move to a Random position in track button
« Reply #7 on: June 14, 2016, 09:40:55 AM »
I guess, it might be good in case of classical music or live music (where the sound is continuous and traks are more logical units than individual parts separated by silence).

Even this days not all music players are gapless, I guess....

Simply, having the whole thing in one file gives 100% garanty it will be played correctly regardless DAP used.
« Last Edit: June 14, 2016, 12:05:39 PM by monoid »
Logged

Offline monoid

  • Member
  • *
  • Posts: 107
Re: Move to a Random position in track button
« Reply #8 on: June 14, 2016, 10:01:23 AM »
Quote from: eLDeus on June 13, 2016, 08:39:27 AM
just need to push button and to hear random position in a track

Quote from: saratoga on June 13, 2016, 09:57:14 AM
I don't think that feature would be widely enough used to make sense.

I can imagine, it might be of interest for some people. It is equivalent to openning a book at random possition and reading few pages from that point.
« Last Edit: June 14, 2016, 12:03:43 PM by monoid »
Logged

Offline cereal_killer

  • Member
  • *
  • Posts: 409
Re: Move to a Random position in track button
« Reply #9 on: June 14, 2016, 02:20:38 PM »
Maybe bookmarks or self created cue- sheets could help here?
Logged

Offline Graham1

  • Member
  • *
  • Posts: 52
Re: Move to a Random position in track button
« Reply #10 on: June 14, 2016, 03:53:23 PM »
Quote from: [Saint] on June 13, 2016, 08:19:46 PM
Quote from: Graham1 on June 13, 2016, 03:59:56 PM
Say I had an album (say 12 tracks) which were contained within one file (say album.ogg).

Why would you even do this? What does having albums in this format actually achieve? I am genuinely curious about this, I can't see any obvious benefit to doing this, and with most rippers/encoders/transcoders this would take a notable amount of effort as opposed to ripping the tracks individually, which in my mind is infinitely more practical for any number of reasons.

[Saint]

Like an actual album (CD), I would rather have 1 CD than 12 individual CD's (for me, keeps things tidy). Say of those 12 tracks, I'm not keen on tracks 2, 3 and 5, I would like to be able to forward to the next track in sequence rather than pressing the fast forward button and guessing when the next track starts. I'm not saying that this is how it should be done or even if this is possible but I would find this feature useful.

:)
« Last Edit: June 14, 2016, 03:56:13 PM by Graham1 »
Logged
Sansa Clip v2 | Rockbox Development Build

https://www.thevenusproject.com | Beyond Politics Poverty and War

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Move to a Random position in track button
« Reply #11 on: June 15, 2016, 01:04:37 AM »
My point is that there is nothing that you have described that can't be done already with the more conventional style of ripping albums to individual tracks.

If you have your library formatted in a sane way like most people do, it isn't untidy at all.

Music
-Artist
--Album
---Disc 1
----Track 1
----Track 2
----...
---Disc 2
----Track 1
----Track 2
----...

etc.

Or, you could use the Database, and even if you dump all your files in a single toplevel folder it will still sort them into a sane order by artist, album, year, etc. as long as you have correct metadata tags.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline monoid

  • Member
  • *
  • Posts: 107
Re: Move to a Random position in track button
« Reply #12 on: June 15, 2016, 06:19:28 AM »
Quote from: Graham1 on June 14, 2016, 03:53:23 PM
Like an actual album (CD), I would rather have 1 CD than 12 individual CD's (for me, keeps things tidy). ... I would like to be able to forward to the next track in sequence rather than pressing the fast forward button and guessing when the next track starts.

You could use cue sheets. So, that you would have 2 files for one CD. One file with music and one file describing name of songs, Interpret, lenght of song, ... (and many more...).

Using this setup, you could jump to the next/previous song. And have info about song name, artist name, ...
Logged

Offline Graham1

  • Member
  • *
  • Posts: 52
Re: Move to a Random position in track button
« Reply #13 on: June 15, 2016, 03:28:22 PM »
Quote from: [Saint] on June 15, 2016, 01:04:37 AM
My point is that there is nothing that you have described that can't be done already with the more conventional style of ripping albums to individual tracks.

If you have your library formatted in a sane way like most people do, it isn't untidy at all.

Music
-Artist
--Album
---Disc 1
----Track 1
----Track 2
----...
---Disc 2
----Track 1
----Track 2
----...

etc.

Or, you could use the Database, and even if you dump all your files in a single toplevel folder it will still sort them into a sane order by artist, album, year, etc. as long as you have correct metadata tags.

[Saint]

There is nothing wrong with the way you have formatted your library. In fact, mine is setup exactly the same (in both examples). It's just that I have come across a different way of storing tracks which I quite like but having (at the moment) difficulty skipping tracks.

:)
Logged
Sansa Clip v2 | Rockbox Development Build

https://www.thevenusproject.com | Beyond Politics Poverty and War

Offline Graham1

  • Member
  • *
  • Posts: 52
Re: Move to a Random position in track button
« Reply #14 on: June 15, 2016, 03:31:00 PM »
Quote from: monoid on June 15, 2016, 06:19:28 AM
Quote from: Graham1 on June 14, 2016, 03:53:23 PM
Like an actual album (CD), I would rather have 1 CD than 12 individual CD's (for me, keeps things tidy). ... I would like to be able to forward to the next track in sequence rather than pressing the fast forward button and guessing when the next track starts.

You could use cue sheets. So, that you would have 2 files for one CD. One file with music and one file describing name of songs, Interpret, lenght of song, ... (and many more...).

Using this setup, you could jump to the next/previous song. And have info about song name, artist name, ...

This sounds like what I'm after. I've not come across cue sheets before so I'll do some investigating. Thanks.

:)
Logged
Sansa Clip v2 | Rockbox Development Build

https://www.thevenusproject.com | Beyond Politics Poverty and War

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Move to a Random position in track button
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.104 seconds with 14 queries.