j7
New Member
Posts: 20
Posts: 20
|
Post by j7 on Feb 28, 2021 7:25:10 GMT
Hi,
Would it be possible to update the Playlist Playlist Start command so that it has a field for the start time either as a float in seconds - or at a specific sampletime value.
I would like to be able to start the track at a point in time ... which i can do with Koreographer.
Or is there a way to create a command to 'seek to sampletime' which moves the playhead to a specific point in the sample - again in playmaker.
Thanks again!
|
|
DarkTonic Dev
Administrator
Posts: 4,386
Posts: 4,386
Member is Online
|
Post by DarkTonic Dev on Feb 28, 2021 23:00:45 GMT
If you want to do that, you can use the normal Inspector for Master Audio. For the song, you set Song Time Start Mode to "Specific Time" and specify the time there.
No Playmaker modifications are needed.
|
|
j7
New Member
Posts: 20
Posts: 20
|
Post by j7 on Mar 1, 2021 0:59:46 GMT
Thanks. but i want to be able to change at runtime - eg have a playmaker varible (float) which i can feed into the start command. Eg if i want to scrub forward (mainly whilst playtesting) i can drag a start time bar, forward to the specific section (sampletime) of the track i want to start at - and resume.
|
|
DarkTonic Dev
Administrator
Posts: 4,386
Posts: 4,386
Member is Online
|
Post by DarkTonic Dev on Mar 1, 2021 2:39:08 GMT
I'm afraid that's not functionality we have, with or without Playmaker. I have no issue adding Playmaker actions for stuff that exists in core Master Audio. You can probably change the property (start time) of the song using some stock Playmaker actions that have nothing to do with Master Audio, prior to telling the song to play. But I'm not a Playmaker expert, so I can't walk you through that.
Do you want me to check if there's a "seek to time" functionality after playing? Playmaker may be able to natively call that as well.
|
|
j7
New Member
Posts: 20
Posts: 20
|
Post by j7 on Mar 1, 2021 14:20:47 GMT
Ok, so maybe i could issue the masteraudio playlist start by name, then masteraudio playlist pause, then masteraudio playlist seek to (new command), then masteraudio unpause?
I can probably have a go at creating the 'new playmaker command' if i knew what to try and issue from a masteraudio properties perspective, to change the playhead.
Thanks again.
|
|
DarkTonic Dev
Administrator
Posts: 4,386
Posts: 4,386
Member is Online
|
Post by DarkTonic Dev on Mar 1, 2021 20:16:51 GMT
No need to pause or unpause. You should be able to seek.
Basically you need to grab the ActiveAudioSource property of the PlaylistController and set it's "time" to whatever you like. As I said Playmaker should have default actions that use Reflection to allow you to do this, but I haven't used them.
|
|
j7
New Member
Posts: 20
Posts: 20
|
Post by j7 on Mar 2, 2021 0:14:37 GMT
ok, so your suggesting, similar to how i can 'get' the properties - i can also 'set' them? Attachments:
|
|
DarkTonic Dev
Administrator
Posts: 4,386
Posts: 4,386
Member is Online
|
Post by DarkTonic Dev on Mar 2, 2021 0:16:37 GMT
|
|