Can I use two ports in arduino at the same time?

I am using bitVoicer for speech recognition and communicate with processing. But once I use a port to control arduino with this library, my processing stops working and indicates "Port busy".

I am wondering if I can use two ports, one of which send and receive data from processing (or use firmata) and the other receives data from bitVoicer software to control the arduino with words.

I tried the example in arduino tutorial website "https://www.arduino.cc/en/Tutorial/SoftwareSerialExample", which does not work for me as well.

Thank you very much!

Which Arduino are you using? Most have only one hardware serial port connected to the USB plug. If BitVoicer is PC software using the hardware serial port, then Processing can't use it, too.

I tried the example in arduino tutorial website "https://www.arduino.cc/en/Tutorial/SoftwareSerialExample", which does not work for me as well.

How did you try and use this? You need a USB to TTL serial cable to connect the software serial so that processing can see it.