# Path: pylsdj/bread_spec.py
# STEPS_PER_TABLE = 16


from .bread_spec import STEPS_PER_TABLE
from .vendor.six.moves import range
    def command(self):
        """the effect's command"""
        return self._params.fx[self._table_index][self._fx_index]

    @command.setter
    def command(self, value):
        self._params.fx[self._table_index][self._fx_index] = value

    @property
    def value(self):
        """the command's parameter"""
        return self._params.val[self._table_index][self._fx_index]

    @value.setter
    def value(self, val):
        self._params.val[self._table_index][self._fx_index] = val

    def __eq__(self, other):
        return hasattr(other, '_params') and self._params == other._params

class Table(object):

    """Each table is a sequence of transposes, commands, and amplitude
    changes that can be applied to any channel."""

    def __init__(self, song, index):
        self._song = song
        self._index = index

        self._fx1 = [TableFX(self._song.song_data.table_cmd1, self._index, i)

# Path: pylsdj/bread_spec.py
# STEPS_PER_TABLE = 16


# Path: pylsdj/table.py
from .bread_spec import STEPS_PER_TABLE
from .vendor.six.moves import range

    def command(self):
        """the effect's command"""
        return self._params.fx[self._table_index][self._fx_index]

    @command.setter
    def command(self, value):
        self._params.fx[self._table_index][self._fx_index] = value

    @property
    def value(self):
        """the command's parameter"""
        return self._params.val[self._table_index][self._fx_index]

    @value.setter
    def value(self, val):
        self._params.val[self._table_index][self._fx_index] = val

    def __eq__(self, other):
        return hasattr(other, '_params') and self._params == other._params

class Table(object):

    """Each table is a sequence of transposes, commands, and amplitude
    changes that can be applied to any channel."""

    def __init__(self, song, index):
        self._song = song
        self._index = index

        self._fx1 = [TableFX(self._song.song_data.table_cmd1, self._index, i)

                     for i in range(STEPS_PER_TABLE)]