Changes to the length of bars

You can change the length of a bar so that its duration is longer or shorter.

You can change the length of a bar by changing its time signature. You can later hide the time signature, for example, if you are writing music with an irregular meter and you require barlines only to group material together, but not to imply any sense of meter.