playing samples on function keys
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 448 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: 540 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: 2155 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: 448 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: 2155 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: 448 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