English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 24 January 2018, 21:34   #1
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
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)

Last edited by volvo_0ne; 26 January 2018 at 00:36. Reason: see last line
volvo_0ne is offline  
Old 24 January 2018, 22:14   #2
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
Panic over, it seems to work now after a clean reboot.

Not sure what happened.

Sorry.
volvo_0ne is offline  
Old 09 February 2018, 20:41   #3
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Strange glitch that (until the reboot).

Glad its all sorted now
Lonewolf10 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
SAM Revival issue 25 out... keeping the SAM scene alive! Quazar Retrogaming General Discussion 2 13 March 2018 00:40
Using SSCAN2 & SH10 register to repeat sprites horizontally in Blitz2 leathered Coders. Blitz Basic 1 03 June 2014 19:29
Key repeat rate commandline? Amiga1992 request.Apps 7 13 January 2014 02:15
Sam And Max Jimbo support.Apps 17 03 November 2010 17:09
key repeat rate dbain21 support.WinUAE 0 02 March 2003 14:35

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:45.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11341 seconds with 15 queries