<commit_before>def drums
  6.times do
    sample :drum_heavy_kick, :rate, 0.8
    sleep 0.5
  end

  8.times do
    sample :drum_heavy_kick, :rate, 0.8
    sleep 0.125
  end
end

def snare
  sample :drum_snare_soft
  sleep 1
end

def synths
  use_synth "saw_beep"
  use_synth_defaults :amp, 0.5, :attack, 0.01, :release, 0.75, :cutoff, 130
  notes = [:F, :C, :D, :D, :G, :C, :D, :D]
  notes.each do |n|
    2.times do
      play note(n, 1)
      play note(n, 2)
      sleep 0.25

      play note(n, 2)
      play note(n, 3)
      sleep 0.25
    end
  end
end

in_thread(:synths) do
  sleep 6<commit_msg>update blue monday example to new syntax style<commit_after>define :drums do
  6.times do
    sample :drum_heavy_kick, rate: 0.8
    sleep 0.5
  end

  8.times do
    sample :drum_heavy_kick, rate: 0.8
    sleep 0.125
  end
end

define :snare do
  sample :drum_snare_soft
  sleep 1
end

define :synths do
  use_synth "saw_beep"
  use_synth_defaults amp: 0.5, attack: 0.01, release: 0.75, cutoff: 130
  notes = [:F, :C, :D, :D, :G, :C, :D, :D]
  notes.each do |n|
    2.times do
      play note(n, 1)
      play note(n, 2)
      sleep 0.25

      play note(n, 2)
      play note(n, 3)
      sleep 0.25
    end
  end
end

in_thread(:synths) do
  sleep 6
{'fraction_non_alphanumeric': 0.11403508771929824, 'fraction_numerical': 0.05741626794258373, 'mean_word_length': 2.3827493261455523, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1524242', 'n_tokens_mistral': 604, 'n_tokens_neox': 534, 'n_words': 165}