Logic Pro, Logic Express: Error -40 when bouncing a session or freezing a track

Sometimes when you try to freeze a track or bounce a session in Logic, a dialog appears with this alert message:

Attempt to position before start of file. Result code = -40

Logic has a maximum audio file size of 2 GB when freezing tracks or bouncing sessions. If the file to be created by the bounce or freeze operation will exceed that size, you will get this error message. In practical terms, this will only occur with very long sessions or tracks.

The actual time limit is determined by the bit depth and sample rate in use. Frozen tracks are always stored as 32-bit audio files; at a sample rate of 44.1 kHz, mono files require approximately 10 MB per minute, and stereo tracks require about 20 MB/minute. With this in mind, if you have a 44.1 kHz project and plan on freezing tracks, the time length limitation is about 200 minutes for mono tracks and 100 minutes for stereo. At higher sample rates, the time limit is reduced proportionately. For example, at 88.2 kHz, the track time limit will be half as long.

When bouncing a session to a stereo file, the time limit depends on both the sample rate and bit depth selected for the bounce. A 16-bit, 44.1 kHz stereo file requires approximately 10 MB/minute; therefore, the time limit for a bounced file in this format is about 202 minutes. If the bounce is set to 24-bit/44.1 kHz, then the time limit will be about 134 minutes. Increasing the sample rate, of course, reduces the available time.

When bouncing tracks, you can effectively double the available maximum time by setting the Stereo File Type in the Bounce Output dialog to Split (L+R). In this format, Logic writes a separate mono file for each stereo channel. Each of these files can be up to 2 GB in size; therefore, the total of the left and right channels can now be up to 4 GB.

Published Date: Oct 10, 2016