Log In  
Follow
Fettuccini
Follow

I really like that you can double click to preview a sound effect when in this view.

But any time I run the cart and come back to this view, the double click preview freezes up until I play something normally (like the currently active music segment or one of the SFX in SFX/tracker mode).

P#108178 2022-03-07 08:36

Thank you PICO-8 community!

This is my very first cart upload here to the BBS! I'm mostly making this post as a thank you to the PICO-8 community for being so informative and welcoming to people who want to learn how to make games. Between the wiki and the forums, I've been able to learn more about how to program in PICO-8 this past month than I could've imagined (this is coming from an absolute newbie).

Here's my first functioning framework for the current project I'm working towards - a rhythm game. I wanted to make this prototype with the intention of being able to easily change the BGM speed and arrow speed independently and still have the audio-visual timing be spot on. I'll likely make a newer version that showcases that functionality. For now, here's a short-and-sweet demo. Enjoy!

Cart #pagesenage-0 | 2022-02-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

Controls

  • X to start/restart the music
  • Arrow keys to hit the notes
P#107729 2022-02-27 06:56 ( Edited 2022-02-27 08:40)

Hello! I've recently been trying to learn as much as I can about audio manipulation in PICO-8 lately, and recently found out about the \a control code.

You denote it with \a and can optionally follow it up with i and 0-7 to choose which instrument will be used:

print("\ai5ceg") --plays a c major triad using instrument 5

What I'm wanting to do is play a custom SFX instrument using this control code, but from what I've tried so far, it doesn't seem to be possible.

The first thing I tried was putting unique patterns in the first 8 SFX slots and testing with i 8-f (8-15) in the control code to see if any of them play, but it just seems to loop back to the standard waveforms 0-7.
The second thing I tried was toggling SFX Instruments: ON in SFX slot 8 and then specifically have the control code play from SFX slot 8

print("\a8i5ceg") -- c major triad in SFX slot 8

I'm sure it's probably just a limitation of this particular method of playing audio, especially considering no documentation of this control code mentions custom SFX instruments, but If anyone has any insight on this, or other methods of adaptively playing custom SFX, it would be much appreciated.

(Long story short I'm trying to have a single custom SFX instrument that I can play adaptively in different pitches for a rising combo sound effect without using up a bunch of other SFX slots.)

P#106685 2022-02-11 05:11 ( Edited 2022-02-11 05:14)

Follow Lexaloffle:        
Generated 2022-08-07 19:24:31 | 0.052s | Q:12