playing samples on function keys
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 449 from 2006/11/16
    From: The Netherlands
    I´m looking for a program which plays samples on a keystroke.
    Multiple samples to choose from which will play with a keystroke for my summerparty to live things up.
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »05.06.25 - 17:45
    Profile
  • MorphOS Developer
    cyfm
    Posts: 544 from 2003/4/11
    From: Germany
    You can simply use the Play command that comes along with MorphOS and add a keyboard shortcut to Ambient via keyboard settings with a command like this to play a sample:

    Code:

    Play >nil: mossys:data/SoundEffects/Schooner.aiff


    Ambient_Play_Sample_20250609.png
  • »09.06.25 - 09:39
    Profile Visit Website
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2156 from 2003/2/24
    From: po-RNO
    Or if you want something fancier, it shouldn't be too hard to make a simple program, which could have an editable list of samples in a window with definable hotkeys for each sample, or something like that. I could take a look if there isn't a similar program available and you would like the idea...
    The wiki based MorphOS Library - Your starting point for MorphOS
    Software and other things made by me
  • »09.06.25 - 10:35
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 449 from 2006/11/16
    From: The Netherlands
    Thanks!
    Works for me would be nicer if I had a fancy program like you discribed.
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »09.06.25 - 16:43
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2156 from 2003/2/24
    From: po-RNO
    Would it be enough to have the samples played when the program window is active? So that hotkeys would only work inside the program, but not globally if you're using other apps?
    The wiki based MorphOS Library - Your starting point for MorphOS
    Software and other things made by me
  • »12.06.25 - 10:58
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 449 from 2006/11/16
    From: The Netherlands
    Yes that would work ok for me.
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »12.06.25 - 17:47
    Profile
  • tom
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    tom
    Posts: 148 from 2003/7/22
    From: Heesch, The Ne...
    On my Site you can find a simple Soundplayer in Beebase. Not a fancy look, but hey, it works.
    The program uses Sox as player.
    You can easily change the program to your need.
    You can find it here: https://tommaaktmuziek.nl/Beebase/Soundplayer.bbs
    Don´t forget to install Beebase first
    Let me hear when you find the program useful.

    Tom
  • »18.06.25 - 19:29
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Stevo
    Posts: 906 from 2004/1/24
    From: #AmigaZeux
    Haha, did an explanation how to use "play" in Ambient, only to read back cyfm already mentioned it :P

    [ Edited by Stevo 18.06.2025 - 21:23 ]
    ---
    http://www.iki.fi/sintonen/logs/its_only_football.txt
  • »18.06.25 - 20:18
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2156 from 2003/2/24
    From: po-RNO
    Didn't have as much time as I hoped, but here's the first test version. Made in a hurry and haven't tested it thorough, and still some ideas to implement. But as I don't have time for it in the next days, I'll share it for you now :)

    Download beta

    The wiki based MorphOS Library - Your starting point for MorphOS
    Software and other things made by me
  • »19.06.25 - 12:30
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Stevo
    Posts: 906 from 2004/1/24
    From: #AmigaZeux
    Quote:

    jPV wrote:
    Didn't have as much time as I hoped, but here's the first test version. Made in a hurry and haven't tested it thorough, and still some ideas to implement. But as I don't have time for it in the next days, I'll share it for you now :)

    Download beta




    Nice one jPV, seems to do the job well!

    EDIT: heh, just spotted weird bug: added sounds, removed them, added new sounds...and the old (previous) sounds are played instead of the listed new sounds ;)


    [ Edited by Stevo 19.06.2025 - 18:42 ]
    ---
    http://www.iki.fi/sintonen/logs/its_only_football.txt
  • »19.06.25 - 13:51
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Tcheko
    Posts: 539 from 2003/2/25
    From: France
    Quote:

    jPV wrote:
    Didn't have as much time as I hoped, but here's the first test version. Made in a hurry and haven't tested it thorough, and still some ideas to implement. But as I don't have time for it in the next days, I'll share it for you now :)

    Download beta




    Hehe, nice. :)

    Now, add big square buttons with pictures + keyboard shortcut and make a soundboard! If only we had touchscreens. :)
    Quelque soit le chemin que tu prendras dans la vie, sache que tu auras des ampoules aux pieds.
    -------
    I need to practice my Kung Fu.
  • »20.06.25 - 04:29
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 449 from 2006/11/16
    From: The Netherlands
    I just downloaded the Beta will do nicely! big thanks for everyone helping!
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »22.06.25 - 18:15
    Profile