Programming Instructions

Transcription

Programming Instructions
ProgrammingSoundswiththeSoundChipProgrammerfromGBFans
PackBlaster Sound Module Programming This document will describe how to setup and program the sound module that is located in the center of the GBFans’ “Pack: Amplified Sound Board”. The device that holds the sounds is located in the center of the Sound Board: It is a 16 pin module and the orientation of the part is critical. The board can be damaged if the sound module is plugged in upside down or if the pins do not properly line up in the socket. A quick overview of the process: Install the software and programmer on your computer. Edit or modify the sounds you wish to change. Load up the programmer software and modify the entries to point to your new files. Save the changed programmer files. Carefully remove the 16 pin module and place it in the programmer. The part is sensitive to static discharges. Tell the software to program the part. Takes a few minutes and then says your part is done. Provided by Ghostbusters Fans. www.GBFans.com Carefully put the part back into your Sound Board. You now have new sounds! Provided by Ghostbusters Fans. www.GBFans.com Sound editing software. Many options are available. I use the free Audacity software to edit and convert the sound files from various formats into the required mono formats that the sound module requires. http://audacity.sourceforge.net/ The preferred wav file should be mono (single channel) and do to the number of sounds, 12KHz sample rate was used. The sound module also supports 12KHz, 14KHz, 16KHz, 18KHz, 20KHz, 22KHz, though mixing several different rates may be problematic. You may delete a bunch of the sounds you will not be using and then free up enough space to have the song running at a higher sample rate. This can increase the sound quality of the song. The sound module has a limited amount of space for wav files and the supplied files take up 99.98% of the available space. So either keep your replacements similar in size or you may need to delete some sounds you are sure you will not be using. Sound Module File organization: The wav files are loaded in the left side of the software window. The wav numbers are sequentially assigned, but do not really matter. The wav files were all originally loaded in order, but have gotten messed up somewhat as I revised and updated sounds. The Equation number in the middle of the software window is a very important number and is what the microcontroller uses to play a sound. Each equation number can play in order up to about 90 sounds. Many of the equations only play a single sound, but several will build up longer sounds by playing multiple sounds in a row. Here are the first sounds that are only used in the test mode of the sound board: Description
Testing
"test"
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
Equation
No:
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
WAV file
PK000 test.wav
PK001 1.wav
PK002 2.wav
PK003 3.wav
PK004 4.wav
PK005 5.wav
PK006 6.wav
PK007 7.wav
PK008 8.wav
PK009 9.wav
When test mode is entered on power up, the board announces “test” when the micro controller issues a command to play equation 00h. From the above list you can see that equation 00h will play the “PK000 test.wav” file. Provided by Ghostbusters Fans. www.GBFans.com Here are the main TVG pack sounds: TVG Pack Common
Powerup No Hum
Powerdown
0Ah
0Bh
Change to Secondary
0Ch
PowerUp Hum Long
5Ch
Proton Mode
Proton Hum
n/a
n/a
Proton Stream Tail
Proton Stream Head
Proton Stream Tail Beep
Proton Stream Head + Loop
Proton Stream Loop Beep
Boson Dart
Boson Dart Beep
Slime Mode
Slime Pack Open
Slime Pack Close
Slime Hum
Slime Blower Head
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
PK012 player_proton_holster.wav
PK013 protongun_powerup_fade.wav
PK010, PK020^79
PK020 protongun_amb_hum_loop.wav
PK021 protongun_amb_hum_loop_beep.wav
PK022 protongun_ai_burst_loop.wav
PK023 protongun_ai_burst_tail.wav
PK024 protongun_beam_contain_loop_head.wav
PK025 protongun_ai_burst_tail_beep.wav
PK026 protongun_beam_contain_loop.wav
PK024, PK026^19
PK027 protongun_beam_contain_loop_beep.wav
PK028 protongun_fire_upgrade2.wav
PK029 protongun_fire_upgrade2_beep.wav
1Bh
1Ch
1Dh
1Eh
1Fh
PK030 proton_pack_slime_open.wav
PK031 proton_pack_slime_close.wav
PK032 slimer_tank_airvent_loop.wav
PK033 slimegun_head.wav
PK034 slimegun_loop.wav
PK033, PK034^19
PK035 slimegun_tail.wav
PK036 slimegun_empty.wav
PK037 slime_tether_fire.wav
PK038 slime_tether_fire2.wav
20h
21h
22h
PK040 proton_pack_ice_open.wav
PK041 proton_pack_ice_close.wav
PK042 proton_ice_freezing_loop.wav
Stasis Stream
23h
Stasis Stream Head + Loop
Stasis Stream Tail
Stasis Stream Loop Beep
Stasis Stream Tail Beep
Shock Blast
Shock Blast Beep
24h
25h
26h
27h
28h
29h
PK043 proton_stasis_loop_head.wav
PK044 proton_stasis_loop.wav
PK043, PK044^19
PK045 proton_stasis_tail.wav
PK046 proton_stasis_loop_beep.wav
PK047 proton_stasis_tail_beep.wav
PK048 proton_shotgun_fire.wav
PK049 proton_shotgun_fire_beep.wav
2Ah
2Bh
2Ch
2Dh
2Eh
2Fh
30h
31h
32h
33h
PK050 proton_pack_rail_open.wav
PK051 proton_pack_rail_close.wav
PK052 pack_rail_arc_loop.wav
PK053 pack_rail_arc_loop_beep.wav
PK054 railgun_alt_fire_stage_3_loop.wav
PK055 railgun_alt_fire_stage_3_tail.wav
PK056 railgun_alt_fire_stage_3_loop beep.wav
PK057 railgun_alt_fire_stage_3_tail_beep.wav
PK058 railgun_bolt_fire_1.wav
PK059 railgun_bolt_fire_1_beep.wav
Slime Blower Head + Loop
Slime Blower Tail
Slime Blower empty (overheat)
Slime Tether
n/a
Stasis Mode
Stasis Open
Stasis Close
Statis Hum
Meson Mode
Meson Open
Meson Close
Meson Hum
n/a
Overload Pulse
Overload Tail
Overload Pulse Beep
Overload Tail Beep
Meson Collider
Meson Collider Beep
17h
18h
19h
1Ah
PK010 protongun_powerup.wav
PK010, PK013
PK011 protongun_shutdown.wav
When the pack is powered up in TVG mode without Hum, equation 0Ah is played. This will play the “PK010 protongun_powerup.wav” sound file followed by the “PK013 protongun_powerup_fade.wav” and then be silent. Provided by Ghostbusters Fans. www.GBFans.com When the pack is powered up in TVG mode with Hum selected, equation 5Ch is played. This will play the “PK010 protongun_powerup.wav” sound file followed by 79 plays of the “PK020 protongun_amb_hum_loop”. Here are the Vent, Overheat Beep and Song sounds: Vent
Dry Vent
Overheat Beep
n/a
Vent Long
Vent Short
34h
35h
36h
37h
38h
PK060 protonpack_dry_vent.wav
PK061 protonpack_overheat_beep 1 time.wav
PK062 protonpack_overheat_beep 8 loop.wav
PK063 pack_overheat vent slow.wav
PK064 pack_overheat vent faster.wav
Song
39h
PK070 ghostbusters.wav
Song
Here are the Movie Pack sounds: Movie Sounds
PowerUp
PowerDown
3Ah
3Bh
Hum Loop
PowerUp Hum Long
3Ch
5Bh
Stream Start Long
StreamEnd
3Dh
3Eh
PK080 SGBP_1_PowerUp_connect_0_3p546.wav
PK081 SGBP_2_PowerUp_fade_connect_3p546_1p992.wav
PK080, PK081
PK086 SGBP_7_PowerDown.wav
PK082 SGBP_3_PowerUp_connect_3p546_2p512.wav
PK083 SGBP_4_Hum_fade_in_4p139_1p920.wav
PK084 SGBP_5_Hum_Loop_6p058_13p224.wav
PK083, PK084^79
PK080, PK082, PK084^78
PK087 SGBP_10_Stream_start_0_1p669.wav
PK088 SGBP_11_Stream_loop_1p669_11p935.wav
PK087, PK088^79
PK089 SGBP_12_Stream_wind_down.wav
2nd startup
5Dh
PK140 SGBP_1_PowerUp_Short.wav
Provided by Ghostbusters Fans. www.GBFans.com And here are the interactive sounds: Monster Sounds
slimer
slimer
slimer
slimer
slimer
slimer
gozer
staypuft
staypuft
staypuft
cross_streams
scoleri
scoleri
scoleri
vigo
3Fh
40h
41h
42h
43h
44h
45h
46h
47h
48h
49h
4Ah
4Bh
4Ch
4Dh
PK100 0_32_39_a_12K (slimer munching a).wav
PK101 0_32_39_b_12K (slimer munching b) R what a disgusting blob.wav
PK102 0_33_05_b_12K (slimer fly by).wav
PK103 0_33_32_12K (slimer laugh and growl).wav
PK104 0_33_59_b_12K (slimer growl P screaming) shorter version.wav
PK105 0_36_15_12K P give me one high and outside Ray.wav
PK106 1_27_59_12K P lets show this prehistoric bitch how we do things downtown.wav
PK107 1_31_02_12K R its the staypuft Short.wav
PK108 1_31_04_b_12K (staypuft roar b).wav
PK109 1_32_18_a_12K (staypuft roar c).wav
PK110 1_33_03_12K cross streams _edited_.wav
PK111 0_32_34_a_12K (scoleri brothers a).wav
PK112 0_32_34_b_12K (scoleri brothers b).wav
PK113 0_32_34_e_12K (scoleri brothers e) S Oh my God the Scoleri Brothers.wav
PK114 1_36_59_12K (V growl).wav
cross_streams
staypuft only
scoleri only
Vigo
4Eh
4Fh
50h
51h
52h
53h
54h
55h
56h
57h
58h
59h
PK120 0_35_34_12K R I did that that's my fault P its ok the table broke the fall.wav
PK121 0_36_35_12K P oh nice shootin tex.wav
PK122 0_37_22_12K P maybe now youll never slime a guy.wav
PK123 0_38_05_12K R now that wasnt such a chore.wav
PK124 0_38_15_12K P we came we saw we kicked.wav
PK125 1_28_31_12K P wasnt so hard.wav
PK126 1_28_39_12K R we neutronized it you know what that means a complete partical reversal.wav
PK127 1_28_44_12K W we have the tools.wav
PK128 1_36_00_12K R Smells like bbq'ed dog hair, oh venkman.wav
PK129 1_37_27_12K L Boy the superintendent is going to be pissed.wav
PK130 0_36_28_12K All Two in the box ready to go we be fast but they be slow.wav
PK131 1_34_16_12K W That was really stupid.wav
Silence
5Ah
10 mS Silence
Movie Responses
slimer only
slimer only
Misc
Provided by Ghostbusters Fans. www.GBFans.com Programming the default sounds Starting up the programmer software, I will select the English menus (click on the 6th menu selection): Now load in the file: Provided by Ghostbusters Fans. www.GBFans.com And now you can see the WAV files and associated equations: Click on the Hammer to see the required settings: Provided by Ghostbusters Fans. www.GBFans.com Then click on the compile symbol to the left of the hammer if you made any changes to the files or configuration and after a few seconds a Saved message will appear: With the programmer connected to a USB port, click on the download symbol to the right of the Hammer and a new window will appear: Provided by Ghostbusters Fans. www.GBFans.com Click the connect button: Now load in the sound module 16 pin part into the programmer. *** CAUTION !!! *** The 16 pin part is static sensitive, so ground yourself to the computer before grabbing the sound module and removing the part. Try and minimize your movements while handling the parts since that can cause static charges to build up. Do not lift just one side of the 16 pin module or the pins may be damaged. You can slightly rock the part to remove it from the socket. Place the part in the programmer board. The sound module must be oriented in the correct direction and location in the socket: Provided by Ghostbusters Fans. www.GBFans.com Then press the “OnekeyDownLoad” button and in a few minutes the following should indicate the sound module has been programmed: Click the Cut button, remove the part from the programmer and put it back in the Sound Board. *** CAUTION !!! *** The 16 pin part is static sensitive, so ground yourself to the computer before grabbing the sound module and installing the part. Try and minimize your movements while handling the parts since that can cause static charges to build up. Provided by Ghostbusters Fans. www.GBFans.com Place the part in the sound board. The sound module must be oriented in the correct direction in the socket. Damage to the sound module or sound board could occur if the part is improperly installed. Provided by Ghostbusters Fans. www.GBFans.com Example change of Song with Audacity: Open Audacity and load Footloose.mp3: First convert to mono: Provided by Ghostbusters Fans. www.GBFans.com Then change the Project Rate in the lower left hand corner to 12000 Hz (12KHz): Then File>Export as “Footloose.wav” in the same directory as you have the PBV10a.winprog file (not the PBV10a.winproj.sound subdirectory). Then exit and do not save when it asks. Now start the programmer software and File > Open Project and load the “PBV10a.winprog” file. *** CAUTION *** Each add or delete is not reversible (no undo) so make sure you save a copy of the directory and all of the files in some separate place before you start playing with the programmer software. Find the old ghostbusters song, PK070 ghostbusters… in the left hand side of the window and left click on it so it is highlighted and then right click and select the Delete and it will be gone: Provided by Ghostbusters Fans. www.GBFans.com See that the sound module is now only 57.49% full (lower right hand side of window). You can check Equation 39h and verify that it no longer has a wav file associated with it since we just deleted the wav file that it used to call out. Now load the new file. Right click anywhere in the Wav file section of the window and select “Load”. Select the Footloose.wav file and “Open” it. The %flash used should now read nearly full, though you can’t see the newly added file. The files you add will always go to the bottom of the Wav file list so scroll to the bottom and now you can see the file you just loaded: Now to add it, scroll the Equation number in the center column of the window until you can see 39H, the one that is associated with Song as indicated by the list at the beginning of this document. Click on it to highlight the desired number and you can see that no song is associated with it. Provided by Ghostbusters Fans. www.GBFans.com Now add the song to 39H by simply double clicking on “Footloose.wav”, wave file entry number 096: See that the Footloose.wav has been added. Additional sounds could also be added by double clicking on them so that those sounds would play immediately after the song. You can also select the sounds or put in silence by right clicking in the right hand side window and selecting your desired item. For this example I will add a ½ second of silence after the song and then play four separate words “1” “9”, “8” “4” by adding 5 items to Equation 39H. When done it looks like this: Adding items to equations does not take any additional space – only the wav files you load will consume space in the flash. Now compile (the icon to the left of the hammer) and then program like described before. Provided by Ghostbusters Fans. www.GBFans.com ProgrammingaReplicaProps,Crix,GBFansorotherchip.
The process for programming a Replica Props, Crix or GBFans chip isn't much different from the PackBlaster programming procedure. Start by plugging in your sound board programmer into the computer. Make sure it is connected and then load up the program. "WT588D VoiceChip" You'll notice right away the language is all in chinese. Switch to English by clicking on the 2nd menu button from the right and selecting English. Provided by Ghostbusters Fans. www.GBFans.com Start a new project and save it in a spot you will remember. Provided by Ghostbusters Fans. www.GBFans.com The mode used on the Replica Props / Crix / GBFans chips is different from the mode used on the Pack Blaster board. The mode you need will be "Key" mode. This will link up the different input pins to different sound files contained on the board. You will be able to trigger different sounds through those pins in the same way you would with a purchased Replica Props or Crix chip. Provided by Ghostbusters Fans. www.GBFans.com Right click on the left side of the screen and click "Load". Select your sound files and load them in. Make sure you set them up to the right bitrate and file type. For reference we use: ‐WAV Files ‐Mono Sound ‐16 Bit ‐12000Hz to 20000Hz Provided by Ghostbusters Fans. www.GBFans.com With your files on the left side. You can then select an equation No. The equation No is related to the pin on the chip. 00H is the first slot, 01H is the second, 02H is the third and so on. On the standard 28 pin chips from Replica Props, Crix and GBFans there are 10 slots that can be triggered right away. 00H ‐ 09H. With each slot, you can copy over as many of the sound files as you want. Take the sound files from the left and drag them to the right. In the above example, slot 1 has the pack start up sound, and then dozens of copies of the hum sound. This means in slot 1 the pack start up sound will play and then the hum will loop for a few minutes. Provided by Ghostbusters Fans. www.GBFans.com With your files all setup (in this above image they are not) click the compile button. This will create a "BIN" file that you can save (and share with others) that can be downloaded on to the chip. Provided by Ghostbusters Fans. www.GBFans.com With your BIN file and programmer board connected. You can click the download button when it is time to burn the sounds to the chip. (Don't worry these chips can have sound files changed on them over and over.) Provided by Ghostbusters Fans. www.GBFans.com Install the chip as shown in the picture. There is a little notch in the top of the chip to indicate that it is the top. On the Replica Props chip there is a indent in the resin casing of the chip to indicate the top. *** CAUTION !!! *** The sound chip is static sensitive, so ground yourself to the computer before grabbing the sound module and removing the part. Try and minimize your movements while handling the parts since that can cause static charges to build up. Provided by Ghostbusters Fans. www.GBFans.com With the chip installed. You can click the connect button to connect your computer to the chip. Select your BIN file in the BinPath. Provided by Ghostbusters Fans. www.GBFans.com When it is time to program the sounds you can click "OnekeyDownLoad" this will erase the old sounds and install the new ones. Alternatively you can press Erase to clear the chip and Download to download new sounds. When finished press "Cut" which means disconnect. You can then remove your chip from the programmer. Provided by Ghostbusters Fans. www.GBFans.com