Since we're requesting coders to code...

Status
Not open for further replies.
After -Triple- asked "What's a program you really wish you had but don't?" and there's now other threads coming up with people asking for little tools, I figured I'd start a thread where people can list the programs they want to see written. Maybe some code warriors could also chime in on the feasability of any request.

Anyway, here is my request:

I want a cue sheet editor for audio. It often happens that I have a live concert or mix that has several songs, but is in one mp3. The tools to determine where the trackmarkers should go simply aren't very convenient.

Simply put, I want it to display the files like an audio-editor (nice graphical waveform) and give me the option to add markers where I want them and it will then make that into a cue sheet for CDRWin or Feurio. Seeing the actual waveform is the only way to accurately place the trackmarkers.

CC
 

hanser

Ars Legatus Legionis
43,847
Subscriptor++
Maybe the ArsWare concept could be widened to encompass more than just Windows. . .

As to your own request, maybe visciouscarrot could do it?

From the original ArsWare thread by Telematx, posted by vc:
Yeah yeah.
Firstly, I wrote something which is actually incredible usefeul, and I which I use all the time. It's a thing for working out tempo matching for delays, timestretching samples &c. It converts tempo/bars/beats into milliseconds or samples, and vice versa.
 

tonymac

Ars Tribunus Militum
2,178
I would like to see a program that can take a folder full of files and split them into folders of a given size while maintaining the folder heirarchy. For example, I have all of my CDs ripped to MP3s. The main MP3 folder is ~12 gig. What I want is a utility that could be given the source folder and a destination size (ie. 700meg) and create folders MP3#1, MP3#2, ... and put as much of the heirarchy as possible into each. I don't know if I'm explaining this clearly, but there's a shareware program for the Mac that does the same thing. I haven't been able to find anything like it for Windows.

[Edit] If this does get expanded to encompass more than Win32, I have some AppleScripts that I can contribute.
 
Originally posted by tonymac:
I would like to see a program that can take a folder full of files and split them into folders of a given size while maintaining the folder heirarchy. For example, I have all of my CDs ripped to MP3s. The main MP3 folder is ~12 gig. What I want is a utility that could be given the source folder and a destination size (ie. 700meg) and create folders MP3#1, MP3#2, ... and put as much of the heirarchy as possible into each. I don't know if I'm explaining this clearly, but there's a shareware program for the Mac that does the same thing. I haven't been able to find anything like it for Windows.

[Edit] If this does get expanded to encompass more than Win32, I have some AppleScripts that I can contribute.
This sounds like an interesting concept. If I get it right, you mean you have a tree structure (the folders and subfolders) that you want to split into branches or packs of branches of equal sizes (700 MB) while cutting as close to the trunk as possible.

ie. your main mp3 folder has music1, music2, and music3. Ideally the entire music1 branch would be on a single CD. If it's to big, you put music1\subfolder1 through music1\subfolder4 on a CD, and music1\subfolder5 through music1\subfolder9 on another...etc... And if music2 and music3 fit on the same CD, you put them there.

Is that it? Cause it sounds interesting :p
 

tonymac

Ars Tribunus Militum
2,178
Too late to edit, but I was thinking that it would also be neat if this could be integrated with MrMills' hard link utility. That way a "copy" of the files could be created using hard links without modifying the actual heirarchy of data. Then after the files are burned/copied to disk, the divided set could be deleted, but the original unmodified versions would still be in the same place.
 
Too late to edit, but I was thinking that it would also be neat if this could be integrated with MrMills' hard link utility. That way a "copy" of the files could be created using hard links without modifying the actual heirarchy of data. Then after the files are burned/copied to disk, the divided set could be deleted, but the original unmodified versions would still be in the same place.
I don't think it's such a good idea. From what I know of hard links, things can get messy. I'd prefer moving or copying (being an option ideally). It's then easy to put things back the way they were: delete (if it was a copy) or move everything to the same folder (if it was moved). I'll start thinking about the algorithm behind that thing... it sounds like an interesting project.

Edit: It would also be easy to have functionnality to launch an external program for the "move, copy, or whatever" operation. You could do whatever you want then :p
 

