Issues with Wave alphas
Can't seem to achieve full transparency on the background with this code, and can't seem to cause any change in the opacity of the waveform itself at all with this code. Am I doing something wrong?
on init set_ui_height_px(290) make_perfview declare ui_slider opacity (0,255) declare ui_waveform $Waveform(6,6) attach_zone ($Waveform,find_zone("Test"),0) end on on ui_control (opacity) message(opacity) set_control_par(get_ui_id($Waveform), CONTROL_PAR_WAVE_ALPHA,opacity) set_control_par(get_ui_id($Waveform), CONTROL_PAR_BG_ALPHA,opacity) end on
Comments
-
Try hiding the background as well.
0 -
thanks ED. that makes the background go up to fully transparent with the slider. It leaves the waveform there. Is there a way to make the waveform partially transparent with the slider as well without actually hiding it?
on init set_ui_height_px(290) make_perfview declare ui_slider opacity (0,255) declare ui_waveform $Waveform(6,6) attach_zone ($Waveform,find_zone("Test"),0) set_control_par(get_ui_id($Waveform), CONTROL_PAR_HIDE,HIDE_PART_BG) end on on ui_control (opacity) message(opacity) set_control_par(get_ui_id($Waveform), CONTROL_PAR_WAVE_ALPHA,opacity) set_control_par(get_ui_id($Waveform), CONTROL_PAR_BG_ALPHA,opacity) end on
0 -
I think $CONTROL_PAR_WAVE_ALPHA is only for ui_wavetable, it doesn't work for ui_waveform.
0 -
thanks for your help ED
0 -
Hi, Just wondering if you can help, I've added ui_waveform got the waveform to show and made everything hidden etc
This is a bit of a two fold question
Due to the nature of my sample there is a line through the centre on the image, it has extra space at the start so I can change the start position, I'm also using offset but it doesn't give the different start positions I require hence moving the start position as well
Is there anyway to trim the image so there's less of a line or adapt the sample image?
If not
Is the only way to deal with a starting position, by moving the start of the sample and or Offset of the sample.... or is there another way to make the start of a sample more flexible?
Thanks
Cal
0 -
There is no way to visually trim the image. It would only be trimmed if you physically trim the sample you're loading.
0
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 61 NI News
- 776 Tech Talks
- 4K Native Access
- 16.4K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.7K Kontakt
- 1.6K Reaktor
- 376 Battery 4
- 835 Guitar Rig & FX
- 425 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.7K Maschine
- 7.2K Traktor
- 7.2K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators