You “seem” to have established, or you have established? If you can hear the sounds played via the virtual keyboard, but they are not recorded, then that´s usually because of a record filter being active.
You shoulkd start by giving a detailed description of what you are doing exactly.