carrien / free-speech

Analysis and plotting code for speech neuroimaging experiments.
MIT License
4 stars 5 forks source link

input arg that feeds into plot_params.show_formants #81

Closed cwnaber closed 1 year ago

cwnaber commented 1 year ago

Add new functionality to allow user to toggle formants off from the start when launching audioGUI.

This was previously requested by Robin for one of her studies (where they weren't helpful during segmentation and obscured the view of the spectrogram). I also want to use this for segmentation practice I'm setting up for new students, for similar reasons.

This change should be merged at the same time as another change to wave_viewer: https://github.com/blab-lab/wave_viewer/pull/5

cwnaber commented 1 year ago

Carrie, please re-review.

New commit:

Testing

Note: The current fourth input param figpos could be removed and set via varargin with the new functionality. But changing the order of input args would break legacy code. I don't plan to do this right now.

cwnaber commented 1 year ago

@carrien Tested and works without parsing varargin. Please approve so I can merge.