God is always speaking to people before they are born again.I have learned that in a case like yours cos I had similar experience it is his still small voice within me. You know how the holy spirit dwells in you, when you abide in Jesus? Well he is very close and inside you so knows you, even before you do something. That is Gods voice. Also, he will always prompt you to do godly, holy things, and if you are confused and need to check, look it up in the Bible.
In OT times it was always outside. Cos before Jesus God didnt really have a way of pouring out his spirit on everyone, so..he selected a few people, his prophets. Sometimes he actually spoke through them. sometimes people literally heard from God audibly.
I have one experience where I heard from God audibly. He does not normally do this, but this was before I was born again and in a kind of mess. he cared enough to tell me something personal when was struggling. Nobody else heard though, cos I was in the bathtub. Lol.
If God never spoke to anyone until after they were born again, how could they possibly know the truth of God, who is Spirit. Spiritual truths can never ever be discerned through man's intellect. The Holy Spirit has in fact been drawing all men to him since Adam and always does it by addressing their human spirit not their intellect.