Reading Guitar Pro files - c#

I was wondering if anybody had heard of a library, preferably a .NET assembly, but Java will do as wel, that allows you to read the data in a Guitar Pro file (.gp3-gp4-gp5)
I have this gigantor of a folder with about 50.000 song files, and would really love to write something that can actually archive all these files, for easier searching. And basic information like the tuning of the instruments in the song would be very useful parameters to retrieve from the file and add to the database.
I have searched the web but have yet to find anything like this, or a file definition for writing my own parser.
Thank you in advance for any information on the subject.

TuxGuitar is an open source Java application that includes classes that read Guitar Pro files. If should be probably more that sufficient for reading basic metadata.
Your other option is using reverse-engineered file format documentation - there's one from DGuitar project.
Your third option is trying to re-use some code from KGuitar project, that also include Guitar Pro 3/4/5 files importing clasess, but it's in C++ and Qt.

Please look through my open source project that is written in C# for Windows Phone7:
http://phoneguitartab.codeplex.com/
This is tablature viewer for Windows Phone 7. It can open guitar pro (.gp3, .gp4, .gp5) and text based files (I've used open source projects in Java to create guitar pro parser in .NET). Unfortunately it isn't finish yet but I hope you find something useful in this project.
Update: GuitarPro functionality was moved into branch

Related

How to Add and update the comments for the PDF file using c#

Now I am working in the process of Insert and Update the comment for the pdf file using c# code. I want to Know the any possible way to insert a comment inside the pdf file. Anyone Know about this, Please reply and some reference for this process.
Microsoft does have very limited support for PDF in operating system APIs and it has come only recently in Windows 8 for modern applications (now called UWP) and that support doesn't go as far as updating comments.
So you need to use the 3rd party library. As far as I can tell SharpPDF is the only free library worth something, but I failed to open many PDFs in it so I can't recommend it. So I think you would need to search for some commercial library, I am aware of several of them that can do the job (e.g XfiniumPDF, iTextSharp etc) and you'll get the documentation when you license them.

How can I convert any audio file to an .ogg in C#?

I'm creating a C# winforms application in Visual Studio, and the user is going to upload any audio file that is then automatically converted to an ogg file and placed in a certain directory.
Are there any DLLs or something similar that can do this conversion? I've visited Alvas.Audio, but I'm going to be distributing this application and that's against their license.
I'm also pretty new to C# programming and pretty much taught it to myself, so I need pretty specific instructions, sorry.
Any help?

An easy path to roam files in C#

I have some text files in my project and I want their content to be available in the PC and Phone version with the same Microsoft Account.
Here is a screenshot of what I mean:
My text files in the project
The Content of the files are less than 100KBs and I believe I can use roaming, but I don't have any idea of how to do that.
Can somebody help me please?
Have a look at the Application data sample which is part of a huge set of API samples for Windows 10 on GitHub.
https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/ApplicationData

How to create SWF movie from C# application?

I'm working on C# application where I get some user input, so I'd like to save it as animation to SWF.
I searched the web for some open library to do that, but I've found only dead links. Is there any open library for that?
Thank you in advance.
If you want to create swf files. Then you will need to generate it with adobe's SDK.
http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK
And there's an open source flash editor project using java + adobe air may helps you.
http://code.google.com/p/minibuilder/
I don't know how I overlooked this project, but there is SwfDotNet.
http://sourceforge.net/projects/swfdotnet/
It seems to be almost what I need, I'll look it through tomorrow.

How convert PCL generated by HP LaserJet 5 into PDF in C#?

I need to retire 15 years old system and preserve all data. It can only print documents into specific printer HP LaserJet 5. I can print documents into PCL files and looking for ways to convert all this files into PDFs programmatically. Preferably in C#. Can anybody recommend good library or command line tool? Preferably free ;-)
The commandline tool GhostPCL (part of GhostPDL), by the same developers as Ghostscript, can convert PCL to PDF. Recent changes in their public source code repository provide a fully integrated source tree encompassing Ghostscript, GhostPCL and GhostXPS. This includes MS Visual Studio *.sln and *.vcproj files to build all or part of their products. License is GPL or commercial (commercial licenses to be obtained from Artifex):
The simplest solution I found is VeryPDF PCL Converter http://www.verypdf.com/pcltools/index.html. It has command line mode, GUI (for command line), batch mode and only cost $125. My company has been pay for it. Hope this will help somebody too.
I've used Visual Softwares pcl2pdf on several projects, it worked well for me.
We are currently using Lincoln's PCL to PDF converter. It was simple to call and provides embed into our C# application. It also provides good feedback in terms of Events when a page has been converted etc so you can even add progress bars etc.
Lincoln PCL to PDF Converter
I've used PCL to PDF for Windows and OS X which is based on GhostPCL.

Categories

Resources