def get_note_type(syllables, song_db) -> list:
    """
    Function to determine the category of the syllable
    Parameters
    ----------
    syllables : str
    song_db : db

    Returns
    -------
    type_str : list
    """
    type_str = []
    for syllable in syllables:
        if syllable in song_db.motif:
            type_str.append('M')  # motif
        elif syllable in song_db.calls:
            type_str.append('C')  # call
        elif syllable in song_db.introNotes:
            type_str.append('I')  # intro notes
        else:
            type_str.append(None)  # intro notes
    return type_str