Please consider registering

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 sp_TopicIcon
Getting IR file names in the GUI [ConvolveIt]
No permission to create posts
May 24, 2017
2:18 pm
New Member
Forum Posts: 1
Member Since:
May 24, 2017
sp_UserOfflineSmall Offline

 Hi everyone,

I am currently working on a modified version of the ConvolveIt project which allows the user to load different Impulse Responses and switch or blend between them. I was wondering if there is a way to get the name of the loaded IR in the GUI (I can't see any dedicated member variables in the CWaveData object).


May 24, 2017
4:33 pm
W Pirkle
Forum Posts: 187
Member Since:
January 29, 2017
sp_UserOnlineSmall Online

You can do it with a small amount of work:

1) subclass CWaveData (never modify the stock objects in pluginconstants.h; these objects are updated and other objects added from time to time, and new versions of RAFX will overwrite that file (and pluginobjects.cpp) when this happens)

2) add a member variable to store the filename

3) override the function initWithUserWAVFile( ) and copy it exactly from the definition in pluginobjects.cpp

4) the OPENFILENAME structure used in GetOpenFileName( &ofn ); has a field for storing the filename, you can also get it from the file path in ofn.lpstrFile

5) set the member variable accordingly, then it will be available to use

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online: W Pirkle
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 41

Peter: 41

Frodson: 40

clau_ste: 39

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

JimmyM: 17

Member Stats:

Guest Posters: 1

Members: 495

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 511

Posts: 1966

Newest Members:

CoraDias, Edoardo, knooierd, daniel, Merril Bradshaw, BillPlunkett, Pajczur, michaelwayneharwood, RickM, rainbow wind

Moderators: W Pirkle: 187

Administrators: Tom: 66, JD Young: 80, Will Pirkle: 0, W Pirkle: 187