Welcome to %s forums

BrainModular Users Forum

Login Register

Import audio with Markers (BWF)

General Discussion about whatever fits..
Post Reply
User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Import audio with Markers (BWF)

Unread post by cmodica » 25 Oct 2022, 17:35

It would be useful to be able to import into HH an audio file containing markers in order to be able to use these markers in a sampler.

Example: I put markers at specific moments of an audio file in Reaper. I then export this audio file with the Markers only option in the BWF menu.
When I import this file into an HH sampler, the markers are present.

Thank you.

Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 26 Oct 2022, 04:22

What I do is save a preset file created by a preset manager module associated with the sampler player within the same patch . This preset file contains the markers and any other informamtion contained in the patch. Then I load both the audio file into the sampler and recall or read the saved preset file. I don't think there is such a way to embed markers into audio files, Markers are created by the sampler PLAYER and are just that, markers , they are not any kind of information that can be contained within an audio file, if I'm wrong please correct me.

SylvainT
Site Admin
Posts: 494
Contact:

Unread post by SylvainT » 26 Oct 2022, 13:14

BWF looks to be able to embed markers so maybe Senso would be able to import them. Maybe we could have a look on this.
Sylvain

Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 26 Oct 2022, 23:17

Forgive my ignorance... What is BWF?

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 27 Oct 2022, 12:22

SylvainT wrote:
26 Oct 2022, 13:14
BWF looks to be able to embed markers so maybe Senso would be able to import them. Maybe we could have a look on this.
Sylvain
Yes, I think it should be an interesting improvement.
Ariajazz wrote:
26 Oct 2022, 23:17
Forgive my ignorance... What is BWF?
Ignorance is when you don't ask for information about what you don't know yet.

BWF is Broadcast Wave File.
These are metadata that are written with the wav file. This can be timecode, track name, markers, etc.
BWF data are very much used by film sound engineers, but not only. There can be very useful.

https://www.audiorecording.me/what-is-b ... r-daw.html
https://en.wikipedia.org/wiki/Broadcast_Wave_Format

In fench :
https://fr.wikipedia.org/wiki/Broadcast_Wave_Format

Have a nice day and thank you all.

Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 27 Oct 2022, 15:22

Thanks a lot for the information and link.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 28 Oct 2022, 23:28

Hi!
I did that with global arrays, that might help.

It's working but I still didn't figure out where the global arrays files are saved in my computer !
savemarkers.wkp
(131.71 KiB) Downloaded 566 times
Cheers
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 02 Nov 2022, 17:18

Hi,
I improved the patch with using some scripting.
Now .mkrs files are save along the wavefiles (makes it easier to retrieved)
enjoy !
save markers by script.pat
(35.52 KiB) Downloaded 812 times
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 02 Nov 2022, 17:44

Thank you for your work oli-lab.
I can’t test because i am far away from my studio this week.
But my question was not to export segments from Usine. But to import in an Usine sampler a wav file with markers inside it. Markers are write in the meta data of a BWF in Reapers for exemple, or an other DAW.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 03 Nov 2022, 11:44

Hi !
I know my patch doesn't answer your need, but can offer an alternative before something else comes out !

can you send a file with BWF via wetransfer so I can have look at the chunk inside it and see if it's easy to read the BWF infos ??

Cheers

Olivar
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 04 Nov 2022, 10:14

Thank you Olivar.
I will send you a bwf file as soon as i will come back to my studio, next week.
Thank you very much.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 04 Nov 2022, 12:30

Hi !
I had a look in the SDK and nothing can read the BWF data so far.
I made a BWF file with reaper and trying to localize the chunk.
so far I managed to pin point the list of markers at the end, as well as their position in samples.
Need to get some other datas as the total number of samples and I should be up and running.
Mind you it's a side project, so be patient !

Cheers
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 05 Nov 2022, 22:43

Hi,
It was raining so, I did some coding :

will be in the addon soon

not finished yet but here for you to test it.

only the markers array output is working

I'm planning to get the name of the markers, that could be handy to select markers by name

the metada output would be to read comments from the BEXT chunk (comments, originator, loudness, etc... Maybe too much work but could be interesting

tell me !

cheers
Olivar
Last edited by oli_lab on 09 Nov 2022, 22:27, edited 1 time in total.
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 07 Nov 2022, 10:47

Thank you very much Olivar.

But i can't test your patch because i am on Mac OSX. The file "Oli_Lab_BWFdata.usr-OSX64" is not in the zip package.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 07 Nov 2022, 11:44

Argh !
sorry for that,
I'll fire up the Mac mini asap

Do you use Wav or Aiff ?
so far the module only works for Wav with BWF data in it
it is differently organised chunkwise form wav to aiff and I need to make a different logarithm.


cheers
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 07 Nov 2022, 13:04

I use Wav.
thank you, very much.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 07 Nov 2022, 15:57

Ok,
it will be wave only then
I managed to get the name of the markers, if any.
the Bext chunk is not very useful, I'll skip it for now.
MAC Os version will be ready as soon as I managed to update the Mac Mini

cheers
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 09 Nov 2022, 23:13

Hi,
the BWFdata module is in the oli_lab_pack module
You need to remove the old one before downloading it
there's a demo in the examples folder.

cheers
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 14 Nov 2022, 12:33

Thank you, it works.
You are a master! Thank you so much.
This pack is a fantastic resource for HH.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 06 Dec 2022, 00:12

the BWFdata module has been updated and now it works better !
just need to update the oli_labàpack add on.

cheers
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 03 Mar 2023, 18:45

as of march the 2nd, the BWF module as been fixed, no more problem when the file has no BWF data.

please update the oli_lab_pack addon !

cheers

Olivar
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

Post Reply

Who is online

Users browsing this forum: No registered users and 94 guests