LyME stack overflow problems

10 views
Skip to first unread message

Vikkor

unread,
Jan 31, 2008, 11:04:29 AM1/31/08
to Sysquake
Hi,

I'm running LyME on a Palm Lifedrive and can't do anything that calls
for large arrays such as the 'audioplay' command. Something as simple
as "t=(0:7500);" will cause the error message " Data stack overflow':'
" to appear.

Is this an inherent limitation of my hardware, or can I extend the
data stack size to allow for much larger data sets?

Thanks!

Yves Piguet

unread,
Feb 13, 2008, 4:48:15 PM2/13/08
to Sysquake
Hi,
This is a limitation of Palm OS and LyME, caused by Palm OS limits
on contiguous memory chunk size. You can play more samples
by creating an array of int8 or int16. With double, 0:7500 takes
7501*8 bytes, which is roughly the limit.

To repeat samples, you can write

audioplay(samples, audioset('Repeat',n))

Hth,

Yves

Reply all
Reply to author
Forward
0 new messages