Hello again! I have a question: How do you import sounds into the native program? I can't seem to find the information anywhere.
A multimedia sketchbook · By
First, ensure your sound is in the .WAV file format. Individual sound clips are limited to 10 seconds, and longer audio will be truncated during import. Decker includes a rudimentary audio recorder and editor, but if you need to perform elaborate editing I recommend using an external program like Audacity to prepare your sounds.
You can then import a sound by choosing "File -> Sounds" from the menu, clicking "New..." and then, with the Audio Editor dialog open, choosing "File -> Import Sound..."
Alternatively, you can drag-and-drop the .WAV file onto the Decker window itself, which will automatically create a new sound and import it.
One thing I've done with sound has been using Audacity to convert to mono, increase the volume, and apply some dynamic compression before importing into Decker. It helps a bit since the 8-bit sound of Decker has a much higher noise floor than normal 16-bit audio.
I haven't tried it but since the Decker audio is 8khz sample rate, it may also help using Audacity to downsample to this rate before importing as maybe it does a better job than Decker's built-in functions.
Inherently it's going to sound kinda fuzzy/degraded though since that's the nature of 8khz 8-bit audio as compared to like 44.1khz 16-bit audio.
In a script you could put the "play" commands for each sound one after the other with "sleep[play]" in between but this does have the downside of tying up the deck i.e. not super useful for background music. But I'm looking at the sound.deck in the examples and I think you may be able to get something working like this using the "on loop" event - it looks like you can pass in the next sound to play in the loop so that could be used to string together a series of sounds. I think.
Yeah, I managed to play a full song with the sleep[play] tricks , but indeed I can't interact with anything during the song...
With the loop settings, it only plays randomly, I can't figure out how to play the part one after the other. When I touch the code and remove "loop" it plays all sounds at the same time ^.^
I'll keep on trying stuff and keep you updated.