from tkinter import*
import pygame.mixer
app = Tk()
app.title("Head First Mix")
app.geometry( '250x100+200+100')
sound_file = "50459_M_RED_Nephlimizer.wav"
mixer = pygame.mixer
mixer.init()
def track_start():
	track.play(loops = -1)
def track_stop():
	track.stop()
track = mixer.Sound(sound_file)
start_button = Button(app, command = track_start, text = "Start")
start_button.pack(side = LEFT)
stop_button = Button(app, command = track_stop, text = "Stop")
stop_button.pack(side = RIGHT)
app.mainloop()
3f6e2ad97527126a890f461669be58ad3366d161
<mask token>


def track_start():
    track.play(loops=-1)


def track_stop():
    track.stop()


<mask token>

<mask token>
app.title('Head First Mix')
app.geometry('250x100+200+100')
<mask token>
mixer.init()


def track_start():
    track.play(loops=-1)


def track_stop():
    track.stop()


<mask token>
start_button.pack(side=LEFT)
<mask token>
stop_button.pack(side=RIGHT)
app.mainloop()

<mask token>
app = Tk()
app.title('Head First Mix')
app.geometry('250x100+200+100')
sound_file = '50459_M_RED_Nephlimizer.wav'
mixer = pygame.mixer
mixer.init()


def track_start():
    track.play(loops=-1)


def track_stop():
    track.stop()


track = mixer.Sound(sound_file)
start_button = Button(app, command=track_start, text='Start')
start_button.pack(side=LEFT)
stop_button = Button(app, command=track_stop, text='Stop')
stop_button.pack(side=RIGHT)
app.mainloop()

from tkinter import *
import pygame.mixer
app = Tk()
app.title('Head First Mix')
app.geometry('250x100+200+100')
sound_file = '50459_M_RED_Nephlimizer.wav'
mixer = pygame.mixer
mixer.init()


def track_start():
    track.play(loops=-1)


def track_stop():
    track.stop()


track = mixer.Sound(sound_file)
start_button = Button(app, command=track_start, text='Start')
start_button.pack(side=LEFT)
stop_button = Button(app, command=track_stop, text='Stop')
stop_button.pack(side=RIGHT)
app.mainloop()

from tkinter import*
import pygame.mixer
app = Tk()
app.title("Head First Mix")
app.geometry( '250x100+200+100')
sound_file = "50459_M_RED_Nephlimizer.wav"
mixer = pygame.mixer
mixer.init()
def track_start():
	track.play(loops = -1)
def track_stop():
	track.stop()
track = mixer.Sound(sound_file)
start_button = Button(app, command = track_start, text = "Start")
start_button.pack(side = LEFT)
stop_button = Button(app, command = track_stop, text = "Stop")
stop_button.pack(side = RIGHT)
app.mainloop()