<commit_before># -*- encoding: utf-8 -*-
from supriya.tools import synthdeftools
from supriya.tools import ugentools


def _build_test_synthdef():

    builder = synthdeftools.SynthDefBuilder()
    builder.add_ugen(
        ugentools.Out.ar(
            source=ugentools.SinOsc.ar(),
            ),
        )
    synthdef = builder.build(name='test')
    return synthdef

test = _build_test_synthdef()

__all__ = (
    'test',
    )<commit_msg>Improved test synthdef.<commit_after># -*- encoding: utf-8 -*-
from supriya.tools import synthdeftools
from supriya.tools import ugentools


def _build_test_synthdef():
    builder = synthdeftools.SynthDefBuilder()
    builder.add_parameter('frequency', 440)
    builder.add_parameter('amplitude', 1.0, 'audio')
    sin_osc = ugentools.SinOsc.ar(frequency=builder['frequency'])
    enveloped_sin = sin_osc * builder['amplitude']
    out = ugentools.Out.ar(bus=0, source=enveloped_sin)
    builder.add_ugen(out)
    synthdef = builder.build(name='test')
    return synthdef

test = _build_test_synthdef()

__all__ = (
    'test',
    )
{'fraction_non_alphanumeric': 0.12244897959183673, 'fraction_numerical': 0.0074211502782931356, 'mean_word_length': 3.5914893617021275, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1856082', 'n_tokens_mistral': 389, 'n_tokens_neox': 368, 'n_words': 65}