Skip to content

Different results with AubioPitch (time vector unit) between the Master and Dev branches #64

@liofeu

Description

@liofeu

I moved to the Dev branch to run my program and I got a difference from the Master branch when using AubioPitch : the time vector seems to be now in sample while before it was in second.

Master branch :

    file_decoder = get_processor('gst_dec')(nomFichier, start=deb, duration=duree)          
    inst_pitch = get_processor('aubio_pitch')()
    pipe = (file_decoder | inst_pitch )
    pipe.run()
    res_pitch_hz = inst_pitch.results['aubio_pitch.pitch']

    print inst_pitch.time  ####  --> in second #####

Dev branch :

    file_decoder = get_processor('file_decoder')
    decoder = file_decoder(uri=nomFichier, start=deb, duration=duree)    
    inst_pitch = get_processor('aubio_pitch')() 
    pipe = (decoder | inst_pitch)
    pipe.run()
    res_pitch_hz = inst_pitch.results['aubio_pitch.pitch']

    print inst_pitch.time  ##### --> NOT in second ####

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions