File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export class SoundService {
74
74
const tickLength = this . getTickLength ( ) ;
75
75
const offlineContext : OfflineAudioContext = new OfflineAudioContext ( 1 , 16 * 2 * tickLength * 44100 , 44100 ) ;
76
76
this . tracks . forEach ( ( track : Track ) => {
77
- let trackSteps = this . getDuplicatedTrackSteps ( track ) ;
77
+ const trackSteps = this . getDuplicatedTrackSteps ( track ) ;
78
78
trackSteps . forEach ( ( beat : boolean , i : number ) => {
79
79
if ( ! beat )
80
80
return ;
@@ -97,7 +97,7 @@ export class SoundService {
97
97
98
98
99
99
private getDuplicatedTrackSteps ( track : Track ) {
100
- let duplicatedTracks = [ ...track . steps ]
100
+ const duplicatedTracks = [ ...track . steps ]
101
101
duplicatedTracks . push ( ...track . steps ) ;
102
102
return duplicatedTracks ;
103
103
}
You can’t perform that action at this time.
0 commit comments