Welcome, Guest. Please login or register.

Author Topic: Getting started with AHI  (Read 1987 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline jahcTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 521
    • Show only replies by jahc
    • http://wookiechat.amigarevolution.com
Getting started with AHI
« on: April 13, 2003, 04:50:49 PM »
How do you do load up a wav or iff sample from disk, then play it? I'm reading the AHI developer archive from aminet, I can't find a function that will read a sound sample from disk..
 

Offline Alkemyst

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 494
    • Show only replies by Alkemyst
Re: Getting started with AHI
« Reply #1 on: April 13, 2003, 05:06:41 PM »
AHI is not a player. its a sound system.

get ftp://de.aminet.net/pub/aminet/mus/play/Play16_1.9.lha

it can use AHI
PowerTower A1200,060/80Mhz,Heatsink&Fan,66MBRam,PowerFlyerGold,50xCDRomdrive,250Zip,2.1GB&34GB HD,internal Scandoubler & FF,19\\"Monitor,Mediator,Voodoo3-3000,PaceSolo 56k ,PortJnr2,ZEKeys-XS,SMON ,Os3.9
 

Offline DaveAE

  • Newbie
  • *
  • Join Date: Nov 2002
  • Posts: 31
    • Show only replies by DaveAE
    • http://www.audio-evolution.com
Re: Getting started with AHI
« Reply #2 on: April 13, 2003, 05:25:27 PM »
There is no such function. You would have to write code for that yourself I'm afraid.

Davy
 

Offline jahcTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 521
    • Show only replies by jahc
    • http://wookiechat.amigarevolution.com
Re: Getting started with AHI
« Reply #3 on: April 14, 2003, 04:24:36 AM »
@Alkemyst

I know its a sound system, I want to create music software.

@Davey

Well, if anyone would know, the creator of Audio Evolution would. :) Thanks for the info. Looks like I wont be able to create the program I had in mind, as I'm just a novice programmer. I was hoping the AHI system would have built in commands for loading wavs etc. Damn.

 

Offline yssing

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1517
    • Show only replies by yssing
    • http://www.yssing.org
Re: Getting started with AHI
« Reply #4 on: April 14, 2003, 07:45:49 AM »
Hi

Well as for loading WAVs, you can use lucyplay.library, just do an aminet search.
lucyplay is really easy to use.

Or, you can use on of the examples in the AHI archive, I used that for loading and playing RAW.
If you have any questions, just ask.

But I think you should look into lucyplay.library
 

Offline PiR

  • Full Member
  • ***
  • Join Date: Apr 2003
  • Posts: 148
    • Show only replies by PiR
Re: Getting started with AHI
« Reply #5 on: April 14, 2003, 12:36:29 PM »
Hi jahc

As already noted AHI is a system that is supposed to utilize the hardware for playing prepared sound.

I have to be honest, I've never done this, so I can be wrong. However I think that the best way to deal with variable input formats in very Amiga way is to use datatypes. The were supposed to do the job. And you could utilize any format if you only have apropriate datatype installed.

It would be nice if someone that used datatypes would verify this.

Good luck
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Getting started with AHI
« Reply #6 on: April 14, 2003, 01:13:13 PM »
Quote

jahc wrote:
@Alkemyst

I know its a sound system, I want to create music software.

@Davey

Well, if anyone would know, the creator of Audio Evolution would. :) Thanks for the info. Looks like I wont be able to create the program I had in mind, as I'm just a novice programmer. I was hoping the AHI system would have built in commands for loading wavs etc. Damn.



Writing Music software eh?

Here is my tip of the day: use SDL... that way you can develop and prototype on any type of machine only moving to the Amiga when you need/want to...

A Friend and myself are writing a Softsynth (Think Reason :-o ), we have started and use SDL, we develop on Windows machines but hope to make it avaible for all/most platforms which support SDL  :-D

Offline Darth_X

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 791
    • Show only replies by Darth_X
Re: Getting started with AHI
« Reply #7 on: April 14, 2003, 02:29:49 PM »
Hey Jahc! :-D

JAHC look here

Don't know if this is what you are looking for.