Screndib

Ars Tribunus Militum
2,038
Is perl allowed in this? :)

I already wrote a script for myself that looks at my mp3s and grabs them randomly up to a certain set size. It probably wouldn't be hard to change it so it grabs them by folders (random or not). Now it's command line so it's not exactly graceful, but it should work on both windows and linux.

<edit>looking at the page I'm not so sure I understood what you wanted it to do. It's essentially taking a directory structure and splitting it up as evenly as possible while saving information to piece it back together properly right? If so, this isn't really like the script I wrote before, but still shouldn't be too tough. If no one else is planning on writing it with a gui, I'll look into using perl.</edit>


That grabbing of the router IP could be easy too. Maybe have it find it and put it into the clipboard? No clue how to go about grabbing the IP though, that'd be the challenging thing for me.
 

Screndib

Ars Tribunus Militum
2,038
If you're going to do it for Windows, a binary version would rock, I doubt many people have ActivePerl installed ;)

Well, they should. :p There is a non-free version of a program that compiles scripts into a binary, I'll check and see if there are any free ones.

I've still go no idea how to go about getting the IP address though. What ways are there for you to get it manually?
 

hanser

Ars Legatus Legionis
43,847
Subscriptor++
This sounds like something along DaisyMan's line.


There are many dynamic dns services out there, the most popular of which are dhs.org and dyndns.org. However, the Windows clients that detect your IP, and update their databases are either lacking, or cost money (shareware).

That was what I was trying to think of last night. An app that runs as a service on NT/2K would be excellent. :)
 

timdorr

Ars Scholae Palatinae
872
How about putting some software request functionality into arsware.org? I think it'd be great to have a central place both to find useful utilities and ideas for new ones. Plus, it'd be a breeze to set up. How about allowing users to post new ideas and have other users check off that they are working on an idea. Perhaps arsware.org should host it's own CVS? =D
 

hanser

Ars Legatus Legionis
43,847
Subscriptor++
It's not that they don't run, it's that they don't really work ;)

I was only able to get one of them to work right, and that one was shareware and stopped working, and at the time, I couldn't afford to buy it. In any case, I have a static IP (it changes maybe once every two months) now as well '” the .dyn.dhs.org could be written, but dhs differentiates between static and dynamic IPs, as does dyndns.org.


hrm. Maybe one couldn't write something to update the static IP one. You'd have to go into their site and change it there yourself.

Just a thought.
 

DaisyMan

Ars Tribunus Militum
2,135
Nah, that's not much of a problem. If you give the program your userid and password, it can be written to actually fill out the form and submit it for you (in a sense).

