back to main SMDITools back to main


This is a set of five command-line programs to exchange samples with an SMDI compatible sampler. It works well with my A3000 sampler. Author is Olivier Doaré (nolv if you prefer) .


Here is a copy of the README file included in the distribution:



SMDI tools v0.01 - http://nolv.free.fr
######################################

This is a set of five command-line programs to exchange
samples with an SMDI compatible sampler, by Olivier Doaré.
nolv_@t_free.fr

These programs are based on the OpenSMDI library,
by Christian Nowak, chnowak_@t_web.de

Released under the GPL.

Installation:
#############

In the smditools directory, type:
make

as root, type:
make install

Note : you must have the OpenSMDI already installed


Short documentation :
#####################

smdi_gdl : get SCSI devices list
    Usage : smdi_gsl numhosts
    where numhosts is the number of scsi hosts on the system

    This program lets you obtain informations about your scsi
    chain, especially the host numer and the sampler number.
    These are asked by smdi_gsl smdi_shr smdi_snd and smdi_rcv.


smdi_gsl : get a list of samples in an smdi sampler
    Usage : smdi_gdl


smdi_shr : get detailed info of a sampleintothesampler
    Usage : smdi_shr samplenumber


smdi_rcv : receive a sample from an smdi sampler
    Usage : smdi_rcv SampleNumber
    The file is saved in wav format with the name it has
    into the sampler.


smdi_snd : send a sample to an smdi sampler
    Usage : smdi_snd WaveFile SampleName


Bash scripts
############

To use the three folowing scripts, you must have set
the SMDIHOST and SMDIID environnement variables.
Their advantage is that you do not have to enter
the host and id number at each execution.

eg: add the folowing line in your ~/.bashrc :
export SMDIHOST=0
export SMDIID=1

Use smdi_gdl to obtain info on hosts and devices


smdi_send : send a sample to an smdi sampler
    Usage : smdi_send Filename SampleName
    File can be of type aiff(needs sox), flac(needs flac),
    ogg(needs oggdec) or wav.


smdi_receive : receive a sample from an smdi sampler
    Usage : smdi_receive SampleNumber


smdi_getsamplelist : get sample list (!)


Note on devices
###############

The OpenSMDI library assumes that the SMDI devices are /dev/sg[a-n] under linux.
If this is not the case (that was mine, due to devfs i suppose), i suggest to do
a symbolic link from the sampler device to /dev/sga.

As root, this should be something like (depending on your configuration) :
ln -s /dev/scsi/host0/bus0/target0/lun0/ /dev/sga


Good luck.
And if you make some good music with your sampler feed by SMDITools, let me know!



Downloads :

Source
Source RPM
Binary RPM for Mandrake


You will need to install the OpenSMDI library :

Source
Source RPM
Binary RPM for Mandrake