Skip to content

Commit 06fb4e8

Browse files
Disable debug log
1 parent 8fcf4b1 commit 06fb4e8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

noteblockplayer.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package noteblockplayer
22

33
import (
4-
"fmt"
4+
// "fmt"
55
"math"
66
"sync"
77
"time"
@@ -207,10 +207,10 @@ func playSong(eh *world.EntityHandle, song *Song) {
207207
}
208208
pitch := pitchKey(note.Key)
209209
// For further enhancement: use velocity, custom pitch, and panning as needed.
210-
fmt.Printf(
210+
/* fmt.Printf(
211211
"Tick=%d Layer=%d Instr=%d Key=%d Pitch=%d Vel=%d Pan=%d\n",
212212
note.Tick, note.Layer, note.Instrument, note.Key, pitch, note.Velocity, note.Panning,
213-
)
213+
) */
214214
playSoundSelf(eh, sound.Note{
215215
Instrument: inst,
216216
Pitch: pitch,

0 commit comments

Comments
 (0)