I'm really surprised that they don't work, though - it would seem to be a relatively easy app to write, actually, unless the dynamic DHS update protocol/system is terribly complicated (haven't looked at it).
 

froody

Ars Scholae Palatinae
1,027
I'd really love to see a file transfer client/server package that is totally stable, and supports multiple protocols, aswell as adjusting the paramaters for each different protocol, et hotline, carracho and ftp servers all have max user limits, so setting it once would set it on all, or maybe the server could have a max number of clients on all protocols.

I know there's heaps of protocols out there, but as a start, i'd like:
FTP
HTTP
Hotline
Carracho
KDX

and all blended together, multiple connections, etc etc etc to combine the best features of each protocol.

Yes i know Carracho and KDX are mac-only, but it still think it should be open source and run on anything that runs netbsd

:D :D :D
 
tonymac:

i'm not sure if this what you want, but it may point you along in the right direction.

it's possible to do what you want in unix with tar files in two different ways:

1. create a tar file of your 12 GB directory, and then pipe that through another unix program called split.

2. use GNU tar (included in GNU fileutils), which has a -M option for creating a series of tar files of a certain size.

be warned, i haven't actually tried either of these methods for quite a while. in particular you would need to read up on split and confirm that i'm not talking a load of old bollocks.

i used to use method 2 in college to bring home debian updates via sneakernet from college, as a tar archive spanned across zip disks.

perhaps somebody else already uses tar to do this everyday and can give better advice than i.

HTH.
 

kuya

Ars Scholae Palatinae
881
hmm...well it doesn't seem that difficult, but i'm too lazy and impatient (not enough hubris) to check on CPAN/write it up myself:

a shell script (perl/awk/bash) that kind of emulates a CVS build tree. i want to be able to say:

% build

from the shell and be prompted for some notes as to this current revision, then the script will edit my Makefile with the notes, update the version number (minor or major revisioN), proceed to back up my current files on the tree, pull whatever files it needs from the build tree (latest stable of course) and then run make to build the latest executable. basically something that just maintains my build trees for me.

just something simple for my simple uses.
 

stanza

Seniorius Lurkius
5
tonymac wrote:
I would like to see a program that can take a folder full of files and split them into folders of a given size

Screndib wrote
Is perl allowed in this?

I saw all this and I took it up for fun. in about two hours I hacked up this script that will look in a directory and copy all the files into folders labeled mp3_1, mp3_2, mp3_3... If you want it, you can get it here, and whoever was talking about the perl compiler has my permission to grind it into a binary.

It doesn't descend directories, it doesn't keep hierarchal structure, and it doesn't include text files for putting it all back. That's all reserved for version 2.0. I imagined it would be useful for splitting up folders small enough to put on to CD's.

This was entirely developed under linux, then I rebooted my machine, tweaked a few things after obvious things broke, then a few more tweaks. So it's not really tested under linux but should still work.

Oh, and usage: don't double click it, open up a command window and type in perl mp3split.pl -h and that will give you a bunch of options. If you don't specify another directory, it will read mp3s from the current directory and write folders in the current directory.
That's probably what would happen if you just double clicked on it, but you may want to look closer first.

By the way, maybe I'm just too much of a unix geek to live without it, but I recommend installing Perl. Made my windows life much better.
 
Originally posted by Kuya:

a shell script (perl/awk/bash) that kind of emulates a CVS build tree....

Have a look at Ant: http://jakarta.apache.org/ant/index.html

Ant's an awesome build tool that has built-in tasks for working with CVS. I don't think it's be too difficult at all to accomplish what you want. Even if it's not really suitable for this task, Ant rocks anyway. :)
 

lewis

Ars Scholae Palatinae
714
Originally posted by hanser:
As to your own request, maybe viciouscarrot could do it?

From the original ArsWare thread by Telematx, posted by vc:
Quote: "Yeah yeah.
Firstly, I wrote something which is actually incredible usefeul, and I which I use all the time. It's a thing for working out tempo matching for delays, timestretching samples &c. It converts tempo/bars/beats into milliseconds or samples, and vice versa."

Nah, that would be like, hard. My program was just a simple calculator, it didn't do anything with the audio files. I shall find it and upload it somewhere.
 
I don't know if this is even possible but it would be cool as hell if someone created a movie player that allowed you to set a frame skip or some kind of buffering that would allow slower systems to play Divx movies at a reduced quality but more smoothly.

Another idea would be to have a decent DOS(or other CLI)-based front end menuing system that could run programs and have a skinable interface in 16m colors. The best application that comes to mind would an emulator. You could have it change the background graphics according to the game or program selected. Then it would load the appropriate program/game.

[This message was edited by IpalendromeI on November 26, 2001 at 06:59.]

[This message was edited by IpalendromeI on November 26, 2001 at 07:00.]
 

zenon

Seniorius Lurkius
5
Originally posted by tonymac:

[...] What I want is a utility that could be given the source folder and a destination size (ie. 700meg) and create folders MP3#1, MP3#2, ... and put as much of the heirarchy as possible into each. I don't know if I'm explaining this clearly, but there's a shareware program for the Mac that does the same thing. I haven't been able to find anything like it for Windows.

Well, AFAIK the general problem of distributing things of different sizes into a given volume ( Knapsack problem ) is NP-complete, which in practice probably means you'll have to wait until the sun goes dark before your mp3s are distributed :rolleyes: But, hacking together a script that just starts at the top of the filelist and fills up folder after folder to a given max size should be easy Python runs at both Windows and Mac ;)
 
Status
Not open for further replies.