November 21, 2024, 10:03:56 PM

News:

Be sure to checkout our Vixen interfaces in the Library forum -- if you want PC automation at near zero cost, EFX-TEK and Vixen is a great combination of tools.


starting audio

Started by haunter45, September 09, 2014, 10:12:43 AM

Previous topic - Next topic

haunter45

this is my program all I need to know is what and where do I need to add into the programing in order for a single audio track to start playing the same time the event sequences start.

JonnyMac

Your code indicates that you are using an AP-16+. Is that not the case?

If it is, you will connect P7 of the Prop-1 to the SERIAL input of the AP-16+

Important notes for your Prop-1:
-- the P7 SETUP jumper must be UP or removed
-- pin 1 of the ULN must be clipped (or ULN2803 replaced with ULN2003)
   * see this thread: http://www.efx-tek.com/php/smf/index.php?topic=130.0

Important notes for your AP-16+:
-- the BR, A1, and A0 config switches must be OFF (down)
-- you must have SFX00.WAV on the card
-- SFX00.WAV must be a canonical WAV file (no metadata allowed)
    * see this thread: http://www.efx-tek.com/php/smf/index.php?topic=2085.0
Jon McPhalen
EFX-TEK Hollywood Office

haunter45

yes I am using a ap 16. thank you for the links. one last question is what do I need to put in the programing if anything for the track to play at the start. I did all my programing in vixen and im still behind the curve so to speak  when it come to type programming directly in basic.

livinlowe

From what I can see, and it's been awhile for me programming wise, the audio already starts at the beginning of the action sequence
Shawn
Scaring someone with a prop you built -- priceless!

JackMan

I think there's a problem with all the eeprom commands in the data section. It puts the Prop-1 way over the space limit.

JonnyMac

Jack makes a good point -- I didn't compile the code, I simply looked at it to see if an audio player had been selected.

I need to check with KC as it seems like the program is allowing you to use more data in the sequence than the Prop-1 can hold. We have a file that sets limits, but your program has gone past that.

Can you check the date code on the Prop-1 files in your Vixen Addins folder?  You should have two files:
-- prop-1_sequencer_main.txt
-- prop-1_sequencer_fill.txt

Inside the prop-1_sequencer_fill.txt file you should see this at the top:

Selections:
95,No audio player
94,Contact closure
81,AP-16+ Serial (SFX00)
83,AP-8 Serial (Slot 0)


MAX EE Table entries:
  0 (N/A)  = 95
  1 (C/C)  = 94
  2 (AP16) = 81
  3 (AP8)  = 83


Note that the two lines referring to the AP-16+ limit the data table entries to 81. Is your file different?
Jon McPhalen
EFX-TEK Hollywood Office

haunter45

yeah I was having that problem when I sequence into basic I end having to delete the tail end of the programming in order to upload it to the prop-1. is there any way to compile it or compress it down. Im only about 8-9 lines shy of the entire program

haunter45

and yes the addins file is the same as you have above

JonnyMac

The data is already compressed -- can't do anything more. The Prop-1 has a very small memory and there's only so much we can do. I even tried to remove the audio reset section but that does not allow your current sequence to fit.

This is tricky. It's not a matter of simply shortening the sequence, because the data compression used may not change anything. And you're already at the max sequence timing (250ms), so there's nothing to be done there. You might find that simplifying some of the moves shorten the compressed data.

Or... you may need a Prop-2 controller for this gag. It has 8x the memory of the Prop-1.
Jon McPhalen
EFX-TEK Hollywood Office

haunter45

after some amazing support from JonnyMac we discovered that the sd card I was attempting to use would not work with the AP-16+ i purchased a card with a class 4 rating and it work perfect no issues. here is a pic of the semi fimished project the programing and all that jazz is don't finally thanks to JonnyMac. it still needs some paint work and set dressing. thanks you Efx-Tek great product great support.

JonnyMac

We're glad you go everything working and hope that you have a wildly-successful Halloween season.
Jon McPhalen
EFX-TEK Hollywood Office