Shuffle playlist but keep order?

I'm using iTunes to deliver stimuli for an experiment. There are 36 aural examples that subjects will listen to, and I've got them in a playlist in iTunes.
I want iTunes to randomly shuffle them. I know how to do this. That's not the problem.
There needs to be a pause between each track -- that is, the playlist can't automatically go on to the next track; the experimenter needs to click on the next audio example to begin it. This is also not a problem. I know how to do this too.
The problem is that when iTunes generates a random order for the stimuli and plays the first example, and then stops, when I click on the second example in the playlist iTunes reshuffles the entire playlist.
How can I get iTunes to shuffle the playlist once but not re-shuffle it when I click on the next audio example?
I'm running iTunes 5 on OS 10.4.11. I know that's an old version, but it's an old computer I dug up to run the experiment with and I don't have the resources to update the OS right now.

I guess what I meant was I was looking for the way to
do this that would result in the highest performance
as this is a common recurring query.....
What I was initially thinking of doing was maintaining
2 Lists - one of which would be a shortened version
with just the 'compound index fields' and it's index
position in the Full List. I would then propose
sorting the short list once all data has been read,
then scanning through it for 'duplicates' and only
updating the Full List with any necessay changes. This is awfully complex. And if, as you say, the duplicates are infrequent, then it's not going to be very efficient. It's generally best to touch data as few times as possible, and since you're touching it once when you read it, that's a good time to do the dup check.
I'd prefer not to define an object to be an
abstraction of each row since only the index
columns(mainly) remain constant. I'm assuming that you're going to actually use this data in your program, right? In that case why wouldn't you want an object to hold it? Otherwise you'll get into a situation where you have absolute indexes throughout your code.
If, for some reason you don't care about the actual columns (maybe this is for a reporting tool?), then define an object that knows about the key columns and holds the rest as an ArrayList.

