English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 03 September 2019, 15:35   #1
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 1,609
Protracker Bug: Help needed

I'm trying to play samples with protracker version 5.3. But when samples finish to play, some kind of rustle, noise keep running. I've uploaded in on the zone!, name sandruzzo_test.zip.

Can someone help me?

Thanks
sandruzzo is offline  
Old 03 September 2019, 16:02   #2
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 51
Posts: 1,173
Quote:
Originally Posted by sandruzzo View Post
I'm trying to play samples with protracker version 5.3. But when samples finish to play, some kind of rustle, noise keep running. I've uploaded in on the zone!, name sandruzzo_test.zip.

Can someone help me?

Thanks
Empty (null) sample must be cleared, in init part and can not be trashed by other routines. Check 0 address or begining of SFX sample, dependent how SFX sample is looped for this version.
Don_Adan is offline  
Old 03 September 2019, 17:14   #3
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 1,609
I'm using both: _mt_soundfx and _mt_playfx, but nothing
sandruzzo is offline  
Old 03 September 2019, 17:36   #4
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,484
Without looking at your example this sounds like the first two bytes of the sample are not cleared! Remember that usual Protracker players play non-looped samples by setting their length to 1 word, so only the first word is played when idle. The SFX-player does the same.
phx is offline  
Old 03 September 2019, 17:37   #5
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 1,609
Quote:
Originally Posted by phx View Post
Without looking at your example this sounds like the first two bytes of the sample are not cleared! Remember that usual Protracker players play non-looped samples by setting their length to 1 word, so only the first word is played when idle. The SFX-player does the same.
Uploaded into the zone! Named sandruzzo_test.zip. There is all. So I have to tell to the mucisian to clear first two words?
sandruzzo is offline  
Old 03 September 2019, 17:37   #6
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 51
Posts: 1,173
Quote:
Originally Posted by sandruzzo View Post
I'm using both: _mt_soundfx and _mt_playfx, but nothing
Exactly repeat sample address and repeat sample length must be set correctly. Repeat sample address must be in chip ram memory, repeat sample length must be 1. Repeat sample length must be zeroed (2 bytes equal $0000).
Don_Adan is offline  
Old 03 September 2019, 17:39   #7
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 1,609
Quote:
Originally Posted by Don_Adan View Post
Exactly repeat sample address and repeat sample length must be set correctly. Repeat sample address must be in chip ram memory, repeat sample length must be 1. Repeat sample length must be zeroed (2 bytes equal $0000).

This is ok. Chip mem, size and address well put.
sandruzzo is offline  
Old 03 September 2019, 17:45   #8
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 1,609
Ok, when I erase first 2 byte it works fine. Thanks. Sorry, but music and sfx isn't my best. Never played with them!
sandruzzo 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
ProTracker 2.3F 8bitbubsy Amiga scene 118 10 November 2019 23:50
Protracker Crash: Help needed sandruzzo Coders. Asm / Hardware 2 29 August 2019 05:37
a little help on Protracker pulselooper Amiga scene 29 21 April 2018 00:23
Bug in x64 file requester and bug in Blizzard PPC ROM filesize headkase support.WinUAE 5 26 June 2016 15:17
Protracker v1.3b Strages support.Apps 4 08 December 2013 20:59

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 05:14.


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