English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 21 January 2020, 23:47   #121
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
You are right actually. I use old Adobe Audition 3 for quick sample edits and apparently it opens it incorrectly. Never occured to me before and this is why I didn't try to open it in another program. Sorry for not doing it before posting here. Now I did check it in Foobar and Audacity and they read and play the same file fine. So possibly it is AA3 issue.
no9 is offline  
Old 21 January 2020, 23:51   #122
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,710
That might actually suggest that the output .wav is quirky (f.ex. odd amount of samples in the data with no padding sample, or nonsense chunk lengths). Some programs are written to handle quirky .wavs, and others aren't.
I'll look at the .wav writer closer some day.

Last edited by 8bitbubsy; 21 January 2020 at 23:59.
8bitbubsy is offline  
Old 22 January 2020, 16:29   #123
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,710
This has now been fixed in v1.03. It was indeed related to a wrong chunk length when writing the .wav file.

https://16-bits.org/pt2.php
8bitbubsy is offline  
Old 10 March 2020, 12:23   #124
Tigerskunk
Inviyya Dude!
 
Tigerskunk's Avatar
 
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
Just want to say thank you for this amazing software, 8bitbubsy!
Tigerskunk is offline  
Old 10 March 2020, 13:01   #125
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
I missed that post and update. Thanks 8bitbubsy!
no9 is offline  
Old 02 April 2020, 14:41   #126
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
Now I found this. High pitch warning!

[ Show youtube player ]
no9 is offline  
Old 02 April 2020, 14:44   #127
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,710
Not a bug if you understand how ProTracker really works.
Non-looping samples are in fact looping after they have been played (!), the first two sample points in the data are the loop points. This is why non-looping samples have a "Replen" of 2.
8bitbubsy is offline  
Old 02 April 2020, 14:59   #128
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
I see. But this can't be reproduced in Protracker 2.3B and Melontracker on Amiga (emulated). The ones I checked. PT doesn't allow those bits to have any values.
no9 is offline  
Old 02 April 2020, 15:00   #129
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,710
Those trackers don't have the ability to hand-edit the sample data. I am in fact making sure that the first two bytes are always cleared on non-looping samples when doing other sample editing tasks. This has been thought about.
8bitbubsy is offline  
Old 02 April 2020, 15:26   #130
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
Quote:
Those trackers don't have the ability to hand-edit the sample data.
I managed to check this by using CUT command on prepared sound sample in sample editor.

So those two bits are cleared on module save in PT clone. Ok, I didn't know that. Thanks.
no9 is offline  
Old 02 April 2020, 19:22   #131
Tigerskunk
Inviyya Dude!
 
Tigerskunk's Avatar
 
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
Maybe a stupid question, but, it it possible to have the channels pan 100% like it would be on a real Amiga on the Mac OS version?

I have a bit of a problem with my music sounding so different on the real machine.
Tigerskunk is offline  
Old 02 April 2020, 19:46   #132
saimon69
J.M.D - Bedroom Musician
 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,519
Milkytracker does the hard panning if that can help
saimon69 is offline  
Old 03 April 2020, 19:27   #133
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
Quote:
Originally Posted by 8bitbubsy View Post
Those trackers don't have the ability to hand-edit the sample data. I am in fact making sure that the first two bytes are always cleared on non-looping samples when doing other sample editing tasks. This has been thought about.
On second thought - wouldn't it be better if those two bits was disabled from drawing in the first place?
no9 is offline  
Old 03 April 2020, 20:38   #134
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
Will you ever add the possibility to sample directly in PT?
spoUP is offline  
Old 30 May 2020, 17:46   #135
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,710
Quote:
Originally Posted by spoUP View Post
Will you ever add the possibility to sample directly in PT?
This was implemented some days ago.
8bitbubsy is offline  
Old 03 July 2020, 01:12   #136
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
I found this module loads incorrectly in version 1.20

Dragon's Lair by Thunder
https://amp.dascene.net/downmod.php?index=72796
no9 is offline  
Old 03 July 2020, 10:35   #137
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,710
Quote:
Originally Posted by no9 View Post
I found this module loads incorrectly in version 1.20

Dragon's Lair by Thunder
https://amp.dascene.net/downmod.php?index=72796
This song has a sample that is longer than 64kB, and it triggers a bug in the module loader. I'm fixing it now, but it will only load 65534 bytes max per sample!
8bitbubsy is offline  
Old 03 July 2020, 10:40   #138
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
Oh, I got another feature suggestion. Because I again overwrote protracker.ini file while copying files into program folder from ZIP archive. Fortunately I made this mistake in the past and now I have backup of protracker.ini in protracker.ini-backup file.

This could be solved like Wordpress does. You could store default configuration in protracker-default.ini and read it when no protracker.ini file is present. Then create protracker.ini at first start of the program.
no9 is offline  
Old 03 July 2020, 10:51   #139
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
Quote:
Originally Posted by 8bitbubsy View Post
This song has a sample that is longer than 64kB, and it triggers a bug in the module loader. I'm fixing it now, but it will only load 65534 bytes max per sample!
Ok, but there is a catch. By design Protracker didn't load samples longer than 64kB but there was a way to fool it to do so by packing samples with PowerPacker and eventually load and use them. There is not many such modules because the trick wasn't popular and probably wasn't compatible with some of the players but Protracker and Hippoplayer had no issue with that, as far I remember.

Btw. I also have much older version of your PT clone and it also loads it fine.
no9 is offline  
Old 03 July 2020, 10:53   #140
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,710
Problem fixed: https://16-bits.org/pt2.php
As said, the .MOD will still not play correctly, as sample 9 is now truncated to 65534 bytes. It fixes the rest of the samples being broken, though.

Quote:
Originally Posted by no9 View Post
Oh, I got another feature suggestion. Because I again overwrote protracker.ini file while copying files into program folder from ZIP archive. Fortunately I made this mistake in the past and now I have backup of protracker.ini in protracker.ini-backup file.

This could be solved like Wordpress does. You could store default configuration in protracker-default.ini and read it when no protracker.ini file is present. Then create protracker.ini at first start of the program.
Sorry, I don't like this idea. I tend to add new features to protracker.ini, and I want most people to see them and use them. Most people are probably not changing too much in protracker.ini anyway. Just copy over the EXE and DLL if you only want to overwrite the program.
8bitbubsy 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
SDL problem. tolkien Coders. C/C++ 10 24 March 2015 03:29
XAMOS - new cross-platform rewrite of jAMOS Mequa News 24 14 December 2012 09:49
use SDL 1.2.13 with AmyDevCpp TheDarkCoder Coders. General 3 18 August 2009 20:55
WinUAE w/SDL mangamuscle request.UAE Wishlist 8 31 January 2007 11:41
What do you know about Amiga SDL? Tolismlf Amiga scene 6 15 November 2004 18:54

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 21:59.

Top

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