[bugfix][TTS] pitch, voiced_mask, prob_voiced have the same values which is not expected.
State: closed | Pull request: yes
Labels: name: bug

# What does this PR do ?

pitch, voiced_mask, and prob_voiced are return values for the func `librosa.pyin`, but we always returned the value of `voiced_mask` after going through `load_from_dir()` no matter which one of the three variables were requested.

**Collection**: [Note which collection this PR will affect]

# Changelog 
- Add specific line by line info of high level changes in this PR.

# Usage
* You can potentially add a usage example below

```bash
(nemo) xueyang@aiapps-031622:~/workspace/NeMo$ pytest --cpu tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_save_voiced_items_if_pt_file_not_exist
A valid `test_data.tar.gz` test archive (7343147B) found in the `/home/xueyang/workspace/NeMo/tests/.data` folder.
/home/xueyang/miniconda3/envs/nemo/lib/python3.8/site-packages/apex/pyprof/__init__.py:5: FutureWarning: pyprof will be removed by the end of June, 2022
  warnings.warn("pyprof will be removed by the end of June, 2022", FutureWarning)
Setting numba compat : True
====================================================================================== test session starts ======================================================================================
platform linux -- Python 3.8.13, pytest-7.1.1, pluggy-1.0.0 -- /home/xueyang/miniconda3/envs/nemo/bin/python
cachedir: .pytest_cache
rootdir: /home/xueyang/workspace/NeMo, configfile: setup.cfg
plugins: hydra-core-1.1.1, anyio-3.6.1
collected 4 items

tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_save_voiced_items_if_pt_file_not_exist[sup_data_types0-output_indices0] PASSED                                              [ 25%]
tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_save_voiced_items_if_pt_file_not_exist[sup_data_types1-output_indices1] PASSED                                              [ 50%]
tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_save_voiced_items_if_pt_file_not_exist[sup_data_types2-output_indices2] PASSED                                              [ 75%]
tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_save_voiced_items_if_pt_file_not_exist[sup_data_types3-output_indices3] PASSED                                              [100%]

======================================================================================= slowest durations =======================================================================================
14.02s call     tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_save_voiced_items_if_pt_file_not_exist[sup_data_types0-output_indices0]
14.00s call     tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_save_voiced_items_if_pt_file_not_exist[sup_data_types3-output_indices3]
13.99s call     tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_save_voiced_items_if_pt_file_not_exist[sup_data_types2-output_indices2]
13.90s call     tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_save_voiced_items_if_pt_file_not_exist[sup_data_types1-output_indices1]

(8 durations < 0.005s hidden.  Use -vv to show these durations.)
====================================================================================== 4 passed in 57.14s =======================================================================================
```

# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
  - [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
  
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation

If you haven't finished some of the above items you can still open "Draft" PR.


## Who can review?

Anyone in the community is free to review the PR once the checks have passed. 
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.

# Additional Information
* Related to # (issue)