Need some way to line up two wav's visually

wde
Posts: 332
Joined: Sun Jan 08, 2012 9:28 am

Re: Need some way to line up two wav's visually

Post by wde »

Candle wrote: Sat Mar 07, 2020 5:17 pm In the Pattern Editor I adjust the end loop point of the project (CTRL-E) to match the end of the Audio 00 Sequence & Buzz hangs, crashes & closes with no error messages.
I think I found it.
  • Couple of potential crash issues fixed.
  • Very basic click removal when using offset.
FYI for the devs:

If IPattern.IsPlayingSolo is true or you find pattern using ISequence.PlayingPattern, IPattern.PlayPosition can still be negative. It might be that the pattern hasn't started playing yet.
Last edited by wde on Tue Mar 10, 2020 7:37 pm, edited 1 time in total.
User avatar
Candle
Posts: 296
Joined: Sun Apr 23, 2017 1:03 am
Location: Canada
Contact:

Re: Need some way to line up two wav's visually

Post by Candle »

Just tested it & it works :) No more crashes :dance: :dance: :dance:

See You In The Shadows…
User avatar
Candle
Posts: 296
Joined: Sun Apr 23, 2017 1:03 am
Location: Canada
Contact:

Re: Need some way to line up two wav's visually

Post by Candle »

This is awesome! I've been using the ConWareIII Wave Player for an eon to playback WAV files because it was the only WAV Player Machine that you could accurately start playback of a WAV file anywhere along the pattern (at the right point of the WAV file). But you had to program the ConWareIII to the given length of the WAV file. AudioBlock makes the ConWareIII obsolete! It's so much easier to use & adjusts its pattern to the WAV length automatically. WDE, this machine has made my life so much easier! Thank you :dance: :dance: :dance: :D

See You In The Shadows…
wde
Posts: 332
Joined: Sun Jan 08, 2012 9:28 am

Re: Need some way to line up two wav's visually

Post by wde »

  • Small stability improvements.
  • Draw Mono or Stereo Wave.
  • Gain is taken into account when audio is drawn.
Last edited by wde on Mon Mar 16, 2020 2:25 pm, edited 2 times in total.
User avatar
IXix
Posts: 1113
Joined: Wed Nov 23, 2011 3:24 pm

Re: Need some way to line up two wav's visually

Post by IXix »

Churning them out faster than I can test them! :dance:
User avatar
Candle
Posts: 296
Joined: Sun Apr 23, 2017 1:03 am
Location: Canada
Contact:

Re: Need some way to line up two wav's visually

Post by Candle »

Awesome stuff WDE! 8-)

See You In The Shadows…
wde
Posts: 332
Joined: Sun Jan 08, 2012 9:28 am

Re: Need some way to line up two wav's visually

Post by wde »

Learning how WPF graphics work so rewrote some UI parts.
  • More details in audio wave graph which means it is heavier.
  • ...however, now wave is recalculated only when it is changed and only when it is displayed. After window is displayed first time everything should be super snappy.
  • Window border cleanup.
  • Forgot to mention that right click will reset gain.
Noticed that you need to have SubTickTiming enabled in Buzz settings.
Last edited by wde on Sat Mar 14, 2020 5:09 pm, edited 1 time in total.
User avatar
HerrFornit
Posts: 435
Joined: Sat Feb 25, 2017 12:27 pm
Location: Dortmund
Contact:

Re: Need some way to line up two wav's visually

Post by HerrFornit »

Forgot to mention that right click will reset gain.
very important feature, I miss in buzz.

great wave graphic. I am used to the new sequence editor, that's why I would personally prefer horizontal aspect of the waveforms. IMHO.
Do you plan a zoom and visual precise alignment (according to the original threat title ;) )
wde
Posts: 332
Joined: Sun Jan 08, 2012 9:28 am

Re: Need some way to line up two wav's visually

Post by wde »

HerrFornit wrote: Sat Mar 14, 2020 1:46 pm I am used to the new sequence editor, that's why I would personally prefer horizontal aspect of the waveforms. IMHO.
Do you plan a zoom and visual precise alignment (according to the original threat title )
Maybe at some point. Horizontal alignment is easy, zoom is totally doable -- maybe separate window rather than popup like currently. Not sure if this detailed audio tuning would still be better done in separate editor application or even in Wavetable? Anyways I'll think about it.

The core problem this machine is trying to solve is "how to add long audio files as part of you song project and make it convenient" and I think I'm pretty close to fix this. What I'd really love to do is to integrate wave graph somehow to sequence view. And maybe multi channel stuff ;)
  • Different combination of audio driver sample rate vs. audio file sample rate generated some issues when drawing audio. Fixed.
  • Minor optimizations.
wde
Posts: 332
Joined: Sun Jan 08, 2012 9:28 am

Re: Need some way to line up two wav's visually

Post by wde »

  • Integrated Wave view to Pattern Window
  • Horizontal audio wave alignment!
  • Zoom!
  • Edit: bug(s) fixed
  • Edit 2: Argh, another visual bug fixed. +GUI performance improvement
WaveView.png
WaveView.png (213.17 KiB) Viewed 6573 times
Last edited by wde on Tue Mar 17, 2020 2:26 pm, edited 1 time in total.
User avatar
IXix
Posts: 1113
Joined: Wed Nov 23, 2011 3:24 pm

Re: Need some way to line up two wav's visually

Post by IXix »

wde wrote: Mon Mar 16, 2020 2:28 pm
  • Integrated Wave view to Pattern Window
  • Horizontal audio wave alignment!
  • Zoom!
  • Edit: bug(s) fixed
  • Edit 2: Argh, another visual bug fixed. +GUI performance improvement
