<commit_before>require 'bloops'

bases = Dir["../../sounds/*.blu"]

b = Bloops.new

bases.each do |base|
  puts "** playing scale using #{base[/\w+.blu/]}"
  sound = b.load base
  b.tune sound, "c c# d eb e f f# g ab a bb b + c"
  b.play
  sleep 1 while !b.stopped?
  b.clear
end<commit_msg>add sample file<commit_after>require_relative "bloopsong"

b = BloopSong.init(200) { |b| b.sound(:SQUARE) }

SCORE = "32 + C E F# 8:A G E C - 8:A 8:F# 8:F# 8:F# 2:G"

b.play(SCORE)

{'fraction_non_alphanumeric': 0.1843220338983051, 'fraction_numerical': 0.025423728813559324, 'mean_word_length': 3.1491228070175437, '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': '2420559', 'n_tokens_mistral': 227, 'n_tokens_neox': 215, 'n_words': 61}