Scripts Executing in iTunes but not standalone

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
jcharney
Posts: 5
Joined: Sun Jul 28, 2013 6:15 pm

Scripts Executing in iTunes but not standalone

Post by jcharney »

I'm making scripts to change the waveform, flowfield, and colormap using the "CTRL X" format, ideally in standalone mode. They are executing correctly in iTunes, incorporating the dynamic changes I make to the txt files, but not in the standalone mode.

Any ideas why?

User avatar
BTT
Administrator
Posts: 2262
Joined: Sun Jun 20, 2010 9:34 pm
Location: United Kingdom

Post by BTT »

Hello jcharney

You may find some of the info in this thread useful.

http://www.soundspectrum-forums.com/vie ... c&start=15


Regards BTT

jcharney
Posts: 5
Joined: Sun Jul 28, 2013 6:15 pm

Post by jcharney »

Yes, that was helpful and I tried that.

However, I'm still finding the same behavior. Renaming the scripts to
"CTRL A" or even "Key A" and executing them by pressing Shift-R and
then the correct key doesn't do anything. Behavior is updating
correctly in the iTunes visualizer, however.

What's interesting is that SOME instance of the script is executing: I
do get error messages if there's no script in the folder with the name
I executed, and there's a little jump in the visuals like a new script
started over, just nothing in the rendering changes.

By way of example, the first script set to "CTRL A" is:

SetFlowField("(Empty)");
SetWaveShape("Grapefruit");
SetColorMap("The Haight");

It opens correctly in both standalone and iTunes when I press it. I
have "CTRL B" make the following change:

SetFlowField("Bits Between Bits - Vertical");

and triggering it works in iTunes but in the standalone, nothing
happens. It just jumps a little like it's retriggering an instance of
CTRL A.

Is there something wrong with my syntax? I tend to think not since it
works in iTunes and i'm getting no error messages in the console at
the top of the window.

Thanks for your help.

jason

jerohm
Senior Member
Posts: 421
Joined: Fri Jan 09, 2009 5:19 pm

Post by jerohm »

make SURE you click on the standalone window BEFORE you try Shift-R [0-9A-Z] ( filename: 'Key [0-9A-Z].txt' ) or CRTL [A-Z] ( filename: 'CTRL [A-Z].txt' ).
It seems to work just fine under GF5, W7/64

( BUT I CAN reproduce YOUR findings, IFF I don't FIRST bring the window into focus )

jcharney
Posts: 5
Joined: Sun Jul 28, 2013 6:15 pm

Post by jcharney »

No dice, still.

Fwiw, I'm on Mac OS X running g-force 5.0.3.

User avatar
BTT
Administrator
Posts: 2262
Joined: Sun Jun 20, 2010 9:34 pm
Location: United Kingdom

Post by BTT »

Hello jcharney

Think your going to have to contact SoundSpectrum support for help.

http://www.soundspectrum.com/support/contact.html


Regards BTT

jcharney
Posts: 5
Joined: Sun Jul 28, 2013 6:15 pm

Post by jcharney »

Ok, thanks for your help anyway! I sent a support ticket and will follow up in this thread when I receive a response in case there are other people looking for a solution to this problem!

Jason

jerohm
Senior Member
Posts: 421
Joined: Fri Jan 09, 2009 5:19 pm

Post by jerohm »

Sorry - NEXT time, make SURE you provide as much relevant info concerning your situation as possible. That said, I doubt that things sometimes work, and some times don't [given the exact same order of events/procedures]. I am much more inclined to believe some order of what you did, or didn't do, is the key.

:idea: There STILL may be a problem that needs to be addressed, but you might be able to save yourself some aggravation if you carefully scrutinize the YOUR actions PRIOR to when you find things just seem to so happen to work.
:idea:

Good Luck... sorry no help

jcharney
Posts: 5
Joined: Sun Jul 28, 2013 6:15 pm

Post by jcharney »

Thanks for the pedantry, jerohm. :? Though I'm new to this software, I've tried many things, including isolating different variables and sequence of actions, and still can't figure it out. I'm SURE it's something I've overlooked or don't quite understand, which is why I ask for your help. I appreciate your and everyone else's expertise and don't mean to be cluttering the forum, but this problem does have me stumped!!

User avatar
juxtiphi
Moderator
Posts: 1470
Joined: Sat Jan 15, 2005 1:29 pm

Post by juxtiphi »

jcharney wrote:Thanks for the pedantry, jerohm. :? Though I'm new to this software, I've tried many things, including isolating different variables and sequence of actions, and still can't figure it out. I'm SURE it's something I've overlooked or don't quite understand, which is why I ask for your help. I appreciate your and everyone else's expertise and don't mean to be cluttering the forum, but this problem does have me stumped!!
nice vocabulary :(

User avatar
BTT
Administrator
Posts: 2262
Joined: Sun Jun 20, 2010 9:34 pm
Location: United Kingdom

Post by BTT »

Hello jcharney

Have been looking at G-Force documentation, this is the nearest to helping you I could find.

Documented Configs

Below is a list of configs included with G-Force that contain important documentation. In other words, some configs contain information that will teach you about the different config types. Try looking at them in order listed, and be aware that many other configs contain documentation and comments added by the authors who created them. If you see a config in G-Force you really like, don't be afraid to open and study it.

G-Force/ColorMaps/ColorWheel.txt
G-Force/ColorMaps/Clear Blue Water.txt
G-Force/FlowFields/Linear Spread.txt
G-Force/WaveShapes/Rotating Corridor.txt
G-Force/Particles/Spinners.txt
G-Force/Particles (Non-Auto)/Default Sprite.txt
G-Force/FlowField Unions/Birth Cone.txt


Regards BTT

jerohm
Senior Member
Posts: 421
Joined: Fri Jan 09, 2009 5:19 pm

Post by jerohm »

It might help to turn on FULL Debug, "Shift D Shift D", and see if you can detect any additional info/differences between the two. Post your EXACT scripts and what works and what doesn't, on which version. I live on a PC so if this is OS related, I may be of limited help.
luck

Try: Rename distributed 'CTRL 1.txt' to 'CTRL J.txt'
Copy 'CTRL J.txt' to 'Key J.txt'

Code: Select all


SetFlowField( "Directrix Expand - Y" );
SetWaveShape( "Simple Horizontal", 0 );
SetColorMap( "DT - Metal", 0 );

Turn on FULL Debug, "Shift D Shift D"

You should be able to execute using either:
'CTRL J' or 'Shift R J'

in Standalone... report results.

Post Reply