Both, I’d say. If someone was imitating a dog and said “blaf blaf blaf”, that doesn’t sound that strange to me.