Advantages of using digital devices for studying waves