Batch import of MIDI files

24 posts / 0 new
Last post
henrik's picture
henrik
Offline
Last seen 4 months 3 weeks ago

Batch import of MIDI files

As it often takes quite long to import phrases from a MIDI file, it would make sense to let synfire import multiple MIDI files at once, e.g a whole folder, optionally including subfolders.

The standard import settings should then be used for each file.

E.g import a whole folder of Beethoven sonatas.

You could then, early in the morning, start the import, go to work, and coming home in the evening you got thousands of new phrases.

blacksun's picture
blacksun
Offline
Last seen 8 hours 50 min ago

This option is available if you are importing to a library, not sure if that would help? There is (at least in the pro version) a checkbox on the right hand side (after you have selected a file) to import all files in a folder. Other options lets you combine all those imported tracks into a single folder in the library or even merge all the tracks into one.

henrik's picture
henrik
Offline
Last seen 4 months 3 weeks ago

thanks, your're right. But you need to open the file first. I just had expected this option in the file browser view.

andre's picture
andre
Offline
Last seen 15 hours 57 min ago

Correct. For the subsequent files in the folder, Synfire will keep the settings you made for the first file (except settings per each individual track).

drsaugatab's picture
drsaugatab
Offline
Last seen 2 years 5 months ago

 synfire pro  is  really a gem software ....i am using the demo  version ....but  decided  to  buy  the  pro  version ....

 

       will it  possible to  extract  all the   phrases   from  a  midi  file  autometicaly , after  importing  the  midi  file  in synfire ....? if  yes    please  tell me  the  way .....

thanks 

saugata 

blacksun's picture
blacksun
Offline
Last seen 8 hours 50 min ago

if you import to a library, the import process automatically breaks the 'tracks' into musical phrases. If you import to an arrangement you end up with a complete song. Although it is not a perfect match to the original, synfire tries to 'guess the underlying musicallity and present it in a way that can be reused to create something original'.

It is possible to import as static which (providing your instrument ranges are set) does match the original notes and is very quick. You can then export your own snippets to a library or otherwise process the song.

drsaugatab's picture
drsaugatab
Offline
Last seen 2 years 5 months ago

thank  you Mr Blacksun ....your tips really helpfull ....

 

drsaugatab's picture
drsaugatab
Offline
Last seen 2 years 5 months ago

really sorry , due to problem of my computer and bad  internet  connection , same  reply has been posted several times ....sorry for that ....

andre's picture
andre
Offline
Last seen 15 hours 57 min ago

No problem, I deleted them.

blacksun's picture
blacksun
Offline
Last seen 8 hours 50 min ago

and i thought you were just so very grateful for my reply ;)

drsaugatab's picture
drsaugatab
Offline
Last seen 2 years 5 months ago

thanks Mr Andre & Mr Blacksun....

El Taube's picture
El Taube
Offline
Last seen 2 years 1 week ago

This option is available if you are importing to a library, not sure if that would help? There is (at least in the pro version) a checkbox on the right hand side (after you have selected a file) to import all files in a folder. Other options lets you combine all those imported tracks into a single folder in the library or even merge all the tracks into one.

Is this feature available for SYnfire Express? I can't find it.....


Menschen, die gegen sich misstrauisch sind, wollen mehr noch geliebt sein als lieben, um einmal, für einen Augenblick wenigstens, an sich glauben zu dürfen. (F. Nietzsche)

andre's picture
andre
Offline
Last seen 15 hours 57 min ago

With the latest update, batch import is also included with Express.

sunmachine's picture
sunmachine
Offline
Last seen 1 year 8 months ago

With the latest update, batch import is also included with Express.

 

Great!! Thanks a lot! :)

Brahamh1's picture
Brahamh1
Offline
Last seen 3 weeks 1 day ago

So this is available? Where can I find the instructions for doing batch imports?

 

 

Brahamh

supertonic's picture
supertonic
Offline
Last seen 12 hours 36 min ago

batch import works from the standalone library editor only, not the one embedded with the arrange window. after file/import/standard midi file, select the first file to import and tick the box "import all files in folder". that will do the batch import.

Hangdog Cat's picture
Hangdog Cat
Offline
Last seen 1 week 5 days ago

