Old 12-05-2012, 10:27 PM   #1
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,187
Default Reaper libsndfile wrapper resurrected

https://code.google.com/p/reaperlibsndfilewrapper/

I did some new work on it, just to see how hard it would be to return to working on old code. This is not for end users (as there are no binaries at the moment and what the plugin does might be of quite limited use anyway), unless you like to build source code. This is mainly aimed at developers who might want some pointers on how to implement audio file format extension plugins for Reaper. Contributions also would be accepted. (To make the code more sane, fix bugs etc...)

The Visual Studio solution/project files are out of date, as I switched to using qmake and a .pro-file. This doesn't mean there's a dependency on the Qt framework. I simply prefer Qt Creator as my IDE and that requires using qmake/.pro files.
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is offline   Reply With Quote
Old 04-30-2018, 07:28 AM   #2
jackreynolds
Human being with feelings
 
Join Date: Dec 2017
Posts: 3
Default libsndfile wrapper

I realise this thread is extremely old, but is there an updated version this hanging around? I assume Mathias Kronlacher's libsnfile wrapper must use something similar.
jackreynolds is offline   Reply With Quote
Old 04-30-2018, 07:37 AM   #3
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,187
Default

Quote:
Originally Posted by jackreynolds View Post
I assume Mathias Kronlacher's libsnfile wrapper must use something similar.
His project is a fork from my project.
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is offline   Reply With Quote
Old 05-17-2018, 05:07 AM   #4
mespotine
Human being with feelings
 
Join Date: May 2017
Posts: 308
Default

Does this mean it is actually possible to implement export/import for additional file-formats as well?
mespotine is offline   Reply With Quote
Old 05-17-2018, 06:08 AM   #5
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,187
Default

Quote:
Originally Posted by mespotine View Post
Does this mean it is actually possible to implement export/import for additional file-formats as well?
Yes, Reaper allows 3rd parties to implement media file support. (PCM_source is the base class for media playback, PCM_sink is the base class for media recording/exporting.)
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is offline   Reply With Quote
Old 05-17-2018, 09:18 AM   #6
mespotine
Human being with feelings
 
Join Date: May 2017
Posts: 308
Default

Oh..great

Are there somewhere implementations, docs, resources or something, where I can see, how it is done?
I really miss m4a-export in the Windows-version of Reaper and this would allow adding that...

Last edited by mespotine; 05-17-2018 at 09:44 AM.
mespotine is offline   Reply With Quote
Old 05-17-2018, 12:31 PM   #7
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,187
Default

The Reaper extension SDK has some example projects. (The SDK is very old now, though...) :

https://www.reaper.fm/sdk/plugin/plugin.php

Also of course the plugin that is the topic of this thread shows how it can be done :

https://github.com/kronihias/reaper_libsndfilewrapper

Note that libsndfile as such has nothing to do with adding the media file supports into Reaper. The plugin under discussion in this thread just happens to use that to implement the file formats. You can use any other method that is suitable to implement the support. (Your own code, some other 3rd party library, operating system APIs...)
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.