ともなく
Meanings
1
somehow; without realizing; unconsciously
usually written using kana alone
Used after a volitional or interrogative word to indicate an action done without clear intention or awareness. Often appears in patterns like どこからともなく (from somewhere or other) or 見るともなく見る (to look without really looking).
Music could be heard from somewhere or other.
I was looking out the window without really paying attention.