You didn't speak to someone with a whistle, you communicated to something with a whistle without using a whistle (or other human language).
If you never heard it, this is where it came from: https://www.youtube.com/watch?v=7sbncTUZiGk
or this: https://www.youtube.com/watch?v=qRrw2hDjnl4 actually.