original_docstring: Generates voicings for a note in a given pitch range.
  
      Returns a list of `Pitch` objects with the same name as the note that also
      fall within the voice's range.
      
docstring: Generates voicings for a note in a given pitch range.
  Returns a list of `Pitch` objects with the same name as the note that also
  fall within the voice's range.
docstring_tokens: Generates voicings for a note in a given pitch range . Returns a list of ` Pitch ` objects with the same name as the note that also fall within the voice ' s range .
code: def voiceNote(noteName, pitchRange):
      """Generates voicings for a note in a given pitch range.
  
      Returns a list of `Pitch` objects with the same name as the note that also
      fall within the voice's range.
      """
      lowerOctave = pitchRange[0].octave
      upperOctave = pitchRange[1].octave
      for octave in range(lowerOctave, upperOctave + 1):
          n = Pitch(noteName + str(octave))
          if pitchRange[0] <= n <= pitchRange[1]:
              yield n
code_tokens: def voiceNote ( noteName , pitchRange ) : lowerOctave = pitchRange [ 0 ] . octave upperOctave = pitchRange [ 1 ] . octave for octave in range ( lowerOctave , upperOctave + 1 ) : n = Pitch ( noteName + str ( octave ) ) if pitchRange [ 0 ] <= n <= pitchRange [ 1 ] : yield n
short_docstring: Generates voicings for a note in a given pitch range.
short_docstring_tokens: Generates voicings for a note in a given pitch range .
comment: """Generates voicings for a note in a given pitch range.
  
      Returns a list of `Pitch` objects with the same name as the note that also
      fall within the voice's range.
      """