Replace speed with const & Change timing when sound plays