<commit_before>import pygame
import sys
import time
from pygame.locals import *

pygame.init()
DISPLAYSURF = pygame.display.set_mode((400, 300))
pygame.display.set_caption('Sound')

while True: # main game loop
    soundObj = pygame.mixer.Sound("beep1.ogg")
    soundObj.play()
    time.sleep(1)  # 1초 동안 소리를 재생하도록 둔다.
    soundObj.stop()
    for event in pygame.event.get():
        if event.type == QUIT:
            pygame.quit()
            sys.exit()
    pygame.display.update()<commit_msg>revise sound.py to play backgoround music<commit_after>import pygame
import sys
import time
from pygame.locals import *

pygame.init()
DISPLAYSURF = pygame.display.set_mode((400, 300))
pygame.display.set_caption('Sound')
soundObj = pygame.mixer.Sound("beep1.ogg")
pygame.mixer.music.load("Shining.mp3")
pygame.mixer.music.play(-1, 0.0)

while True: # main game loop
    soundObj.play()
    pygame.mixer.music.play(-1, 0.0)
    time.sleep(1)  # 1초 동안 소리를 재생하도록 둔다.
    soundObj.stop()
    time.sleep(10)
    pygame.mixer.music.stop()
    for event in pygame.event.get():
        if event.type == QUIT:
            pygame.quit()
            sys.exit()
    pygame.display.update()
{'fraction_non_alphanumeric': 0.13395904436860068, 'fraction_numerical': 0.02303754266211604, 'mean_word_length': 3.1013986013986012, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '124186', 'n_tokens_mistral': 463, 'n_tokens_neox': 459, 'n_words': 89}