Announcement

Collapse
No announcement yet.

Help with Install

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help with Install

    Could someone tell me how to proceed with installing an application from a script?
    This is the app:
    http://uazu.net/sbagen/#dl_src
    I have the folder which contains the mk script.
    Not sure how to proceed.
    e-mail turner.warren@gmail.com

    Star Cat

    #2
    Re: Help with Install

    We're not at all strict about enforcing subject-matter relevance on this Forum, StarCat, but out of common courtesy I will offer my (unsolicited) opinion that this is an unlikely source of help for the problem that you have there. Compiling source code for an application is a very generic Linux question, totally irrelevant to Kubuntu (as opposed to any other Linux distribution), and moreover, you probably need to find some pointers on "packaging for Debian" or something like that, to convert that source into a Debian package that can be installed on *buntu. I personally have no clue ....

    On the other, maybe you'll get lucky!

    Comment


      #3
      Re: Help with Install

      About SBaGen

      Install "build-essential"
      informational list of build-essential packages
      This package contains an informational list of packages which are
      considered essential for building Debian packages. This package also
      depends on the packages on that list, to make it easy to have the
      build-essential packages installed.

      If you have this package installed, you only need to install whatever
      a package specifies as its build-time dependencies to build the
      package. Conversely, if you are determining what your package needs
      to build-depend on, you can always leave out the packages this
      package depends on.

      SBaGen has
      Downloads

      Available to download are:

      * Full documentation,
      =>
      2.3: Installation for Linux and other UNIX users

      Download the TGZ and unpack it somewhere. On Linux, the executable
      can be built using the little 'mk' script:

      >> ./mk
      ....

      Here:

      I have build-essential installed so after i have unpacked sbagen-1.4.4.tgz => /sbagen-1.4.4/.

      In the /sbagen-1.4.4/ directory:
      Code:
      bash mk
      That will run mk -script file and you should get "sbagen" executable.

      Here ( i'm in the /media/sda2/rog/aaa/sbagen-1.4.4/):
      Code:
      $ /media/sda2/rog/aaa/sbagen-1.4.4/sbagen -h
      SBaGen - Sequenced Binaural Beat Generator, version 1.4.4
      Copyright (c) 1999-2007 Jim Peters, http://uazu.net/, all rights
      reserved, released under the GNU GPL v2. See file COPYING.

      Usage: sbagen [options] seq-file ...
      sbagen [options] -i tone-specs ...
      sbagen [options] -p pre-programmed-sequence-specs ...

      Options: -h Display this help-text
      -Q Quiet - don't display running status
      -D Display the full interpreted sequence instead of playing it
      -i Immediate. Take the remainder of the command line to be
      tone-specifications, and play them continuously
      -p Pre-programmed sequence. Take the remainder of the command
      line to be a type and arguments, e.g. "drop 00ds+"
      -q mult Quick. Run through quickly (real time x 'mult') from the
      start time, rather than wait for real time to pass

      -r rate Select the output rate (default is 44100 Hz, or from -m)
      -b bits Select the number bits for output (8 or 16, default 16)
      -L time Select the length of time (hh:mm or hh:mm:ss) to output
      for. Default is to output forever.
      -S Output from the first tone-set in the sequence (Start),
      instead of working in real-time. Equivalent to '-q 1'.
      -E Output until the last tone-set in the sequence (End),
      instead of outputting forever.
      -T time Start at the given clock-time (hh:mm)

      -o file Output raw data to the given file instead of /dev/dsp
      -O Output raw data to the standard output
      -W Output a WAV-format file instead of raw data
      -m file Read audio data from the given file and mix it with the
      generated binaural beats; may be ogg/mp3/wav/raw format
      -M Read raw audio data from the standard input and mix it
      with the generated binaural beats (raw only)

      -R rate Select rate in Hz that frequency changes are recalculated
      (for file/pipe output only, default is 10Hz)
      -F fms Fade in/out time in ms (default 60000ms, or 1min)
      -d dev Select a different output device instead of /dev/dsp
      -c spec Compensate for low-frequency headphone roll-off; see docs

      You could drop that executable to the /usr/local/bin/

      < Linux's directory structure - 1.2 >
      < /usr/local >

      This is where you install apps and other files for use on the local machine. If your machine is a part of a network, the /usr directory may physically be on another machine and can be shared by many networked Linux workstations. On this kind of a network, the /usr/local directory contains only stuff that is not supposed to be used on many machines and is intended for use at the local machine only.

      Most likely your machine isn't a part of a network like this, but it doesn't mean that /usr/local is useless. If you find interesting apps that aren't officially a part of your distro, you should install them in /usr/local. For example, if the app would normally go to /usr/bin but it isn't a part of your distro, you should install it in /usr/local/bin instead. When you keep your own programs away from the programs that are included in your distro, you'll avoid confusion and keep things nice and clean.

      After this you could simply move to the /sbagen-1.4.4/examples/basics/ and give command:
      Code:
      sbagen prog-chakras-1.sbg
      Outputting 16-bit audio at 44100 Hz with 4 4096-sample fragments, 92 ms per fragment

      Links > FAQ: Installing from source
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: Help with Install

        Rog 131, thanks for this detailed info.

        SC

        Comment

        Working...
        X