Author Topic: Arkos Tracker 2 BASIC support for music and sfx  (Read 260 times)

0 Members and 1 Guest are viewing this topic.

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.186
  • Country: fr
  • Liked: 1147
  • Likes Given: 167
Arkos Tracker 2 BASIC support for music and sfx
« on: 11:50, 21 November 20 »
I know a lot of people miss having music and sound effects in their BASIC games, either because the BASIC sound commands are too complicated/limited, or simply because they are too slow for real-time.

Good news, Arkos Tracker 2 now has a player to be used directly in BASIC! It will play any AT2 song "in the background" while your program runs. As for sound effect, a simple CALL and you can play any sfx on any channel!

You can read the tutorial on how to do that here. And there is a ready-to-use DSK included in the package. No need to compile anything! Just RUN it and have fun!
Targhan/Arkos

Arkos Tracker 2.0.0 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

Offline eto

  • Supporter
  • CPC464
  • *
  • Posts: 25
  • Country: de
  • Liked: 14
  • Likes Given: 11
Re: Arkos Tracker 2 BASIC support for music and sfx
« Reply #1 on: 12:12, 24 November 20 »
Awesome! It works perfectly.

So now I have to do some sound effects in Arkos Tracker as I can no longer use the normal sound commands. I hope I manage to do that :-)

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.186
  • Country: fr
  • Liked: 1147
  • Likes Given: 167
Re: Arkos Tracker 2 BASIC support for music and sfx
« Reply #2 on: 12:27, 24 November 20 »
Great. Sfxs are easy to do in AT2, and much easier than with the SOUND Basic command :). Anyway, if you have any trouble, simply ask.
Targhan/Arkos

Arkos Tracker 2.0.0 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

Offline eto

  • Supporter
  • CPC464
  • *
  • Posts: 25
  • Country: de
  • Liked: 14
  • Likes Given: 11
Re: Arkos Tracker 2 BASIC support for music and sfx
« Reply #3 on: 02:10, 25 November 20 »
I wanted to add a toggle for music so the player can turn it off if it's annoying, but if I do that, also all sound effects will be muted.

Is that intended? What can I do to enable sound effects again after turning off[size=78%] the music?[/size]

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.186
  • Country: fr
  • Liked: 1147
  • Likes Given: 167
Re: Arkos Tracker 2 BASIC support for music and sfx
« Reply #4 on: 09:56, 25 November 20 »
As stated in the doc, the sound effects are only played along with music (the sfxs are only a "layer" above the music player). What you can do is have a second Subsong with no music (one pattern is more than enough), and play it when you don't want any music. The only drawback is that if you put the "real" music on, it will start from the beginning.
Targhan/Arkos

Arkos Tracker 2.0.0 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime