Program to allow Printing of Songs

Hi Joe

Thanks again!

That fixed 99% of the extra characters…it’s much, much better!

There were only 18 songs with extra stuff out of 1123 songs!

It also did not miss any MIDI files but all my songs only have 3 per song…I don’t do any fills etc

That BBM bug that certain characters in the song title cause problems has bit me a couple of times…ending up in losing all the songs in that folder after that song

I am more careful now…

Very impressive that you were able to parse the BBS files & produce the results when you don’t know their structure

The MIDI file order thing is not really important

Singular should hire you to clean up their BeatBuddy Manager

There was another thing & it’s no big deal either

There is a Program Error/Crash if you don’t point it right to the “SONGS” folder

Below is the text…

************** Exception Text **************

System.IO.FileNotFoundException: Could not find file ‘C:\Users\Kevin\Documents\BBWorkspace\user_lib\K&D BeatBuddy June2019 - Project\Config.csv’.

File name: ‘C:\Users\Kevin\Documents\BBWorkspace\user_lib\K&D BeatBuddy June2019 - Project\Config.csv’

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
Boolean checkHost)

at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

at System.IO.StreamReader…ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)

at System.IO.StreamReader…ctor(String path)

at ASW_BB_BeatsRecap.frmMain.cmdProcess_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************

mscorlib

Assembly Version: 4.0.0.0

Win32 Version: 4.8.4069.0 built by: NET48REL1LAST_B

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

Great Kevin. Glad that pretty much took care of it. I’ll trap the issue next release for if someone doesn’t pick the SONGS folder - yep currently instant punishment! Ha ha.

I too experienced that BBM bug you spoke of years ago. Yeah, oops.

Long ago, when dinosaur’s ruled the Earth, I would convert large dissimilar accounting systems often residing in systems as far apart in every aspect as possible. Documentation would be nearly non existent. So I often had to be super creative to do those kind of conversions. Things are easier now - for example, we have the light bulb… ha ha.

Kevin, if you’d like to send DM me the .bbs file for one or two of the 18 songs that still glitched, I’ll be happy to look at them. I don’t need anything else. Not sure I can’t improve it but we’ll see.

Joe

Hi Joe

Attached is a ZIP of the SONG Folder with the BBS files & your program output for that particular folder that shows the 3 songs with the extra characters

5B6905F0.zip (28.5 KB)

(Sorry, I wasn’t sure how to DM you in this forum)
Kevin

New Version - Version 5 - Choose “ASW_BB_BeatsRecap_V5.zip” from the download link.

Kevin - that was very helpful. I think the changes I just made should hopefully fix the errant characters in those files. I ran it against the ones you sent and it fixed them. There seem to be multiple termination flags for the midi file names. Let’s see how this does.

I also made it required to use the SONGS folder. Thank you very much for your help.

Good Morning Joe

VERSION 5 appears to have fixed everything
There were no more extra characters in my 1123 songs & the MIDI list seemed complete

Well done!
Now…if we could only get you to work on the BBM software too!

Kevin - that’s awesome! Thanks so much for your diligence in testing it. I wouldn’t have been able to get it cleaned up or even provide that as another feature of my program without your help and sample. I hope that enhancement is helpful to you and other BB users.

To recap -

Version 1 - this allowed for printing your entire Song list (exporting to html, text or csv format)

Version 2 - this version optionally allows you to include the drum set in your output. It also allowed for the selection of one or more song folders for output (vs all of them) or songs that include one or more drumsets that you select. (Harder to explain than use …)

Version 3 & 4 - initial implementation of option allowing you to include the song’s midi file info in output. This proved to be more challenging…

Version 5 - you can choose to optionally include midi file info in your output. You can also use this together with song folder selection or drumset selection.

Keep on Rocking in the Free World fellow BB users. I’ll post the link again to make it easier to find.

Joe

5 Likes

Thanks. This is great!! Functionality that you think would be standard with BB Manager.
Appreciate this since I used to have take screen shots of my lists.

I have been trying your program out. Awesome!!
One other thing that would complete this functionality(at least for me)…to know which part of the song each midi part was associated with. i.e intro, main, fill, transition.

5/16/20

I see that the BB Manager is now going to be open source. That sounds really good. It reminded me though - and I mentioned this before when I released the printing solution here, but as a reminder…

** Please note that this program (the printing program) probably will not work on any BB Manager version beyond the version available when I made the program. Using it on any version beyond that - I have no idea as to what would happen because it wasn’t designed for that. It was designed for the then current version.****

I may look at the open source - I’m curious, so we’ll see. Also, always make sure you have a backup of your BB directories.

Keep on Rocking in the free world

I will be trying your updates, thank you so much for your updates. I am using version two to identify the midi location info used to midi select a Sng file for forScore (HEX MSB 00, LSB 20, PChh) and Songbook Chordpro(DEC) MSB 00,LSB 32, PC

Every time I update the project with the new SNG packages I would have to update all my program links.

I created two directories at the top level which the Sng organization file organization doesn’t change unless I add it to the last listing. I then update the link affected.

You program listing in invaluable to me. I use unlimited the csv file and import it to my spreadsheet.

Thank you very much for your program.

https://docs.google.com/spreadsheets/d/1KFW-eGSqZz2LGvzZ84NI_470sQtCCjzSVo3gY56wdAc/edit?usp=sharing

Is my latest project File listing in a Google spreadsheet format.

If your able to let me know you can access

Sir - I have a question on usage of your program. I am able to run it but apparently have not figured out how to cull specific info.
As I wanted to post my songs to the BB forum with the stock beats I am using, all I was looking for was the Song Name (where I also put the BPM) and the Main DrumLoop source. I have only found a way to print ALL the info so it comes out like this:
47. Young Americans 84 -(Brushes 1.1)
FUNK- Beat 60- swung 16ths driving hats busy kick.mid
FUNK- Beat 61- swung 16ths driving ride busy kick.mid
FUNK- Fill 26- swung full kit dyn rolling triplets.mid
FUNK- Fill 52- swung groovy.mid
FUNK- Fill 32- swung full kit sparse + rolling.mid
FUNK- Fill 38- swung delicate fancy snare.mid
FUNK- Fill 44- swung full kit sync rolling triplets.mid
FUNK- Fill 58- swung straight forward sparse.mid
FUNK- Fill 55- swung sync groovy busy hats.mid
FUNK- Fill 20- swung full kit fancy.mid
FUNK- Fill 11- swung full kit sync.mid

where “FUNK 9 Swung”, the source beat name is sufficient. Advice?
Thanks

All good.
THank you

Latest Update on my spreadsheet with Default and Premium songs

1 Like

Hi
I tried to use it but this error keeps popping up image
All I want it to is give me an output of all the songs in the folder so as I can print it.
Thanks

I copy the location of the folder, paste it into my browser address bar, hit go, and print from there.
Screenshot of the browsers result and where it came from.

Check that you’ve picked the correct “Songs” directory as shown in this illustration

Thanks Joe
here is a SS of what im doing
the error box comes upalso when I run the .exe and when I hit process.

This error message is a different one than your first post.

However, in this last image - you have chosen the ‘songs’ directory in the ‘Workspace’ - it’s the Songs directory in the Current Working Set that you want.

I’m not sure how you’ve named yours. But in the default installation that’s what mine was called. Read my first post about how to pick the correct directory and about hidden directories.

The key in the error message is that it can’t fine the config.csv file which says you are in the wrong directory.