<commit_before>#! /usr/bin/python3

"""Code for the main form of this app."""

# Scripted by <NAME> | <EMAIL>
# Available in MIT license (see LICENCE)

import wavegen


class Main:
    
    def generateWave(type=wavegen.ExampleSineWave, freq=440.0, filename):
        """Generates a wave and saves it to a file"""
        
        wave = wavegen(wavegen.ExampleSineWave)
        wave.save(filename);
        # SoundPlayer player = new SoundPlayer(filePath);               
        # player.Play();
    
<commit_msg>change main according to wavegen<commit_after>#! /usr/bin/python3

"""Code for the main form of this app."""

# Scripted by <NAME> | <EMAIL>
# Available in MIT license (see LICENCE)

from wavegen import *


class Main:
    
    def generateWave(filename, type=0, freq=440.0):
        """Generates a wave and saves it to a file"""
        
        wave = wavegen()
        wave.wavegen(type, freq)
        wave.save(filename);
        # SoundPlayer player = new SoundPlayer(filePath);               
        # player.Play();
    

{'fraction_non_alphanumeric': 0.11398467432950192, 'fraction_numerical': 0.01053639846743295, 'mean_word_length': 2.4375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5137684', 'n_tokens_mistral': 330, 'n_tokens_neox': 317, 'n_words': 97}