Main Menu

Sample volume and reading PNG files

Started by Brick Nash, 05 Oct, 2017, 06:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brick Nash

These aren't major issues, more for curiosity.

I was wondering if there was a way to manually change the volume of a sample using code? There's something called Vumeter in the manual, but its not very well explained nor does it give an example. It also talks about voices rather than samples, although in some cases I know this cam mean the same or similar things.

Also, I do most of my graphics editing in Paint Shop Pro, then save as a PNG which is then loaded up in PPAint on the Amiga side and saved as an IFF (remapped if needed). I'm just wondering why Amiga programs like Ppaint can read PNGs and Amos can't? I notice that PNG files are considerable smaller in memory size too so wouldn't it be more efficient to use them instead?

As I say, these are more for curiosity and aren't major problems but it'd be good to know. Thanks!

SamuraiCrow

#1
AmosPro predates PNG format.  Also it is Kickstart 1.3 compatible so it's incompatible with Datatypes.library and the features of Workbench 3.x for now.

Voices are the mechanisms that play samples.  Setting the volume of a voice is easy.  Setting the volume of sample data involves manipulation of the file contents.  In short, samples are software, voices are hardware that play samples.
Sent from my Prism II using Tapatalk

Brick Nash

Quote from: SamuraiCrow on 05 Oct, 2017, 06:05 PM
AmosPro predates PNG format.  Also it is Kickstart 1.3 compatible so it's incompatible with Datatypes.library and the features of Workbench 3.x for now.

Voices are the mechanisms that play samples.  Setting the volume of a voice is easy.  Setting the volume of sample data involves manipulation of the file contents.  In short, samples are software, voices are hardware that play samples.
Sent from my Prism II using Tapatalk

"For now" Sounds promising! :)

Awesome, thanks for that!

SamuraiCrow

Try the OS extension sometime.  It supports AmigaOS3 if you have the patience of a C programmer.

Sent from my Prism II using Tapatalk


Brick Nash