Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st April 2013, 06:03   #1  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 940
Programming but with zero experience

hypermammut.sourceforge.net/paulstretch/
by Nasca Octavian PAUL
The program is Open-Source and it's released under the version 2 of the General Public License. You can download the source code for Linux or the Windows binaries.

Last year I contacted the author of "Paul's Extreme Sound Stretch" software (AKA PaulStretch) and asked about a few suggestions. The author said that he was too busy to do any more updates to the software and that he was working on something else.

The features I requested mainly consist that (1) it remembers the last opened directory (it always opens/saves to the installed directory of the software) and that (2) if no extension is given that one gets added automatically (you have to add the extension of it just saves as a file with no extension whatsoever; auto-add .wav) and that it also (3) creates a log file of the rendering.

I looked at the source code found on the sourceforge download page and saw some nifty files.
They are mostly .cpp/.h/.fl files. (Google says that it's C++ programming language)
Looking at them through Notepad++ I can see some nifty code and strings.

All completely Greek to me.

If I wanted to try and add a couple features and recompile the program with new code, where would a good start be?
I've got a few bookmarks related to coding and programming but even all that seems Greek to me.

Would anyone be able to help me out, show me some helpful sites, or point me to some very helpful forums for novices and programming?

Software: PaulStretch
Type: Open Source
Licence: version 2 of the General Public License
Platform: Windows XP (32bit)/Windows 7 (64bit)

Feature requests:
+auto add extension if not specified for rendering
+remember last used folder (separate memory for when "opening" and for when "rendering")
+add rendering log (to separate location or same folder as output file)
+option to add [parameters] to output file name ("output [8x 12K Hann].wav")
+ability to use paulstretch as a Command Line Utility (CLI)
++allow piping from other (CLI) software

though the CLI might require much more work.

Any help or pointers to other sites are indeed welcome.
-Sparktank
__________________
Win10 (x64) build 19041
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
Sparktank is offline   Reply With Quote
Old 1st April 2013, 22:07   #2  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
you could always pay him to do the changes for you
I've had people pay me to work on one of my open source projects
dukey is offline   Reply With Quote
Old 15th April 2013, 01:33   #3  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 940
Quote:
Originally Posted by dukey View Post
you could always pay him to do the changes for you
Unlikely. Very unlikely.
I sincerely doubt I will be able to afford anything that would provoke an update.

I've found some sites for learning C++ with tutorials (for free) so I guess I'll start from there.
__________________
Win10 (x64) build 19041
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
Sparktank is offline   Reply With Quote
Old 15th April 2013, 01:42   #4  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Start by getting your development environment installed and then building the original project. If you can do that, then you can make little minor changes and learn programming as you go. And it's a lot of fun that way. Before you know it, you are a developer!

Just my old wise guy pragmatism.

Last edited by Guest; 19th April 2013 at 01:44.
Guest is offline   Reply With Quote
Old 15th April 2013, 04:04   #5  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 940
Yeah, I've been looking at some of the free options for compilers and working environments.
I think I'll really put my nose to it next month and start from the very basics.

I've only gotten as far as typing out "Hello, world!" :P

Right now I'm (finally) tackling deinterlacing. Ick.

One (baby) step at a time~
__________________
Win10 (x64) build 19041
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
Sparktank is offline   Reply With Quote
Old 17th April 2013, 00:59   #6  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Sparktank View Post
I've only gotten as far as typing out "Hello, world!"
I think you missed my point. I'm recommending you to create the environment needed to build the application you are interested in modifying. Then go through building the application as it exists today.

This is nothing like installing some random environment and building a "Hello World".
Guest is offline   Reply With Quote
Old 17th April 2013, 03:18   #7  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 940
i got a headache. i know what you mean.
i got the same advice from other forums.

i'm done with this thread.
__________________
Win10 (x64) build 19041
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
Sparktank is offline   Reply With Quote
Old 19th April 2013, 03:55   #8  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 673
Quote:
Originally Posted by Sparktank View Post
i got a headache. i know what you mean.
i got the same advice from other forums.

i'm done with this thread.
You can use codeblocks or visual studio.
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite
Overdrive80 is offline   Reply With Quote
Old 19th April 2013, 16:51   #9  |  Link
nhakobian
Registered User
 
Join Date: Oct 2009
Location: San Francisco, CA
Posts: 99
Quote:
Originally Posted by Overdrive80 View Post
You can use codeblocks or visual studio.
Well, you have to be careful about this. Code::blocks is only a development environment, not a compiler. Visual Studio is both.

In addition, its not guaranteed that a project is going to be compatible with either without some work. A quick look at the paulstretch code looks like the win32 version was designed to be compiled for mingw32, under linux (the build script has explicit calls to wine in it).

This could be modified to attempt to build on something newer, say mingw-w64 (which would allow it to potentially be compiled as a 64-bit executable too), or another compiler. This is probably not a task for a new programmer, depending on the complexity of the code and if it uses any gcc dependent features (if you want it to run under another compiler).
nhakobian is offline   Reply With Quote
Old 19th April 2013, 23:48   #10  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 940
I've got mingw32 installed (and I think 64) but that's as far as I've gotten.
I only installed it in case I ever get as far as needing to use it.
I haven't looked at it nor updated it (if it needs any?)

But thanks for looking at the source.
I think I remember reading somewhere that Paul used linux to compile and wasn't sure of its Window stability.

I've also read up on some forums (here included) on the complexities of upgrading to 64 bit or even making it more compatible for other compiler/environments.

I think right now, just to update on the existing environment, and then maybe in the future pay Paul to upgrade(?).
But first thing's first: learning the basics and then seeing what I'm getting myself into.

Now back to other existing headaches...
__________________
Win10 (x64) build 19041
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
Sparktank is offline   Reply With Quote
Reply

Tags
audio, development, open source, programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 +1. The time now is 10:38.


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