English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. AMOS (https://eab.abime.net/forumdisplay.php?f=119)
-   -   Sam Raw, Why does it repeat?? (https://eab.abime.net/showthread.php?t=90445)

volvo_0ne 24 January 2018 21:34

Sam Raw, Why does it repeat??
 
Relevant lines follow......

Reserve As Chip Data 8,50000 ;reserve some Chip Ram

Bload "0.wav",start (8) ; 0.wav is 1801 bytes long

Sample Loop Off ; I think this is only for IFF/8svx anyway

Sam Raw %1111,start (8),1801,11030 ;play the sample

This works and plays the .wav file perfectly, however it just plays it over and over forever.

I would think that it should only play once

Am I missing something?

Amiga samples are something of a mystery to me, as I never really used them before outside Trackers.

ANy pointers would be helpful.

AmosPro V2.00 running on WinUAE (config A1200+8Mb Fast)

TIA
V1

(BTW I KNOW It's a PC .wav file but the 44 byte difference from raw shouldn't cause it to repeat)

volvo_0ne 24 January 2018 22:14

Panic over, it seems to work now after a clean reboot.

Not sure what happened.

Sorry.

Lonewolf10 09 February 2018 20:41

Strange glitch that (until the reboot).

Glad its all sorted now :)


All times are GMT +2. The time now is 05:18.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04132 seconds with 11 queries