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 »

Loading bug.
Last edited by wde on Tue Apr 14, 2020 1:17 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: Wed Apr 08, 2020 6:45 pm The intended behavior is that in order to use ctrl-click, either volume or pan needs to be visible. But not both since AudioBlock does not know which envelope needs to be updated.
I see. As a user it is bit confusing that you can add points via menu but not by clicking. Anyway, is it possible to introduce a cursor-near-by-criterion ? Then you had an argument which envelope is meant? At least, you already have the time position of the cursor ;) That feature is not that important for me. It is ok as it is. Just curious.

Thanx for new version!
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: Fri Apr 10, 2020 9:02 am Anyway, is it possible to introduce a cursor-near-by-criterion ? Then you had an argument which envelope is meant? At least, you already have the time position of the cursor That feature is not that important for me. It is ok as it is. Just curious.
This is one of those things I might look into after 1.0. AudioBlock might actually need some sort of user guide.
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 »

Ok, I think it's time to release the first major version.

AudioBlock 1.0 Release Notes

AudioBlock makes it easy to work with audio files by turning patterns into audio wave tracks. Long audio files are merged with composition and played from the correct position without the need to trigger any notes.

Main features:
  • Play audio immediately from the correct position
  • Supports all audio interface sample rates
  • Supports all audio file sample rates
  • Supports all Buzz Wavetable sample formats
  • Resample audio files to sample rate used in Buzz to maximize audio quality (using libsamplerate)
  • Audio file and play position visualization both horizontally and vertically
  • Linear and curved volume and pan envelopes
  • Audio looping
  • Millisecond precise offsets
  • Drag & Drop
  • Update pattern length automatically
  • Tested on Buzz 32 bit
Short term plans: Fix bugs if found.
Longer term plans: Multi channel out, better Buzz integration, 64 bit Buzz testing (need some new managed machine APIs for some of these)

Unzip to main Buzz folder. Version 1.0.6.3



Source code below. Developed using Microsoft Visual Studio Community 2019.
Last edited by wde on Fri Jul 24, 2020 1:37 pm, edited 18 times in total.
User avatar
thOke
Posts: 343
Joined: Thu Nov 24, 2011 7:14 am

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

Post by thOke »

Great! Thank you for this very useful Buzz addon! :dance: :dance: :dance:
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 »

Awesome work. 8-)
User avatar
magmavander
Posts: 688
Joined: Tue Nov 22, 2011 5:22 pm
Location: France
Contact:

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

Post by magmavander »

Just Fantastic!! Thank you very much!!
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 »

I love the machine :!: Thank you for all the hard work you put into the WDE :D I can't wait for Multi-Out support. That will kick this amazing machine to the next level.
:dance: :dance: :dance:
8-) 8-) 8-)

See You In The Shadows…
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 »

Congrats to 1.0!

Did you deactivate drag and drop in UI? Does not accept files.
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 »

Drag and drop works from Windows file manager. I didn't enable drag and drop from Buzz Wavetable file browser to AudioBlock. Can't remember why but I can take a look.
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 »

Arrgh, sorry for that. For testing reasons I had still the "start as admin" enabled in Buzz shortcut . After disabling, GUI now accepts files from file manager again!?
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: Thu Apr 16, 2020 7:46 am Arrgh, sorry for that. For testing reasons I had still the "start as admin" enabled in Buzz shortcut . After disabling, GUI now accepts files from file manager again!?
It might be related to different security levels or privileges between applications/processes. Windows might block some user actions because of that.

Anyway, updated the zip above. You can now drag and drop from Buzz wavetable file browser.
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: Thu Apr 16, 2020 11:00 am You can now drag and drop from Buzz wavetable file browser.
Awesome! :dance:
rav
Posts: 140
Joined: Fri Sep 14, 2012 3:35 pm

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

Post by rav »

Thank you!
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 »

Cool, you did it! (dnd wavetable)

When adding >=3 points in a column the curve disappears, s. picture (only when curved), Yes, no realistic scenario but perhaps an issue ;)
AudioBlockCurve.jpg
AudioBlockCurve.jpg (93.62 KiB) Viewed 9918 times
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: Thu Apr 16, 2020 9:58 pm
When adding >=3 points in a column the curve disappears, s. picture (only when curved), Yes, no realistic scenario but perhaps an issue ;)
It's in a way spline feature and it happens when you have two points with same y axis value. And I was too lazy to do anything about it.

I tweaked the code a bit and now it's much harder to make the lines disappear :)
River Cricket
Posts: 136
Joined: Sat Dec 20, 2014 6:53 am

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

Post by River Cricket »

This is such an amazing little instrument, extremely helpful when doing "bounce-downs" (up until now I've been using Fuzzpilz Inp, but that's locked to project samplerate, and can be a bit janky).

I was wondering if it'd be possible to add support for .ogg and .flac files? Or is this a Buzz-level limitation?
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 »

River Cricket wrote: Thu Apr 30, 2020 8:18 pm This is such an amazing little instrument, extremely helpful when doing "bounce-downs" (up until now I've been using Fuzzpilz Inp, but that's locked to project samplerate, and can be a bit janky).

I was wondering if it'd be possible to add support for .ogg and .flac files? Or is this a Buzz-level limitation?
For some reason the LoadWave method in WaveTable is not loading .ogg or .flac files. However, these types are supported if you load them using the Buzz Wavetable view.

Version 1.0.1.0 now uses SoundTouch library. Note that it directly modifies the target sample in Wavetable. You can change:
  • Tempo (time stretch): Changes the sound to play at faster or slower tempo than originally without affecting the sound pitch.
  • Pitch (key) : Changes the sound pitch or key while keeping the original tempo (speed).
  • Playback Rate : Changes both tempo and pitch together as if a vinyl disc was played at different RPM rate.
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 »

1.0.2.0

Added very simple 1 step undo/redo (CTRL-Z/CTRL-Y). Makes it more fun to play around with the effects :D
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 »

Nice! :dance:
Post Reply