You could use the built in audio player but that player was really designed to play backing tracks or short loops and you’ll have to explicitly map notes to the play/stop parameters of different tracks.
Much easier to use a free sample player designed for the purpose.
I should probably rephrase. I literally just need to play an intro mp3 at the beginning of the show it’s about 1:16. Would the audio player be appropriate for this? Not changing the file at all. I could use iTunes but just trying to simplify.
Sure you can use it for this.
Insert two instances of the Audio File Player in your wiring view and connect them with an audio output or mixer block. Then use two button widgets, one for each player, and connect them with the according play/pause parameter of the players.
One button should be set to have an initial value of 100 (=ON), also for rackspace activation, the other should be MIDI-learned to the incoming note-ON from the corresponding MIDI-In and channel.
So the first button will be swtched to ON (=PLAY) with every activation of the rackspace, while the other should be reacting on a note-ON (as you set it).
(Make sure you have loaded the respecting audio files into the players and have “loop mode” switched OFF).
That should be it.
I replied on another thread that I think you started, but repeating here in case you or anybody else is interested. I use the Battery plug in (from Native Instruments) to trigger samples/one shots. It was originally designed for drums/percussion, but I find the features to be exactly what I need. For one, a sample can be triggered with simply a MIDI note, which makes it easy to use with GP.
And for anyone wondering how to trigger a MIDI note with a button in GP, here’s the trick: map the button to the MIDI In widget connected to the instrument you want to send the note to, and select the note you want it to trigger from the parameter list. Each of the possible MIDI notes (0-127) is listed.
For Battery, I have a MIDI In widget connected to Battery. I add a button to my panel, and map that button to the note parameter in the MIDI In widget that corresponds to the sample in Battery. It’s ridiculously simple once you know that the MIDI In widget can do this.