Ultimate Amiga

Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Professional Forum => Topic started by: Brick Nash on October 05, 2017, 05:00:43 PM

Title: Sample volume and reading PNG files
Post by: Brick Nash on October 05, 2017, 05:00:43 PM
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!
Title: Re: Sample volume and reading PNG files
Post by: SamuraiCrow on October 05, 2017, 05:05:59 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
Title: Re: Sample volume and reading PNG files
Post by: Brick Nash on October 05, 2017, 05:14:07 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!
Title: Re: Sample volume and reading PNG files
Post by: SamuraiCrow on October 05, 2017, 07:35:21 PM
Try the OS extension sometime.  It supports AmigaOS3 if you have the patience of a C programmer.

Sent from my Prism II using Tapatalk

Title: Re: Sample volume and reading PNG files
Post by: Brick Nash on October 06, 2017, 07:49:59 AM
Thanks, I'll check it out!