Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #871 : Digi-Organizer V.1
2021-10-25 11:58
DeMOSic

Registered: Aug 2021
Posts: 126
Release id #871 : Digi-Organizer V.1

How do i load samples into this? I know dirmaster must be involved but ive tried importing .raw files and .wav files (which ive compressed to 8-bit mono) and it dosent work
2021-10-25 12:53
Jammer

Registered: Nov 2002
Posts: 1289
Samples must be raw data, preconverted to 4bit IIRC.
2021-10-25 12:56
DeMOSic

Registered: Aug 2021
Posts: 126
Quote: Samples must be raw data, preconverted to 4bit IIRC.

Thanks! I will do that
2021-10-25 12:59
Krill

Registered: Apr 2002
Posts: 2821
4-bit samples, indeed, with two samples per byte, and the first sample in the upper nibble.
2021-10-25 13:02
DeMOSic

Registered: Aug 2021
Posts: 126
Quote: 4-bit samples, indeed, with two samples per byte, and the first sample in the upper nibble.

Well how do i convert into 4-bit? I know how to convert to .raw (export in mpt) but not 4bit?
2021-10-25 14:03
Krill

Registered: Apr 2002
Posts: 2821
There doesn't seem to be any audio tool outputting fewer than 8 bits of raw mono PCM audio.
So you'll have to make do with those 8-bit .raw files and truncate the samples yourself with a small tool written in the language of your choice.

Take two bytes, then merge them with something like "((A & 15) * 16) + (B & 15)".
Note that this doesn't properly round the samples nor otherwise reduce the error.
2021-10-25 14:07
DeMOSic

Registered: Aug 2021
Posts: 126
Quote: There doesn't seem to be any audio tool outputting fewer than 8 bits of raw mono PCM audio.
So you'll have to make do with those 8-bit .raw files and truncate the samples yourself with a small tool written in the language of your choice.

Take two bytes, then merge them with something like "((A & 15) * 16) + (B & 15)".
Note that this doesn't properly round the samples nor otherwise reduce the error.


Thanks! I will try to do that and ill tell you the results!
2021-10-25 14:14
chatGPZ

Registered: Dec 2001
Posts: 11089
try Konv1 and View64
2021-10-25 14:16
DeMOSic

Registered: Aug 2021
Posts: 126
Quote: try Konv1 and View64

Thanks! Will tell you the results when i get em!
2021-10-25 18:51
zzarko

Registered: Feb 2003
Posts: 65
I had a similar problem, Durandal helped me to solve it:
Sample audio on C64, how to do a better conversion?

Here is the code:
https://bitbucket.org/zzarko/c64movie/src/master/8to4bit.py
2022-02-13 14:54
DeMOSic

Registered: Aug 2021
Posts: 126
Quote: I had a similar problem, Durandal helped me to solve it:
Sample audio on C64, how to do a better conversion?

Here is the code:
https://bitbucket.org/zzarko/c64movie/src/master/8to4bit.py


Oh nice. Thanks! Well the konv1 techniue worked too
btw. Dont need to use Digi Org anymore. I Found out how to do it using THCMs THCMod tool
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Jammer
icon/The Silents, Sp..
CA$H/TRiAD
mutetus/Ald ^ Ons
TheRyk/MYD!
Mihai
Acidchild/Padua
redback
Guests online: 196
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Diskmag Editors
1 Jazzcat  (9.4)
2 Magic  (9.4)
3 hedning  (9.2)
4 Newscopy  (9.1)
5 Elwix  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.044 sec.