mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
watch it do: display sample waveform during recording
This commit is contained in:
parent
080c4131b7
commit
1859f378ea
2 changed files with 8 additions and 10 deletions
|
|
@ -77,7 +77,7 @@ render!(<Tui>|self:GrooveboxTui|{
|
|||
PhraseSelector::next_phrase(&self.player),
|
||||
]))),
|
||||
row!([
|
||||
Tui::split_n(false, 5,
|
||||
Tui::split_n(false, 9,
|
||||
col!([
|
||||
row!(|add|{
|
||||
if let Some(sample) = &self.sampler.mapped[note_pt] {
|
||||
|
|
@ -88,7 +88,7 @@ render!(<Tui>|self:GrooveboxTui|{
|
|||
}),
|
||||
lay!([
|
||||
Outer(Style::default().fg(TuiTheme::g(128))),
|
||||
Fill::w(Fixed::h(4, if let Some((_, sample)) = &self.sampler.recording {
|
||||
Fill::w(Fixed::h(8, if let Some((_, sample)) = &self.sampler.recording {
|
||||
SampleViewer(Some(sample.clone()))
|
||||
} else if let Some(sample) = &self.sampler.mapped[note_pt] {
|
||||
SampleViewer(Some(sample.clone()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue