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


from .bread_spec import STEPS_PER_TABLE
from .vendor.six.moves import range

    """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)]
        self._fx2 = [TableFX(self._song.song_data.table_cmd2, self._index, i)
                     for i in range(STEPS_PER_TABLE)]

    def __eq__(self, other):
        return self._fx1 == other._fx1 and self._fx2 == other._fx2

    @property
    def song(self):
        """the table's parent Song"""
        return self._song

    @property
    def index(self):
        """the table's index within its parent song's table of macro tables"""
        return self._index

    @property
    def fx1(self):
        """a list of the table's first effects, represented as TableFX
        objects"""

# 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


    """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)]
        self._fx2 = [TableFX(self._song.song_data.table_cmd2, self._index, i)
                     for i in range(STEPS_PER_TABLE)]

    def __eq__(self, other):
        return self._fx1 == other._fx1 and self._fx2 == other._fx2

    @property
    def song(self):
        """the table's parent Song"""
        return self._song

    @property
    def index(self):
        """the table's index within its parent song's table of macro tables"""
        return self._index

    @property
    def fx1(self):
        """a list of the table's first effects, represented as TableFX
        objects"""

        return self._fx1