AnalogTapeModel

Physical modelling signal processing for analog tape recording
Log | Files | Refs | Submodules | README | LICENSE

commit 1dfbfd3ef40be1dc6ba408db6349ebccca4fe3e5
parent 112337652e82d6b65bb030f0a23afd8e44bf17ea
Author: jatinchowdhury18 <jatinchowdhury18@users.noreply.github.com>
Date:   Mon, 16 Nov 2020 00:23:25 -0800

Update tooltips

Diffstat:
MPlugin/Source/GUI/Assets/gui.xml | 8++++----
MPlugin/Source/GUI/OnOffManager.cpp | 2+-
MPlugin/Source/GUI/TooltipComp.cpp | 3+++
MREADME.md | 2+-
4 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/Plugin/Source/GUI/Assets/gui.xml b/Plugin/Source/GUI/Assets/gui.xml @@ -124,16 +124,16 @@ <View flex-grow="0.57" margin="0" padding="2" background-color="00000000"> <TextButton margin="0" padding="2" text="3.75" button-color="00000000" background-color="00000000" onClick="set_speed_3.75" lookAndFeel="SpeedButtonLNF" button-on-color="00000000" - name="Speed_375"/> + name="3.75 ips" tooltip="Snaps the tape speed to 3.75 inches per second."/> <TextButton text="7.5" margin="0" padding="2" button-color="00000000" background-color="00000000" onClick="set_speed_7.50" lookAndFeel="SpeedButtonLNF" button-on-color="00000000" - name="Speed_75"/> + name="7.5 ips" tooltip="Snaps the tape speed to 7.5 inches per second."/> <TextButton margin="0" padding="2" text="15" button-color="00000000" button-on-color="00000000" background-color="00000000" onClick="set_speed_15.00" lookAndFeel="SpeedButtonLNF" - name="Speed_15"/> + name="15 ips" tooltip="Snaps the tape speed to 15 inches per second."/> <TextButton margin="0" padding="2" background-color="00000000" onClick="set_speed_30.00" lookAndFeel="SpeedButtonLNF" text="30" button-color="00000000" - button-on-color="00000000" name="Speed_30"/> + button-on-color="00000000" name="30 ips" tooltip="Snaps the tape speed to 30 inches per second."/> </View> <View flex-grow="0.01" background-color="00000000"/> <PowerButton margin="0" padding="0" background-color="00000000" max-height="25" diff --git a/Plugin/Source/GUI/OnOffManager.cpp b/Plugin/Source/GUI/OnOffManager.cpp @@ -7,7 +7,7 @@ namespace { String ("ifilt_onoff"), StringArray ({ "Low Cut", "High Cut", "Makeup" }) }, { String ("hyst_onoff"), StringArray ({ "Bias", "Saturation", "Drive" }) }, { String ("tone_onoff"), StringArray ({ "Bass", "Treble", "Transition Frequency" }) }, - { String ("loss_onoff"), StringArray ({ "Gap", "Thickness", "Spacing", "Speed", "Speed_375", "Speed_75", "Speed_15", "Speed_30" }) }, + { String ("loss_onoff"), StringArray ({ "Gap", "Thickness", "Spacing", "Speed", "3.75 ips", "7.5 ips", "15 ips", "30 ips" }) }, { String ("chew_onoff"), StringArray ({ "Chew Depth", "Chew Frequency", "Chew Variance" }) }, { String ("deg_onoff"), StringArray ({ "Depth", "Amount", "Variance" }) }, { String ("flutter_onoff"), StringArray ({ "Flutter Depth", "Flutter Rate", "Wow Depth", "Wow Rate" }) }, diff --git a/Plugin/Source/GUI/TooltipComp.cpp b/Plugin/Source/GUI/TooltipComp.cpp @@ -14,6 +14,9 @@ void TooltipComponent::paint (Graphics& g) { g.fillAll (findColour (backgroundColourID)); + if (tip.isEmpty()) + return; + if (showTip.load()) { auto b = getLocalBounds(); diff --git a/README.md b/README.md @@ -2,7 +2,7 @@ [![Download Latest](https://img.shields.io/badge/download-latest-blue.svg)](https://github.com/jatinchowdhury18/AnalogTapeModel/releases/latest) [![Build Status](https://travis-ci.com/jatinchowdhury18/AnalogTapeModel.svg?token=Ub9niJrqG1Br1qaaxp7E&branch=master)](https://travis-ci.com/jatinchowdhury18/AnalogTapeModel) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-brightgreen.svg)](https://www.gnu.org/licenses/gpl-3.0) -[![Downloads](https://img.shields.io/github/downloads/jatinchowdhury18/AnalogTapeModel/total)](https://somsubhra.com/github-release-stats/?username=jatinchowdhury18&repository=AnalogTapeModel) +[![Downloads](https://img.shields.io/github/downloads/jatinchowdhury18/AnalogTapeModel/total)](https://somsubhra.com/github-release-stats/?username=jatinchowdhury18&repository=AnalogTapeModel&page=1&per_page=30) CHOW Tape Model is a physical model of an analog tape machine, implemented as an audio plugin. The physical model is described