I want to count pulses through sound-card of a PC or a smartphone's audio port. Two different pulses will originate from two LM331 and I can scale them to 1V or any amplitude.
I want to feed these pulses to the audio port of a sound card's channels. Then the rest is to software to count the pulses.
So far I plan to use this analog interface between the pulses and the audio jack and sound-card:
Do you think the topology is correct? How can I improve this interface for the noise? I am only interested to count pulses not to view any other signal.
Edit: R1 R2 sets the voltage at X.