$Id: README,v 1.19 2007-11-20 22:34:38 ensonic Exp $

= quick info =
Please turn you browser to http://www.buzztard.org to learn what this project
is about. Buzztard is free software and distributed under the LGPL.

= intro =
The gstbml library wraps the buzz machine loader (bml) as a gstreamer plugin.

= requirements =
glib2
gstreamer
bml (BuzzmachineLoader)
  It can be found at the same location as this package. Please also read the
  README there.
  
= installing locally =
You can install this module locally too.
Use following option for ./autogen.sh or ./configure
  --prefix=/home/ensonic/buzztard
When installing the package to e.g. $HOME/buzztard remember to set these
environment options:
devhelp:
  export DEVHELP_SEARCH_PATH="$DEVHELP_SEARCH_PATH:$HOME/buzztard/share/gtk-doc/html"
pkg-config:
  export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$HOME/buzztard/lib/pkgconfig"
gstreamer
  export GST_PLUGIN_PATH="$HOME/buzztard/lib/gstreamer-0.10"

= testing =
after doing 'make install' one can check the plugins in isolation.

and then inspect one
  gst-inspect --gst-plugin-load=<path-to-plugin>/libgstbml.so <plugin-name>

when installing to the gst-path you can test with
  gst-inspect --gst-debug="*:3" bml
  gst-inspect --gst-debug="*:3" bml-SVF

try an effect
  gst-launch audiotestsrc ! audioconvert ! buffer-frames-convert ! bml-SVF ! audioconvert ! osssink
  gst-launch audiotestsrc wave=5 ! audioconvert ! bml-SVF ! audioconvert ! osssink
  gst-launch --gst-debug="*:2,bml:4" ...

  gst-launch audiotestsrc wave=5 ! audioconvert ! bml-PhatMan ! audioconvert ! osssink

  gst-launch filesrc location="./audio/test2.wav" ! wavparse ! audioconvert ! bml-SVF ! audioconvert ! wavenc ! filesink location="./audio/out.wav"

  gst-launch filesrc location="./audio/test2.raw" ! audio/x-raw-int,width=16,depth=16,rate=44100,channels=1 ! audioconvert ! bml-SVF ! audioconvert ! audio/x-raw-int,width=16,depth=16,rate=44100,channels=1 ! filesink location="./audio/out.raw"

try a generator
  gst-launch bml-DTMF-1 ! audioconvert ! audio/x-raw-int,width=16,depth=16,rate=44100,channels=1 ! filesink location="./audio/out.raw"
  gst-launch bml-DTMF-1 Dial-Number=5 Volume=254 Sustain=47 ! audioconvert ! audio/x-raw-int,width=16,depth=16,rate=44100,channels=1 ! filesink location="./audio/out_dtmf.raw"
  gst-launch bml-GoaKick Trigger=80 ! audioconvert ! alsasink
  gst-launch bml-GoaKick Trigger=80 ! audioconvert ! adder name=mix ! alsasink bml-ErsSnare Trig=200 ! audioconvert ! mix.

to playback raw samples:
  aplay -f cd -r 22050 audio/test2.raw
  aplay -f S16_LE -c 1 -r 44100 -v audio/test2.raw

