code: def main():
      parser = aubio_cut_parser()
      options = parser.parse_args()
      if not options.source_uri and not options.source_uri2:
          sys.stderr.write("Error: no file name given\n")
          parser.print_help()
          sys.exit(1)
      elif options.source_uri2 is not None:
          options.source_uri = options.source_uri2
  
      # analysis
      timestamps, total_frames = _cut_analyze(options)
  
      # print some info
      duration = float(total_frames) / float(options.samplerate)
      base_info = "%(source_uri)s" % {"source_uri": options.source_uri}
      base_info += " (total %(duration).2fs at %(samplerate)dHz)\n" % {
          "duration": duration,
          "samplerate": options.samplerate,
      }
  
      info = "found %d timestamps in " % len(timestamps)
      info += base_info
      sys.stderr.write(info)
  
      if options.cut:
          _cut_slice(options, timestamps)
          info = "created %d slices from " % len(timestamps)
          info += base_info
          sys.stderr.write(info)
  
imports: import sys
  from aubio.cmd import AubioArgumentParser, _cut_slice
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types