MUFF WIGGLER Forum Index
 FAQ & Terms of UseFAQ & Terms Of Use   Wiggler RadioMW Radio   Muff Wiggler TwitterTwitter   Support the site @ PatreonPatreon 
 SearchSearch   RegisterSign up   Log inLog in 
WIGGLING 'LITE' IN GUEST MODE

Disting v4.9: playing samples on trigger
MUFF WIGGLER Forum Index -> Expert Sleepers  
Author Disting v4.9: playing samples on trigger
wogglebug
I am trying to simply play samples on a trigger. I would like to select the sample with one of the knobs.

I tried "I-1 Audio Playback", but on module startup the sample starts playing automatically.

I set "-retriggerOnSampleChange=0" in a playlist.txt in the sample folder thinking that this might prevent the playback on startup until a trigger comes in, but it still plays the sample on startup.

Should this work? What is the correct mode to use for playing a sample on a trigger?
os
The playlist setting you want is "-loop=0".
wogglebug
I have that setting in my playlist.txt also. I tried 4.10, but get the same behavior.

This is what playlist.txt looks like:

disting playlist v1
-loop=0
-retriggerOnSampleChange=0
sample.wav

Still, in I-1 mode, when I power up the Disting, the sample starts playing automatically, even though no trigger is applied to the X input.
os
Could you actually attach the playlist file itself?
wogglebug
os wrote:
Could you actually attach the playlist file itself?


Here you go.

playlist.txt is in a folder called samples together with the file called sample.wav.
os
That's fine.

I just refreshed my memory of the code. J6 (Multisample Audio Playback) and the Dual modes will work as you expect. The others are inconsistent at the moment, for historical reasons mainly.
wogglebug
Thank you for looking at it.

I think J-8 comes closest to what I envision. Its support for adjustable crossfade, which is very handy.

It would require two changes though:

1. Make playback adhere to retriggerOnSampleChange=0, where also the INITIAL trigger on startup is ignored when the setting is 0. Nothing plays until an explicit signal comes in. That would actually be convenient for all playback modes.

2. Support a TRIGGER on X (e.g. parameter value 4 = Trigger) in addition to a Gate.
MUFF WIGGLER Forum Index -> Expert Sleepers  
Page 1 of 1
Powered by phpBB © phpBB Group