@@ -411,16 +411,18 @@ where
411411 periodic:: periodic ( self , period, access)
412412 }
413413
414- /// Changes the play speed of the sound. Does not adjust the samples, only the play speed.
415- ///
416- /// Creates a [`Speed`] struct that handles the speed control
417- /// #### Note:
418- /// 1. **Increasing the speed would also increase the pitch by the same factor**
419- /// - If you increased set the speed to 0.5, the frequency would be slower (0.5x the original frequency) .
420- /// - Also if you set the speed to 1.5 the frequency would be faster ( 1.5x the original frequency).
421- /// 2. **Change in the speed would affect your total duration inversely**
422- /// - if you set the speed by 0.5, your total duration would be (2x the original total duration) longer.
423- /// - Also if you set the speed to 2 the total duration would be (0.5 the original total_duration) shorter
414+ /// Changes the play speed of the sound. Does not adjust the samples, only the playback speed.
415+ ///
416+ /// # Note:
417+ /// 1. **Increasing the speed will increase the pitch by the same factor**
418+ /// - If you set the speed to 0.5 this will halve the frequency of the sound
419+ /// lowering its pitch.
420+ /// - If you set the speed to 2 the frequency will double raising the
421+ /// pitch of the sound.
422+ /// 2. **Change in the speed affect the total duration inversely**
423+ /// - If you set the speed to 0.5, the total duration will be twice as long.
424+ /// - If you set the speed to 2 the total duration will be halve of what it
425+ /// was.
424426 ///
425427 /// See [`Speed`] for details
426428 #[ inline]
0 commit comments