Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Sample volume and reading PNG files  (Read 5045 times)

0 Members and 1 Guest are viewing this topic.

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Sample volume and reading PNG files
« 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!
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Sample volume and reading PNG files
« Reply #1 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
« Last Edit: October 05, 2017, 05:12:17 PM by SamuraiCrow »
Logged

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Re: Sample volume and reading PNG files
« Reply #2 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!
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Sample volume and reading PNG files
« Reply #3 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

Logged

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Re: Sample volume and reading PNG files
« Reply #4 on: October 06, 2017, 07:49:59 AM »

Thanks, I'll check it out!
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022