Looking good! :dance:
User avatar
HerrFornit
Posts: 435
Joined: Sat Feb 25, 2017 12:27 pm
Location: Dortmund
Contact:

Re: Need some way to line up two wav's visually

Post by HerrFornit »

The core problem this machine is trying to solve is "how to add long audio files as part of you song project and make it convenient" and I think I'm pretty close to fix this.
I totally agree :D

cool horizontal view and zoom!

minor issues:
- waveform view does appear only when audioview has been opened before drag and drop the wavfile.
- high CPU load here up to 60% (BUZZ only) since last update due to audioblock.
EDIT: hight CPU load is due to UNZ's fast render driver, sorry for blaming audioblock :D not so with Polac ASIO

Next steps? ;)
- timewindow slider below zoom?
- 'deleting pattern' via right click (as new pattern)

WOW!
User avatar
tinga
Posts: 526
Joined: Tue Nov 22, 2011 5:25 pm

Re: Need some way to line up two wav's visually

Post by tinga »

Great!! EasyRec+AudioBlock :dance: :dance:
Thank you, an easy way for audio, ergonomic and nice look.
wde
Posts: 332
Joined: Sun Jan 08, 2012 9:28 am

Re: Need some way to line up two wav's visually

Post by wde »

  • Fixes
  • Edit: More fixes
  • Delete
I'll skip the timewindow slider for now.
HerrFornit wrote: Mon Mar 16, 2020 8:30 pm EDIT: hight CPU load is due to UNZ's fast render driver, sorry for blaming audioblock not so with Polac ASIO
No worries :) Audio visuals can be heavy especially with long files. However, recalculation is done only when audio waves are displayed or visible.

Out of curiosity, has anyone ever ran out of memory with 32 bit Buzz because of long audio files? The awesome Polac adapters run in separate process so I'd imagine that loading huge VSTs is not really hurting the ability to load many long audio files into Wavetable (there is the 4GB process memory limit for 32bit apps).

Since AudioBlock is using Wavetable this could be an issue. One option (in the distant future, honestly I'm trying to avoid adding new features :lol: ) would be to just forget about Wavetable and create separate AudioManager process that loads audio files. AudioBlock would then stream the data back to Buzz audio process. Also I would not need to do all that thread locking stuff to avoid collision with Wavetable.
Last edited by wde on Thu Mar 19, 2020 7:15 am, edited 1 time in total.
User avatar
IXix
Posts: 1113
Joined: Wed Nov 23, 2011 3:24 pm

Re: Need some way to line up two wav's visually

Post by IXix »

wde wrote: Tue Mar 17, 2020 2:45 pmOne option (in the distant future, honestly I'm trying to avoid adding new features :lol: ) would be to just forget about Wavetable and create separate AudioManager process that loads audio files. AudioBlock would then stream the data back to Buzz audio process. Also I would not need to do all that thread locking stuff to avoid collision with Wavetable.
That sounds like a good idea to me. You could do direct from disk streaming then rather than load the whole wave into memory.

I've never run out of memory but I don't do anything memory intensive. That might change now though! :dance:
User avatar
Candle
Posts: 296
Joined: Sun Apr 23, 2017 1:03 am
Location: Canada
Contact:

Re: Need some way to line up two wav's visually

Post by Candle »

Just DL'd the latest version & wow - those WAV images look great. I really like the option of the horizontal or the vertical alignments so that we all can work with them in our preferred way.

To answer your question, I haven't ever run out of memory in 32 Bit Buzz - even using Audioblock with multiple WAVs. Not yet anyway…

I'm not sure how I feel about the seperate Audio Manager idea. I like using the Wavetable. If you did implement this, could you maybe make an option (using Attributes maybe?) to select one WAV imput method or the other (Audio Manager or Wavetable)? Or that might complicate things too much.

Just my 2¢'s…

Again, thank you so much for this amazing machine & your continued development!

See You In The Shadows…
wde
Posts: 332
Joined: Sun Jan 08, 2012 9:28 am

Re: Need some way to line up two wav's visually

Post by wde »

  • Minor fine tuning to the UI logic
Thanks for the feedback! For now I think wavetable is the most convenient way to deal with audio since other machines can use the data as well. I'll look into this if things change.
Last edited by wde on Thu Mar 19, 2020 6:13 pm, edited 1 time in total.
User avatar
HerrFornit
Posts: 435
Joined: Sat Feb 25, 2017 12:27 pm
Location: Dortmund
Contact:

Re: Need some way to line up two wav's visually

Post by HerrFornit »

hey thanx for new version. No bug found yet.

perhaps an automatic zooming timeline for the audioview would be helpful?
I am still thinking about that lack of buzz, that only tick/blocks are displayed. So perhaps a transformation into ticks (kind of double scale) would be helpful in some cases?
wde
Posts: 332
Joined: Sun Jan 08, 2012 9:28 am

Re: Need some way to line up two wav's visually

Post by wde »

  • Ticks and beats.
  • Scaling should not break audio anymore.
Last edited by wde on Fri Mar 20, 2020 1:02 pm, edited 1 time in total.
User avatar
HerrFornit
Posts: 435
Joined: Sat Feb 25, 2017 12:27 pm
Location: Dortmund
Contact:

Re: Need some way to line up two wav's visually

Post by HerrFornit »

wde wrote: Thu Mar 19, 2020 6:15 pm
  • Ticks and beats.
  • Scaling should not break audio anymore.
cool! :!:

May I please have an extra scale aside in seconds (0:000 or so), too ? :D
Post Reply