Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiles & Formats (Logic Pro) #24

Open
IAmVigneswaran opened this issue Dec 31, 2022 · 5 comments
Open

Profiles & Formats (Logic Pro) #24

IAmVigneswaran opened this issue Dec 31, 2022 · 5 comments
Labels
enhancement New feature or request profiles Ideas for new profiles
Milestone

Comments

@IAmVigneswaran
Copy link
Contributor

IAmVigneswaran commented Dec 31, 2022

Ability to translate FCP's Marker Metadata into Logic Pro importable/compatible Marker file.

More details will be added soon.

https://support.apple.com/en-gb/guide/logicpro/lgcpadb63ff8/mac

@IAmVigneswaran IAmVigneswaran added this to the 0.4 milestone Dec 31, 2022
@IAmVigneswaran IAmVigneswaran added the enhancement New feature or request label Dec 31, 2022
@IAmVigneswaran IAmVigneswaran added the profiles Ideas for new profiles label Jan 4, 2023
@orchetect
Copy link
Contributor

A MIDI file can be used to import markers into Logic Pro. However there are a few tedious steps to it. This is currently the only viable way.

(See this comment: #23 (comment))

@orchetect
Copy link
Contributor

https://support.apple.com/en-gb/guide/logicpro/lgcpadb63ff8/mac

I don't know how viable this is. Research would be needed to find out how to even do it. What we don't want is to generate a silent audio file that may take up a lot of space on disk. (Raw PCM can be gigabytes in size for a long timeline). If an audio file can be generated by the CLI with little or no actual audio data then it would be ideal.

@orchetect
Copy link
Contributor

I discovered something interesting. In Logic Pro, in the Marker List window, you can select all markers and copy them to the clipboard. It appears that it copies as plain text roughly formatted as TSV (tab separated values):

🔒	 00:00:20:16.01	 (To-Do) Penguin	 00:00:00:00.01	
🔒	 00:00:25:05.01	 (Standard) Flamingo Bird	 00:00:00:00.01	
🔒	 00:00:35:23.01	 Chapter 1	 00:00:00:00.01	
🔒	 00:00:55:00.01	 (To-Do) Red Crabs	 00:00:00:00.01	
🔒	 00:01:17:20.01	 (To-Do) Giraffe	 00:00:00:00.01	
🔒	 00:01:44:16.01	 (Standard) Mountains	 00:00:00:00.01	
🔒	 00:01:57:02.01	 (Completed) Frog Jump	 00:00:00:00.01	
🔒	 00:02:39:17.01	 (To-Do) Red Giant	 00:00:00:00.01	
🔒	 00:03:03:14.01	 (Standard) Kepler-36	 00:00:00:00.01	
🔒	 00:03:12:20.01	 Marker on Title 1	 00:00:00:00.01	
🔒	 00:03:22:10.01	 Marker on Title 2	 00:00:00:00.01	
🔒	 00:03:35:13.01	 Marker on Title	 00:00:00:00.01	
🔒	 00:03:40:07.01	 Chapter 5	 00:00:00:00.01	
🔒	 00:03:48:16.01	 (Standard) Surface Temperatures	 00:00:00:00.01	
🔒	 00:04:12:15.01	 (Completed) Lava	 00:00:00:00.01	
🔒	 00:04:49:11.01	 Chapter 2	 00:00:00:00.01	
🔒	 00:05:13:16.01	 Chapter 3	 00:00:00:00.01	
🔒	 00:06:02:02.01	 Cloud 1	 00:00:00:00.01	
🔒	 00:06:28:08.01	 Cloud 2	 00:00:00:00.01	
🔒	 00:06:48:09.01	 Cloud 3	 00:00:00:00.01	
🔒	 00:07:08:20.01	 Chapter 6	 00:00:00:00.01	

However, I believe it's using multiple pasteboards. Meaning it copies the markers to the clipboard using two system pasteboards: one is a proprietary data format, and the other is plain text.

Which means, we can't just output this same format and have the user copy it to their clipboard, since it won't convince Logic Pro to be able to paste it. I would have to reverse-engineer the proprietary pasteboard content and see if we could recreate it.

@IAmVigneswaran
Copy link
Contributor Author

A MIDI file can be used to import markers into Logic Pro. However there are a few tedious steps to it. This is currently the only viable way.

(See this comment: #23 (comment))

For time-being, I can write the steps required in the Documentation.

(Raw PCM can be gigabytes in size for a long timeline). If an audio file can be generated by the CLI with little or no actual audio data then it would be ideal.

.mp3 file could yield a much smaller size?

@orchetect
Copy link
Contributor

.mp3 file could yield a much smaller size?

Haven’t looked into what the embedding is for the markers but I’m fairly sure it will have to be wav or similar. However there may be a way to omit actual audio data or substitute it with a dummy of some sort.

@orchetect orchetect modified the milestones: 0.4.0, 0.5.0 Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request profiles Ideas for new profiles
Projects
None yet
Development

No branches or pull requests

2 participants