|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#1
|
|||
|
|||
Audio File Import?
Is someone able to provide some more documentation or examples for using the import functionality of the SDK? Looking at the documentation/code, it's very unclear as to what the intended process is.
When trying to import a file with the following request: Code:
ImportRequest request; request.commandType = CommandType::Import; request.importType = ImportType::Audio; request.audioOptions = AudioMediaOptions::CopyFromSource; request.filesList = {"/path/to/file.wav"}; request.audioOperations = AudioOperations::Copy; request.destinationPath = "/path/to/destination/"; // What does this actually do? request.destination = MediaDestination::NewTrack; request.location = MediaLocation::SessionStart; It's a rather difficult to tell at the moment what aspects of the SDK are simply not functional/broken versus not implemented e.g. looking at CppPTSLC_Import.cpp, there is only a case for ptsl::ImportType::Audio, so does this mean that the other ImportType cases (ClipGroups, MIDI, Video) are not functional yet? |
#2
|
||||
|
||||
Re: Audio File Import?
Thanks for reporting this. The audio type parameter for the Import function is not yet implemented. Only session import is currently supported. We hope to add support for importing individual audio files in the future.
We will work on improving the documentation for which items are not yet supported.
__________________
Rob Majors Avid Software Engineering |
#3
|
|||
|
|||
Re: Audio File Import?
I admit I spent an hour unsuccessfully and gave up to those with more patience than me!
Would relative paths to the audio files folder be supported as an option? ./file.wav How are we to know when SDK updates happen? Here? |
#4
|
|||
|
|||
Re: Audio File Import?
And please, please, please some way when it comes to spotting onto a track to use a bitmask to say here is 10 channel interleaved audio file, but only use channels 3 and 5 on this stereo track.
That has been our number one request since, well... since protools supported interleaved audio! So many customer's have polywave files for dialog and just want to bring in 2 or 3 or 1 channel, but use the original source file so they can pull out other mics if they want. The way it works now is I can send the original file in, but just the first(or is it the last), channel pops on the track(assuming a mono track) |
#5
|
||||
|
||||
Re: Audio File Import?
We are discussing these feature requests internally. I'll let you know when we have more information.
Quote:
__________________
Rob Majors Avid Software Engineering |
#6
|
||||
|
||||
Re: Audio File Import?
I have logged these feature requests and have discussed them with the team. Due to other important scripting features in the pipeline we have no immediate plans to support either relative paths or spotting subsets of channels from multichannel wav files. Here are the IDs for each feature request in our system:
PT-297769 Enhance Spot command with a way to spot a subset of channels out of a multichannel file PT-297770 Support relative paths for ImportAudio
__________________
Rob Majors Avid Software Engineering |
#7
|
|||
|
|||
Re: Audio File Import?
What about getting attributes of selected item(s). The source file path, the region in and out points(in fractional seconds?), samplerate, the # of samples past midnight the sound is on the timeline?
|
#8
|
||||
|
||||
Re: Audio File Import?
We don't currently have any plans to add information about objects in the current timeline selection, but we have added this request to our list of requested features as PT-298198.
__________________
Rob Majors Avid Software Engineering |
#9
|
|||
|
|||
Re: Audio File Import?
Quote:
we have the same problem with importing audio and video files that Andrew initially posted. I have some questions:
Thanks, Steffen |
#10
|
||||
|
||||
Re: Audio File Import?
We will include lists of fixed issues and known outstanding issues in each update to the SDK. You can also ask about particular issues here on the forum.
For now, we expect to release an update to the SDK corresponding to each Pro Tools release. The actual availability of the new SDK may come before or after the corresponding Pro Tools software, but they should track pretty closely. We expect that most updates will involve fixes and changes on both the SDK side and the Pro Tools host software side. Quote:
__________________
Rob Majors Avid Software Engineering |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't import audio from MP4 video file | zboy2854 | Pro Tools 2020 | 1 | 03-15-2021 11:50 AM |
Unable to import audio from .mov file | Roger Stauss | Pro Tools 2020 | 5 | 01-13-2021 08:47 AM |
Trying to import audio of .mpg file | newie | Pro Tools TDM Systems (Mac) | 4 | 08-24-2010 05:18 PM |
Will PT 6.4 import an .asf audio file? (eom) | SteveGarman | Pro Tools TDM Systems (Mac) | 3 | 09-26-2006 08:04 AM |
import audio file problems | Kstyle | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) | 2 | 09-06-2006 12:00 AM |