“ tried to pass that through a bc337 transistor.”
How was this connected ?
You know common emitter inverts the signal ?