I'm finding this procdure a bit problematic. 

Some of the results are quite acceptable. Others sound horrible...way to high or low, or perhaps just a very low bass note thumping repeatedly. Some won't sound at all. And the choice of instrument playing can change from one file to the next.

The files I imported were all piano MIDI, some more chordal, some more melodic. I chose Auto-Detect for the Figure Recognition Preset. 

Never do more in the morning than you can undo in the afternoon.

andre's picture
andre
Offline
Last seen 15 hours 57 min ago

Batch import is really only useful for a large number of small files with simple content, e.g. drum patterns, bass runs, brass stabs, etc.

If you have full songs or classical pieces you want to harvest for phrases, you'll need to manually select unique and interesting regions anyway. So why bother with hours long batches, if you can import as static pitches in a second and grab the phrases with Command-E ?

http://users.cognitone.com/tutorial/import

It's way easier to fix recognition errors with small phrases, than with 5 minute tracks.

http://users.cognitone.com/tutorial/optimizing-figures

Hangdog Cat's picture
Hangdog Cat
Offline
Last seen 1 week 5 days ago

The files I was importing are 4-bar piano phrases. The results were maybe 40% acceptable.

Also, you seem to be giving conflicting signals regarding importing as static phrases. In your above reply you recommend the method. But in the article you linked to you seem to discourage it.

Could you clear up this discrepancy for me?

Thank you.

I love the obvious potential of this software, but walked away from it for about a year because of the difficulty in initial setup. And sometimes I think you're the only one on the whole planet who actually knows how to use it. But I'll keep plugging away, and I do appreciate your help.

Never do more in the morning than you can undo in the afternoon.

Hangdog Cat's picture
Hangdog Cat
Offline
Last seen 1 week 5 days ago

I'm making a bit of progress, but I've given up on the batch import, and on importing as static pitches. It just doesn't make sense to me to do the latter and then have to "figure" out the harmony later. So I've imported a SMF and have got a good representation of the orginal file now in Synfire as a collection of figures.

I understand that I can select a span of the staff and press Ctrl-E to extract a phrase to the embedded library. But I want to copy those phrases to an already-existing library. How can I do that?

Thanks.

Never do more in the morning than you can undo in the afternoon.

Hangdog Cat's picture
Hangdog Cat
Offline
Last seen 1 week 5 days ago

OK, copy and paste. For some reason that wasn't working the first time I tried it...probably pilot error.

But the figure I pasted into the existing library is in the wrong position on the staff. The first "notes" are before the start time, so they don't sound.

Never do more in the morning than you can undo in the afternoon.

andre's picture
andre
Offline
Last seen 15 hours 57 min ago

you seem to be giving conflicting signals regarding importing as static phrases

While we recommend importing static pitches as a first step, that doesn't imply you should keep them static. It's just easier to open and skim a file for interesting phrases more quickly. Once you collected your static "clips" into a library, you can still run figure recognition on them in the library editor. This is more focussed, faster and allows for immediate optimization of the results.

Make sure harmony is analyzed also with static import (default setting). Synfire benefits from looking into all tracks for the harmonization. At a later stage with only small "clips" at hand, the context of the other tracks is lost, leading to less useful results.

Yes, phrase segments can reach into negative time (left of zero). A figure segment's position actually is that of its anchor symbol. So in theory, a phrase could  have a segment reach as long as one measure left of its beginning. This is a unique feature that results in a very natural blending of phrases at container bounds.

Hangdog Cat's picture
Hangdog Cat
Offline
Last seen 1 week 5 days ago

Thanks, Andre. I think what I really need is a lot more "hands on" time with Synfire, along with a large dose of RTFM.

But I'm determined to get proficient with Synfire. What a great program! 

Never do more in the morning than you can undo in the afternoon.

Brahamh1's picture
Brahamh1
Offline
Last seen 3 weeks 1 day ago

Holy hell, thank you! I was doing one by one for a bunch of midi loops. I didn't know that you could import all the files in a directory and make a folder. This is fantastic. I'm learning more and more features on this great software. 

Brahamh

Log in or register to post comments

Scholarly Lite is a free theme, contributed to the Drupal Community by More than Themes.