code: def pstrip(x):
      root = re.match(
          six.text_type("([A-G][b#]*).*"), six.text_type(x)
      ).groups()[0]
  
      return librosa.note_to_midi(root)
  
imports: from copy import deepcopy
  import re
  import six
  import numpy
  import soundfile
  import jams
  import librosa
  import muda
  import pytest
  import scipy
  from contextlib import contextmanager
label_desc: Use image node_id 15 for calling a global function with example usage: pstrip(x) and returns: librosa