Similar Messages

  • In AdvancedDataGrid - how can I stop sorting but keep order?

    I've seen this question a few times on the web and so far no one has come up with a workable solution.
    I'm using the sorting in ADG with an XMLListCollection bound as a dataprovider.  The user's are not happy because if the data changes in the column that's being sorted, the list resorts.  How can I remove the dynamic sorting but keep the order of the sort.  We want it to work like Excel where you do a sort but when you change the data it doesn't reorder the list.  What's the best, easiest way to do this?  My guess would be that I want to make a copy of the XMLListCollection but somehow save it in sorted order, then swap the copy in for the other XMLListCollection.  Not sure how to do that.  Thanks for any help.

    I've seen this question a few times on the web and so far no one has come up with a workable solution.
    I'm using the sorting in ADG with an XMLListCollection bound as a dataprovider.  The user's are not happy because if the data changes in the column that's being sorted, the list resorts.  How can I remove the dynamic sorting but keep the order of the sort.  We want it to work like Excel where you do a sort but when you change the data it doesn't reorder the list.  What's the best, easiest way to do this?  My guess would be that I want to make a copy of the XMLListCollection but somehow save it in sorted order, then swap the copy in for the other XMLListCollection.  Not sure how to do that.  Thanks for any help.

  • Can i keep songs in a playlist but keep them out of my library

    Can anyone help me... I'd like to take the christmas songs out of my library, but still keep them on a playlist called 'christmas music' I'm sick of putting my library on shuffle at any time past christmas and having to go to my computer to press skip when the xmas songs come on. I'd love any help. There has to be a better way then creating a playlist called 'Every song but xmas music' Also if I uncheck the boxes next to the christmas songs in my library, they still transfer to my ipod right? Otherwise I would just do that. Thanks in advance.
    PC   Windows XP  

    Go to your Christmas playlist and hold control and click on on the checkbox next to one of the songs. This will deselect all of the songs on the playlist. You can use the same method to reselect them all. That way, none of your Christmas music plays, and it's easy to reselect them all when you update your iPod. I'm not sure if unselected music updates to an iPod. Maybe someone else here knows.

  • Can I make it shuffle playlists but not shuffle albums?

    Whenever I select an artist or playlist, I want the music to be shuffled; but when I select an album, I want it to play the album in order. Right now I go into settings and toggle the shuffle off or on. Is there any way to make the albums play in order without taking this step each time?

    No.

  • ITouch music playlist not keeping order

    Have an older iTouch that I use as a music player. I have a playlist of 50 songs and when I set it up on iTunes and transfer it to the iTouch the order is not maintained..
    In fact when I disconnect the iTouch and look at the order it's doesn't seem to be in any particular order. Certainly not the order that I want.
    Help appreciated.

    I couldn't agree more. I, too, have been an Apple/Mac user from the beginning. This seemed like such an elementary issue that I was convinced I was missing something simple. Evidently not, based on your experience and the response I got from tech support. I encourage you to report this issue in "feedback" http://www.apple.com/feedback/ and maybe Apple will fix it in a software update.
    For now, ATV is almost unusuable for streaming live album playlists with "intro" tracks. Moreover, studio album track order on ATV does not correspond with that intended by the album producer which, in itself, denegrates the artistic experience.

  • HOW DO I CREATE A 30GB SHUFFLE PLAYLIST FROM ITUNES LIBRARY TO FILL MY IPOD

    is it possible to generate a playlist lets call it, that is like a shuffle playlist but able to fill an ipod? where would i find the command like, " fill ipod randomly from itunes library"? wouldn't it be great !! just hook up the pod and have it filled with random songs from your library. every day you could have a new playlist, but a really big and different one.
    g4 power mac   Mac OS X (10.4.7)  

    Just create a new Smart playlist.
    Limit it to 27.5GB at Random.
    Also, set it to My rating is not One Star.
    Rate songs you do not want on the iPod to One star.
    Connect the iPod & select it as the Source.
    Go to the Music tab and set to Sync only this playlist.
    To change the music, select this playlist in iTunes.
    Select all songs and press Delete. It will fill up again at random.

  • I was trying to burn a CD from a playlist but it keeps burning the CD out of order.  The shuffle button is not selected.  Any ideas?

    I was trying to burn a CD from a playlist but it keeps burning the CD out of order.  The shuffle button is not selected.  Any ideas?

    Could you post your diagnostics for us please?
    In iTunes, go "Help > Run Diagnostics". Uncheck the boxes other than DVD/CD tests, as per the following screenshot:
    ... and click "Next".
    When you get through to the final screen:
    ... click the "Copy to Clipboard" button and paste the diagnostics into a reply here.

  • Shuffle - Playlist order help!!!

    Can someone help me figure out how to get my Shuffle to play my playlists in the order I want?  I know I have the button set correctly but it always plays my lists in reverse order. I thought of changing it on my computer but then all my other IPODs get affected because they play them correctly!!  What am I missing here?  It is a brand new Shuffle.

    Michele,
    It took me over an hour of research and effort but heres the two step process.
    1( (and im not totally sure its necessary but do it anyways) Go under "Music" on your shuffle (hint, its between your device name and playlist)
    Music > Settings> Deselect "Choose Items Randomly" 
    Most instructions ive found stop here, but wait...its doesnt freaking work! Ahh!
    2) Either under music or your playlist there is a column with a check mark and a check mark for each song.
    Check mark column > deselect every individual song > double check your playlist and music tab.
    Done! and Done!

  • Required to "Copy to Play Order" for my non-shuffled playlists

    Hi. My playlists synced to my iPhone are in Album order. Beginning about a month ago, adding a new album to a playlist results in the album going to the bottom of the playlist on my iPhone. It's correct on iTunes, but wrong on the iPhone. The workaround is to right-click on the playlist and select "Copy to Play Order" before syncing.
    I've been using playlist-based syncing two or three times a day since I bought my nano in 2006, and have never had to do this before; the "Copy to Play Order" command is supposed to only be required when you want to use the sequence of a shuffled playlist on iPhone or iPod.
    The only thing that happened around the time the problem started was that I permanently turned off iTunes Match. Creating fresh playlists didn't correct the problem.
    Please help!

    Hi. Can anyone tell me if this is now normal behavior, or is this something no-one else has seen?

  • I am trying to burn a cd from my itunes playlist but it keeps canceling my burn and says their is an error 4450. What am I doing wrong?

    I am trying to burn a cd from my itunes playlist but it keeps canceling my burn and says their is an error 4450. What am I doing wrong?

    Could you post your diagnostics for us please?
    In iTunes, go "Help > Run Diagnostics". Uncheck the boxes other than DVD/CD tests, as per the following screenshot:
    ... and click "Next".
    When you get through to the final screen:
    ... click the "Copy to Clipboard" button and paste the diagnostics into a reply here.

  • HT204406 The songs on my computer itunes playlist and my iphone playlist songs are not matching up. I do see new songs I've added on my computer playlist on my iphone playlist but the songs are not in the same order. How do I get them to match?

    Playlists matching on computer and iphone?  The playlists on my computer in itunes are not matching up with the "match" playlist on my iphone.  New songs do show up when I add them to a playlist, but the songs are all in different order.  If I edit a playlist on my computer how do I get it to match on my iphone?

    Restore them to the new computer using the bakcup of the old one. If you don't have a backup of the old computer, you can re-download music purchased from the iTunes store. If they were imported from CD's, etc. You will either have to re-rip them or purchase third party software to extract them from the phone. The iPhone is not a backup or data transfer device.

  • How can I see my shuffled playlist? It used to arrange in shuffled order in the window. now it just jumps ramdomly to songs. I want to be able to see ahead and behind easily, like before.

    How can I see my shuffled playlist? It used to arrange in shuffled order in the window. now it just jumps ramdomly to songs. I want to be able to see ahead and behind easily, like before.

    David Hurwitz wrote:
    How can I see my shuffled playlist? It used to arrange in shuffled order in the window. now it just jumps ramdomly to songs. I want to be able to see ahead and behind easily, like before.
    It does not look like this is possible with iTunes 11 (or 11.0.1).

  • My ipod is stuck in permanent shuffle. It won't play albums or my playlists in the order that they were created. How can I fix this?

    My ipod is stuck in permanent shuffle. It won't play albums or my playlists in the order that they were created. How can I fix this?

    Do yo have Shuffle turned on?
    - On the Now Playing screen on the right hand side below the scrubber bar are crossed arrows. That is the Shuffle control. Tap it until it is white for no shuffle
    - There is also Shake to Shuffle in Settings>Music
    If still problem:
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • Why is that in itunes my playlist is in order from the recently added to oldest but when it syncs into my ipod , it doesnt arrange it that way. its in artist order

    why is that in itunes my playlist is in order from the recently added to oldest but when it syncs into my ipod , it doesnt arrange it that way. its in artist order

    That does happen.  It depends on how hard the server is being hit, as well as the connection speed of your system.  If you are on a windows system, you will want to disable any antivirus or firewall software during the download.

  • How to transfer iTunes library to an external drive (thats easy!) but keeping the playlists musics on the computer?

    How to transfer iTunes library to an external drive (thats easy!) but keeping the playlists musics on the computer?
    Many thanks!

    Select a single song with a broken link, press CTRL+I to Get Info, cancel when asked to locate the track and take a look at the Summary tab. Post back where iTunes is looking for the file. It begins file://localhost
    Where is it really?
    Please post back both paths so that I can make suggestions. Full paths please, exact spellings, you can replace your user name with <User> if needed.
    tt2

Maybe you are looking for