English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 07 November 2018, 21:41   #1
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
Samples copy and depack

Hey,

Chip Ram is a small room, so my question is about the best way to save memory space when using musics.

What would be the best pick ?

- Using a module containing several songs sharing the same samples. All in chipram.
- Using a module containing several songs sharing the same samples but put songs in fast ram and samples in chipram.
- Using several modules packed in fast ram and depack on the fly the needed module in chip ram.
- Using a a module containing several songs sharing the same samples but put songs in fast ram and packed samples in fast ram, depack only needed samples. This option isn't the best I guess as samples need to keep the same offsets addresses in target ram.

- May be another solution I didn't spot ?
LeCaravage is offline  
Old 07 November 2018, 22:08   #2
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Which music file format and programming language? Medplayer.library does the second option by default.
Samurai_Crow is offline  
Old 07 November 2018, 22:15   #3
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
My bad.

Protracker.
68000 Asm program.
LeCaravage is offline  
Old 07 November 2018, 22:28   #4
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
If you're targeting a flat 68000 at 7 MHz you might want to avoid realtime unpacking of samples.

FastMem players copy sections of samples from fast memory without mixing so a frame of updates for each voice are all that's in Chip RAM at once. It still comes at a price for processor time.
Samurai_Crow is offline  
Old 07 November 2018, 22:37   #5
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
Cornelian dilemma indeed.
I have to find other rooms of memory save as I don't want to restrain musician.
Thanks for the help.
LeCaravage 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
Compressing Samples phx Coders. General 33 14 October 2018 05:09
Copy Programs - X-Copy II Twinsystem & Project-D v1.0 - 2.2 Wiking67 request.Apps 0 21 June 2018 14:43
Unknown Copy-Dongle [SOLVED: Siegfried-Copy 1.9SE] TheZock support.Hardware 4 26 November 2013 00:23
Best way to get samples onto the amiga... ElectroBlaster Amiga scene 4 21 October 2012 17:13
Requester Bug when copying IPF to Standard ADF with X-Copy/Power Copy. BarryB support.WinUAE 9 17 January 2012 20:20

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:19.

Top

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