Installing Sound-Recorder

SoundRecEd downloads as a gzip'd tar-file. To unpack:
	tar  xvfz  SoundRecEd_1.x.tgz
This creates a directory, SoundRecEd_1.x, containing the following items:
	Readme.txt	   - A descriptive test file.
	sound_recorder.c   - Source-code of Sound-Recorder.
	sound_recorder     - Executable of Sound-Recorder.
	sound_editor.c	   - Source-code of Sound-Editor.
	sound_editor       - Executable of Sound-Editor.
	makefile           - Makefile, in case you need to re-compile.
	otk_lib		   - Source-code of GUI lib.
The two programs were pre-compiled under RedHat Fedora Core-4. There is a good chance they will run on your Linux platform without needing to re-compile. Try invoking them. If you need to compile, see the one-line compilation instructions in the Readme.txt file.

Running:

You can invoke the soundRecEd tools by any of several different methods, depending on your preferences. For example, you can invoke by a desk-top icon (launcher), file-browser, or directly from the command-line.

  • Launcher Icon - In many Linux environments, you can create a desk-top icon, called a launcher by right-clicking on the screen background and selecting Create Launcher. Type in the path and name of the executable in the Command-box, or browse-to and select the respective executable. Once the launcher(s) is created, just double-click the launcher to invoke the tool.

  • File-Browser - To invoke from your file-browser, navigate to the SoundRecEd_1.x directory, and double-click on the sound_recorder or sound_editor file, respectively.

  • Command-line - To invoke from a text-window/command-line, cd into the SoundRecEd_1.x directory, and type:
    	./sound_recorder &
    Or:
    	./sound_editor &
    Respectively. Of course you could invoke them from anywhere by prefacing with the full path to the installation directory. One method is to create a simple alias in your .bashrc file, such as
    	alias sndrec="/home/bart/SoundRecEd_1.x/sound_recorder&"
    	alias snded="/home/bart/SoundRecEd_1.x/sound_editor&"
    
    Then you can just type, sndrec or snded from any directory, to bring up the sound-tools. (Will work in all future sessions. To test in current session, after editing .bashrc file in your home directory, type: source .bashrc)

    Another method is to move the executables to your /bin or /opt directories. You will need root privileges to do that. If you move the executables to the /bin directory, you might want to rename them to, for example, sndrec, and snded. Then you can just type either of those words to invoke the respective tool.
    Example:
                su
                      (answer root password)
                mv   sound_recorder   /bin/sndrec
                mv   sound_editor   /bin/snded
                exit

    If you want to use the /opt directory, you should move the whole SoundRecEd_1.x directory to /opt, as in:

    	mv SoundRecEd_1.x /opt 
    You will need root privileges to do that. Then you will need to either,
            - add /opt/SoundRecEd_1.x to your PATH (with export PATH=$PATH:/opt/SoundRecEd_1.x in your .bashrc),
            - or, create aliases, like above in your .bashrc file.



Back to:   SoundRecEd Main Page.



SourceForge.net Logo