def collect_soundid(credit_file:str="./FREESOUNDCREDITS.txt")->list:
    """
    parses the credits from the UrbanSound dataset in the file FREESOUNDCREDITS.txt
    and returns the sound_id values as list
    """

    skip_lines = 6  # number of lines to skip
    id_list = list()
    with open(credit_file, 'r') as fid:
        for index, line in enumerate(fid):
            # skip the first header lines
            if index <= skip_lines:
                continue
            # format of parsed_line is [soundid, "by", username]
            parsed_line = line.strip().split()
            soundid = parsed_line[0]
            #check the value is  what we expect
            assert int(soundid), "sounid is not string of integer"
            id_list.append(soundid)
    return id_list