Scripting Audio
 
Notifications
Clear all

Scripting Audio

17 Posts
6 Users
0 Reactions
6,717 Views
Posts: 477
Topic starter
(@lboucher)
Honorable Member
Joined: 18 years ago
[#9227]

Ok, after half an hour of searching i give up.
I think i have an understanding about how to write a background script, but can i have audio with it? If so where do i assign it?

Thanks
Lucas


16 Replies
cbell
Posts: 462
(@cbell)
Honorable Member
Joined: 18 years ago

Someone can correct me if I'm wrong, but I'm pretty sure the only way is to use the Music Player and configure vixen for background music as well as a background sequence. A background sequence can't control what music is playing, it's just whatever the music player is playing at that time.


Reply
JonathonReinhart
Posts: 133
(@jonathonreinhart)
Estimable Member
Joined: 18 years ago

I'm not sure, but here's the resources I'm about to use to try and write my background script now

http://www.doityourselfchristmas.com/forums/showthread.php?t=5263
http://www.doityourselfchristmas.com/forums/showthread.php?t=9391


Reply
JonathonReinhart
Posts: 133
(@jonathonreinhart)
Estimable Member
Joined: 18 years ago

Am I missing something or does this not work in 2.5? I tried just:

void Start() {
	On(All);
}

But I get errors at the bottom of the window:

'BackgroundScriptProject.BackgroundScriptProject' does not implement interface member 'ScriptEngine.IUser.ScriptStarting()'
...(among others)

Reply
Posts: 345
 Trip
(@trip)
Reputable Member
Joined: 19 years ago

Check and make sure all your channels are imported, that you have the standard module selected, and that you have your plugin correct with all channels in the script menu.


Reply
JonathonReinhart
Posts: 133
(@jonathonreinhart)
Estimable Member
Joined: 18 years ago

Trip, can I just attach this to my regular profile? Or how do I get all the data in there


Reply
JonathonReinhart
Posts: 133
(@jonathonreinhart)
Estimable Member
Joined: 18 years ago

Oh, I'm blind. Got it. Thank you!


Reply
Posts: 477
Topic starter
(@lboucher)
Honorable Member
Joined: 18 years ago

So maybe i am a bit blind, where do you actually hit play to play what is in the music player?


Reply
Posts: 345
 Trip
(@trip)
Reputable Member
Joined: 19 years ago
lboucher wrote:So maybe i am a bit blind, where do you actually hit play to play what is in the music player?

You don't, it automatically starts up when vixens starts based on your delay setting.

In tools - preferences - background items

you have to select enable background music

and in tools - music player

you select what songs you want it to play


Reply
IdunBenhad
Posts: 1603
(@idunbenhad)
Noble Member
Joined: 18 years ago

Hi:
OK, I give up! I have tried repeatedly to develop a program script and all I ever get is:
(This is after pressing F5 or F6)

"Value cannot be null.
Parameter name: path2
at System.IO.Combine(String path1, String path2)
at StandardScript.StandardScript.CreateTempSequence(String directory)"

This is using the scripting module in Vixen 2.5.0.8

Thanks for any help.

Idun


Reply
Page 1 / 2
Share: