The sound is called as Tinnitus in medical terms. Causes are many but according to the history you suffered with Typhoid and blood infection where definitely you might be on lots of antibiotics. Some of the anti biotic can cause high frequency hearing loss which you cannot discover and this can cause Tinnitus.
I advise you to meet an ENT doctor and get the hearing checked and take treatment accordingly.
Next Steps
Meet an ENT doctor and get Hearing checked.
Health Tips
Before starting of on any antibiotics ask the doctor to avoid prescribing certain drugs that can cause hearing loss !