If focusing on the sound:
* Sharp could be replaced with stark, although it wouldn't be an exact synonym.
* Knock could be replaced with rap, but this would change the meaning slightly, implying a quicker, less forceful sound.
If focusing on the action:
* Sharp could be replaced with sudden, but again, it's not an exact synonym.
* Knock could be replaced with rap, but this implies a more gentle, less forceful action.
It's important to consider the context and the intended meaning to choose the best word or phrase.
For example, if you're describing a loud, forceful sound, "sharp knock" would be the most accurate. If you're describing a sudden, unexpected sound, "stark rap" might be more appropriate.