Jump to content

Guiding/overseeing program

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
bluemasterflows

bluemasterflows

    Newbie

  • Members
  • Pip
  • 3 posts
Hi everybody! New poster here, and I'm looking for something special.

I'm a second year computer science major attending University, and I'm looking to extend myself beyond the limited studies I have completed so far.

What I need is a program. I would be willing to program it myself, although I have only taken Java so far, and I feel this may extremely limit me as far as the scope of what I can do. And I'm sort of hoping that what I'm looking for already exists out there. When I think about it in my head, it seems like a program that would be extremely common. So here goes.

The program is mainly to be a guiding system. What it will do is(example): Receieve input

from the internet in the form of a single file. Inside the file will be two pieces of

information, an audio file, and a text file. All I need my guiding program to do is walk

these pieces of information along a path, where they change as they go along. So imagine

the file is receieved, and it parses the file into it's two pieces, sound and text. It then

takes the sound, and shoves it into another program that enhances the volume of the sound.

The guiding program has nothing to do with the actual enhancing of the volume, it just

shoves the audio into the existing program, and then waits at the other end for the new

changed file to come out. Basically that is the whole idea of the program I need. It just

guides something along, throughout it's changes, and then when finished, it packages it up

in a file again, and ships it back through the web to it's origin.

Is there any existing program out there that could do something like I've described here?

Like I said, I would be willing to build it from scratch, but it seems like something so

common, and I feel no reason to reinvent the wheel.

Thanks for reading, and I hope some of you have an answer for me!

Ryan Gallagher


P.S- I wasn't sure where to put this as it seems to encompass a range of topics.

#2
manux

manux

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 234 posts
Hmm, what you need is to learn about network programming. I am unsure of your goal though, could you give an example of usage?

#3
bluemasterflows

bluemasterflows

    Newbie

  • Members
  • Pip
  • 3 posts
Sure, basically I want the program to act like a conveyor belt. (forget the text file for now) It would take the audio file, and move it along the conveyor belt to a station, which would then work on the audio file, and be independent of the conveyor belt. When the audio file was finished at the station, the conveyor belt would be there ready to move it along to the next station. Hope that makes it a little clearer?

For a specific example, something like this: The stations would be programs on the server. So say I wanted to convert the audio to text. The guiding program takes the audio file (for example a .wav) and converts it to text by feeding it into the speech-to-text program. Then the guiding program picks up the text output and moves it along to the next station. That's a piece of my puzzle. You think that's pretty simple?

#4
manux

manux

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 234 posts
The guiding program should just wait for the station to return something.
So for your example, the guiding program would periodically check if the speech-to-text program has generated a file, if it has, pass it to another program and remove.
That's a simple loop that checks if files exist locally or on a network at each iteration.
Afaik, it is feasible in Java without much trouble.