Start specific Media Player file

I have a Media Player with several files inside a song with many states.

In live mode I would like to configure some buttons to play (toggle) a specific playlist file.

I tried and configured a button to play the first file but I don’t know how to tell the button to play another one.

Thanks.

I’m not at my machine atm so can post a screen shot but there are binding points on the media player to load file by index, loaf next prev etc…

Is there a guide where these options are fully explained ??
What does it means “Select file indexed” ??

What I need to do is simply activate a specific file in playlist when I press the button and stop it when a depress the same button.

In this screenshot this happens for the active file in playlist for that state. I would like every button to play a specific song.

Hi Simone,

The one way I was able to come up with that works requires a double click on the Onscreen control bar button you designate for each song in the playlist. One press loads the indexed file into the media player play slot and stops the media player and the next press starts the media player. After that it will toggle Play and Stop. This example shows 3 buttons on the left bottom all set to momentary type with different CC numbers. Above you see 3 groups of 3 bindings each. The first binding detects the button press. The second is triggered by the first and loads the file by index (indexed means by numbered list, the playlist is numbered top to bottom with 0 as song 1 in the list and then increments by 1 for each song added to the list). You can see that the different triggers relate to different index file numbers in those bindings. The 3rd binding is also triggered by the first binding in the group and is for the Media player Play/Stop toggling.

Hope this helps …

Dave

2 Likes

Hey Simone,

A more complex approach can allow the media player to load the song file you want and start the player with one button press on the Control bar. To do it you add an embedded rack to your Song and put a media player in it with the playlist loaded up and then add some bindings and create a rack state for each song in the play list using the add rack state function. In the example it would look like this

inside the embedded media player rack Routes page you see the media player loaded with songs and the rack states in the left panel

inside the embedded media player rack Bindings page you see a binding to start play upon loading any given state and a play/stop toggle with it’s own cc number

this pic shows the routes page for the song level with the embedded rack (it has been renamed media Player 1)

then at the song level you add these bindings

again there are 3 bindings per song selection and the first one in the group of 3 is to trigger the second one which selects the rack state for the media player 1 embedded rack that was created. The third in the group converts the Control button cc numbers to a different cc number for controlling the toggle of the media player after it is initially loaded. A bit more complex but also more sophisticated.

Dave

Hey Guys,

I’ve made a little tweak for the next build that will let you bind a index value binding source to a command target which lets you simplify this down to two bindings:

  • The first to select the song
  • The second to start it playing

In previous builds the second binding would be marked as “Invalid”.

Here’s a quick video walkthrough.

(Ignore my son deliberately making background noises at the end - thanks Mitch! :slight_smile: )

4 Likes

Nice modification @brad, much cleaner and easier, but can the second binding target also be available as a Play/Stop toggle that plays when first invoked and toggles after? The one you show says play only and you stopped using the main transport buttons in the video so I was just trying to clarify. Thanks mate!

P.S. It’s nice to see I’m not the only one getting teased by family :slight_smile:

Hi @dave_dore

This will also work:

Behaviour:

  • If you click the same button for the song that’s already playing the first binding is a no-op and leaves the player playing, so the second binding will stop it.
  • If you click a button for a different song, the first binding will stop the player and load the new song and then the second binding will start it playing.
1 Like

Build 3539 up now has this.

3 Likes

Excellent stuff @brad, Thx!

Dave

Thanks Dave for your precious time !
I choosed Build 3539 solution !

1 Like

@brad,

On a related matter I set up a binding group that plays a play list in a single player one after another automatically using the Media Player 1 ‘Next File’ as targets. It works well but when it finishes the last song it loops back and starts the first song again and keeps playing in a perpetual loop. Could we add a binding that would sense the last song in the playlist was finished playing to break the auto play loop?

Dave

What if I was to just disable the looping back to the start. Not sure anyone is really using that anyway.

Alternative - a second set of bindings that don’t loop.

Brad

Yep, either solution sounds good, I like choice one myself, just disable the loop back or make it switchable.

Thanks Brad!

Dave

Hello … when I moved my song on another machine I lost custom buttons and actions.
Is there a way to save all this settings with a song ???

Hi Simone,

You can’t save these with the Song but you can copy the general ‘settings’ file over along with the Song. To find it go to

sim7

and copy this file along with your Song(s) to the new computer.making sure to put it in the Settings folder like the machine you took it from.

Protect the settings file on your new setup because this will change other settings as well so you if this messes other stuff up you can restore the one you have now. When doing this you also are copying the Engine choices, the Audio and the MIDI port routings, the Control Bar settings, Tool Bar settings basically the Options area of Catabile.

Dave

1 Like

ok …
so every song must share same settings ?? it is quite limiting, isn’t it ??

Hi Simone,

for the control bar yes, requests have been made to improve this that are now part of a more user assignable control surface upgrade that Brad plans for down the road that would be Song specific from what I understand.

Dave