code: def set_utt_pairs(aishell1_md_file, pair_list, n_src):
      # A counter
      c = 0
      # Index of the rows in the metadata file
      index = list(range(len(aishell1_md_file)))
  
      # Try to create pairs with different speakers end after 200 fails
      while len(index) >= n_src and c < 200:
          couple = random.sample(index, n_src)
          # Check that speakers are different
          speaker_list = set(
              [
                  aishell1_md_file.iloc[couple[i]]["speaker_ID"]
                  for i in range(n_src)
              ]
          )
          # If there are duplicates then increment the counter
          if len(speaker_list) != n_src:
              c += 1
          # Else append the combination to pair_list and erase the combination
          # from the available indexes
          else:
              for i in range(n_src):
                  index.remove(couple[i])
              pair_list.append(couple)
              c = 0
      return pair_list
  
imports: import argparse
  import os
  import random
  import warnings
  import numpy
  import pandas
  import pyloudnorm
  import soundfile
  from tqdm import tqdm
label_desc: Use image node_id 6 for calling a global function with example usage: set_utt_pairs(aishell1_md_file, pair_list, n_src) and returns: pair_list