I have a loco with the same set-up. You do not state the manufacturer of the sound card is but mine is made by Trax. See
www.traxcontrols.com/ for information.
The Trax Printed Circuit Board (PCB) has 6 terminals. If you position the board with the preset controls at the bottom, there are two on the left and four on the right.
.........................................................3 Speaker +ve
1 +12V DC...........................................4 Speaker 0V
2 0V DC...............................................5 Speed A
........................................................ 6 Speed B
I assume you have two 12V batteries connected in series to give 24V. This gives three connection points, 0V, +12V and +24V.
The Parkside controller is connected to 0V and +24V via heavy wires terminated directly to the PCB inside the controller. The hand control unit, used to drive the loco, plugs into an 8 pin DIN socket on the controller.
Referring back to the sound card, connections are as follows:
Terminal 1 - +12V. This is connected to the +12V connection between the batteries via a switch and 1 amp fuse. If you are using 12V horns, the switch can be a 6A Miniature circuit breaker (MCB). The horn circuit may be fed directly from the MCB but the fuse is still needed for the sound card.
It is possible to install a 24V to 12V converter to drive the sound card. Maplin have a couple of suitable items in their catalogue (N62AW (pre-assembled module) and VE58N (kit)). Again this circuit should be fused.
Terminal 2 -0V. This is connected to the 0V battery point, preferably at the battery terminal. (A 24V to 12V converter would also have a 0V connection here).
Terminal 2 & 4 - Speaker. These connect to the loudspeaker. The loudspeaker must be mounted in a box for good results. Even better is a larger speaker. Again Maplin can supply these. I have a 5 1/4 inch speaker which is the biggest that will go into the 5inch gauge Hymek body. It is positioned facing forward under the cooling fan grill. I have found a thin piece of polythene from a freezer bag, taped across the top of the speaker box so that it hangs down loosely in front of the speaker, will protect the speaker from rain without degrading the sound. The sound output from the Trax card is adequate for normal use eg school fetes. If it were louder it would become annoying to the driver.
Terminals 5 & 6 - Speed. Terminals 5 and 6 connect to a diode bridge on the PCB and are intended to be connected to the track of a model railway layout where the 12V DC supply for the PCB is supplied from a transformer isolated supply. In the case of the model railway the sound card has to cater for forward and reverse. Our installation is completely different. In fact the PCB track to terminal 6 was burnt out when I bought my loco because this had not been appreciated. I recommend terminal 6 is left disconnected and let the speed control circuitry find its 0V via Terminal 1. This leaves us with terminal 5, which is I think the real nub of the question. This has to be connected to the connection between the speed control on the hand control unit and the controller. Forget trying to connect to the motors. That is chopped 24V variously switched to provide forward and reverse which gives the results stated in another post.
If you connect the hand controller directly to the controller, open the box of the Parkside controller you will find an orange connector inside connecting the DIN socket to the PCB. You need to connect a wire into the third pin from the end nearest the DIN socket. It will already have a blue wire in it. Connect the other end of the wire to Terminal 5 on the sound card. Best to drill a hole in the lid, it can be removed completely so that swarf is kept out of the controller. The Parkside hand controller outputs 0 to +24V for speed but the Trax sound card is designed to work with this. Speed is independent of the Forward and Reverse setting.
If you have provided a socket on the loco for the hand control and wired this to the controller you can connect Terminal 5 to the wire connecting pin 1 on the DIN connectors. As part of the current rebuild I have included an interface PCB between the loco socket and controller so that any of the control signals may be picked off easily.
The Hymek has undergone an internal rebuild this winter and now includes a 24V to 12V regulator. I have modified the sound card so that it now sounds as though the engine starts and stops rather than the abrupt stop provided by the standard card. I am also experimenting with a more powerful amplifier, not for engine sound but to add electronic horns. I am not impressed with the Trax horn module it does not sound right and only gives a fixed dee daa cycle when you trigger it. I currently use car horns. I have used Audacity to generate suitable tones on the computer, I just need to develop the hardware. When the existing horns go the connection to the 12V point will also go.
I hope this helps.