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
Fast Convoler
Avatar
Bill
Member
Members
November 4, 2019 - 9:46 am
Member Since: October 11, 2018
Forum Posts: 8
sp_UserOfflineSmall Offline

Hello there

i'm trying to make an fft fast convoler so i can load an IR to a signal and make a simple filter with a recorded IR (no professional goals for selling etc i'm a student)

my programming skills are basic.

i bought both of the fx books primarily for that reason and they helped me a lot in understanding the plugins way of working overall and i'm pretty happy about this!!

 

but i can't quite get it ( i guess my bad)

 

so can you help me understand the code?

i mean it's gonna be easier for me to understand exactly the code of your fx book project regarding the fast convoler if i can see the connections

my problem is that as i see the code  it depends on other fx object of the vocoder. and i don't understand why.

isn't the fast convoler a smipler version of the vocoder?(in simple terms)

 

what parts are exactly those? i want to make an autonomus one.

i see the proggraming notes in the book but i get confused a lot with this cross object thing.

i know this is a part of the homework in the book but i can't just get it so i can't do it :/

 

also is the filters.h necessary?

to summ it up (because i know i can get confusing since english is not my native language, trying my best to express my mind :p)

i want to make a new project with fast fft convoler with no cross object dependancies so i can study it better and understand it. 

Avatar
W Pirkle
Admin
November 5, 2019 - 11:44 am
Member Since: January 28, 2017
Forum Posts: 358
sp_UserOfflineSmall Offline

OK, well thanks for buying the books! Do you have someone at your school that can help you with these intermediate questions? They are not bad questions (I am a teacher so no questions are bad) but you may be better off with someone there to go through the code. 

my problem is that as i see the code  it depends on other fx object of the vocoder. and i don't understand why.

isn't the fast convoler a smipler version of the vocoder?(in simple terms)

The reason the convolver uses the vocoder (which is more complex) is that 90% of the code is already there. If I created a convolver object, I would be cutting and pasting massive amounts of C++ code. Whenever I do that, I stop myself, because any bugs found, or changes made later, will need to be copied over to the other stuff. So, it uses the vocoder to do its work for it. 

If you want to make a pure-convolver without the vocoder, but without knowing much about the vocoder, I would place breakpoints in the code (as is) and watch the convolver object do its stuff, using the vocoder object for the FFT-based manipulation. Once you've stepped through the code in the debugger, you will see exactly how everything fits together. Then, you could form a new object that pulls in bits and pieces of the vocoder as needed. After making this object, you will understand why I didn't do that, and just used the vocoder. But that would be a good exercise for you (or anyone). If you have not set breakpoints and debugged live audio signal processing code before, then this will only make you more confused. If that is the case, you should find some help with debugging C++ code. 

also is the filters.h necessary?

It is necessary for sample rate conversion and is just a .h file with data tables. There are no objects or functions in it. So, you can ignore it if you want, but it doesn't matter. 

Hope that helps get you going.

Will

Forum Timezone: America/New_York

Most Users Ever Online: 78

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

TheSmile: 43

Peter: 41

clau_ste: 39

JimmyM: 33

Gwen: 32

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 575

Moderators: 1

Admins: 4

Forum Stats:

Groups: 12

Forums: 36

Topics: 593

Posts: 2366

Newest Members:

acv, Vasil992, Vasil92, dowsed, Simple, Chris_1, manyu, AdamR, Stuart, Al Calabrese

Moderators: W Pirkle: 358

Administrators: Tom: 73, JD Young: 80, Will Pirkle: 0, W Pirkle: 358