How to connect Drumpad with Audiowaveform & Player in Front End
-
I have prepared a DrumPad but How can I connect Audio Player waveform with it? I want to change the Audio waveform of triggered samples.
Here is the Project File.Drumpad Audio Player Waveform.zip -
@Tania-Ghosh Your project doesn't contain any drum pad, just 3 buttons on the interface with no callbacks so it is a bit light to help... It is not clear, do you want to play a note with the drum pad (most common)? Why do you use an Audio Loop player? Why the waveform is connected to it? do you want to display the samples from the sampler or from the audio loop player?
A little search will surely give you tons of examples on how to connect a waveform component, and how to trigger a note with a buttonaudio waveform
https://forum.hise.audio/topic/2266/displaying-a-waveform-from-a-sampler
https://docs.hise.audio/ui-components/plugin-components/audio-waveform.html
on triggering a note
https://docs.hise.audio/scripting/scripting-api/synth/index.html#addnoteon
https://docs.hise.audio/scripting/scripting-api/synth/index.html#playnote
And examples
https://docs.hise.audio/tutorials/recipes/event-processing/index.html#press-a-button-to-play-a-note
there are even videos on this
https://www.youtube.com/watch?v=5PmEgPVsGvA&t=1336s -
@ustk Dear Sir,
I have connected 3 Buttons (Later I will replace with Image to make it Drum pad)
And I want to display the currently selected /triggrered Drumpad/button through the Audiowaveform. Like the basic Drum of Image Line FPC.
-
@Tania-Ghosh You connected it to an audio loop player, just connect it to the sampler instead and it will show the played sample.
If you have more than one sampler, which is certainly the case, then you'll have to make a waveform panel per sampler and set them visible when pressing a pad.
using only one waveform panel and changing theprocessorId
to match the sampler when pressing a pad doesn't work.
So you need as many waveform panels as there are samplers. -
@ustk Yeeeeaaa...... Now it's working..... :) very happy. Thank you.