Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Phase vocoder checkUnderflow()
Avatar
oneday
Member
Members
October 30, 2020 - 1:13 pm
Member Since: September 13, 2020
Forum Posts: 8
sp_UserOfflineSmall Offline

I skipped from the Ch 11 filters chapter to the Ch 20 Phase vocoder chapter. Thank you for the phase vocoder implementation, it will help immensely as a base for my project.

I was wondering about the checkUnderflow() function. It was used on the output of the filters to prevent underflow in case we had a float sink. I was wondering if this should also be on the output of the phase vocoder. It seems like it also could underflow, but I wanted to make sure before placing additional logic on every single sample.

Avatar
W Pirkle
Admin
November 3, 2020 - 7:34 am
Member Since: January 28, 2017
Forum Posts: 515
sp_UserOfflineSmall Offline

I am curious as to why the output would underflow? I can't think of a reason.

Will 

Avatar
oneday
Member
Members
November 3, 2020 - 11:20 am
Member Since: September 13, 2020
Forum Posts: 8
sp_UserOfflineSmall Offline

W Pirkle said
I am curious as to why the output would underflow? I can't think of a reason.

Will   

I guess the first scenario I was thinking is unlikely, if the input was 64-bit double and the output was going to a 32-bit float sink. I don't think any audio format is 64-bit double though.

But what if we had some 32-bit float input that had some tiny values in the time domain, then our phase modifications in the freq domain causes the synthesis to have some numbers that are even smaller and too small for 32-bit. Also, what if we started with the same and there were some rounding errors during windowing, etc that pushed the value smaller.

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
11 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

Chaes: 45

Peter: 43

TheSmile: 43

clau_ste: 39

JimmyM: 33

Gwen: 32

jim: 31

Member Stats:

Guest Posters: 1

Members: 658

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 41

Topics: 716

Posts: 2754

Newest Members:

John Fuhrman, YizAKat, studentcode, moritzsur_1, moritzsur, alehouse, Scarlett, kait, smadger, jcayetano

Moderators: W Pirkle: 515

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 515, VariableCook: 3