Author Topic: Midi files  (Read 700 times)

0 Members and 1 Guest are viewing this topic.

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 635
  • Karma: 1
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Midi files
« on: November 21, 2013, 04:33:12 pm »
Hey guys I clicked on these two files but they don't play on any of my music players. Which ones do I need? Thanks.
Scroll to bottom- 2 works by Minona.

http://www.lvbeethoven.com/Famille/FamilyTree-Minona.html#Midi

In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12460
  • Karma: 306
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Midi files
« Reply #1 on: November 21, 2013, 06:01:49 pm »
[EDIT]

Read my next posting first

[END EDIT]


OK, if you want to know why normal media players can't play back midi files .. read this:
https://wiki.archlinux.org/index.php/MIDI

as you'll discover midi files don't contain any audio data .. they are files for digitally controlling musical instruments.

Windows has a built in general purpose synthesizer that allows their media player to BADLY play back midi files .. Linux does not (by default)

Probably the best way to play midi files would be to install fluidsynth:
Code: [Select]
sudo apt-get install fluidsynth
(be aware that's quite big 115mb as it includes the soundfonts)

Then fire up Qsynth (that should have been installed as a dependency) .. in Qsynth, go to Setup > Audio (tab) and change

Audio driver: pulseaudio

then select the Soundfonts (tab) .. and click the Open button .. then select the fluidR3_GM.sf2 soundfont then click the Open button.

Now close the Qsynth setup window by clicking OK .. and close Qsynth.

Now right-click your midi file, and select Qsynth to open it.
« Last Edit: November 21, 2013, 06:25:07 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12460
  • Karma: 306
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Midi files
« Reply #2 on: November 21, 2013, 06:29:22 pm »
An easier method seems to be to install vlc-plugins-fluidsynth:
Code: [Select]
sudo apt-get install vlc-plugins-fluidsynth
(be aware this will also install the fluid-soundfont-gm package, which is about 115mb as it contains the necessary soundfonts for MIDI playback)

Then VLC should be able to play midi files ;)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 635
  • Karma: 1
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: Midi files
« Reply #3 on: November 21, 2013, 06:34:43 pm »
An easier method seems to be to install vlc-plugins-fluidsynth:
Code: [Select]
sudo apt-get install vlc-plugins-fluidsynth
(be aware this will also install the fluid-soundfont-gm package, which is about 115mb as it contains the necessary soundfonts for MIDI playback)

Then VLC should be able to play midi files ;)

 Thanks for looking Mark.I am not au fait with mbs - is this file very large? I am unsure how much space I have on my hard disk.
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2138
  • Karma: 47
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Midi files
« Reply #4 on: November 21, 2013, 06:39:17 pm »
Hi Melissa

Type in the terminal

Code: [Select]
df -h

and that will tell you, if you're not sure what the output is telling you post the output here




Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 635
  • Karma: 1
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: Midi files
« Reply #5 on: November 21, 2013, 06:50:26 pm »
Hi Melissa

Type in the terminal

Code: [Select]
df -h

and that will tell you, if you're not sure what the output is telling you post the output here

Graeme

Thanks Graeme:

melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        37G  7.6G   27G  23% /
udev            336M  4.0K  336M   1% /dev
tmpfs           138M  800K  137M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            343M  268K  343M   1% /run/shm
/dev/sdb1       150G  7.0G  143G   5% /media/MAXTOR
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $

By the way this laptop is shutting itself off again! I really must get some RAM soon as I have a job again- unemployed right now. My Mac geek bro would probably know how to put the RAM in.
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2138
  • Karma: 47
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Midi files
« Reply #6 on: November 21, 2013, 07:10:01 pm »
Ok Melissa you have 27gb free, the file Mark suggested is 115mb so you have plenty space



Good luck



Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 635
  • Karma: 1
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: Midi files
« Reply #7 on: November 21, 2013, 07:30:26 pm »
Great thanks Graeme and Mark!
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 635
  • Karma: 1
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: Midi files
« Reply #8 on: November 21, 2013, 07:33:40 pm »
It didn't work guys.  :'(

melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $ sudo apt-get install vlc-plugins-fluidsynth
[sudo] password for melissa:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package vlc-plugins-fluidsynth
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $




In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12460
  • Karma: 306
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Midi files
« Reply #9 on: November 21, 2013, 07:37:20 pm »
My mistake .. there's no "s" in plugins

run:
Code: [Select]
sudo apt-get install vlc-plugin-fluidsynth
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 635
  • Karma: 1
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: Midi files
« Reply #10 on: December 03, 2013, 07:40:44 pm »
Yeah done that and the midi still won't play- must be something wrong with it at source.
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12460
  • Karma: 306
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Midi files
« Reply #11 on: December 03, 2013, 07:55:35 pm »
I take it you're opening it in VLC ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 635
  • Karma: 1
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: Midi files
« Reply #12 on: December 03, 2013, 09:14:35 pm »
It won't allow me to open it in VLC only Gnome M player- no way to open it in anything else even when right clicking and choosing.
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12460
  • Karma: 306
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Midi files
« Reply #13 on: December 03, 2013, 10:43:46 pm »
I take it you have VLC installed ?
Code: [Select]
dpkg -l | grep vlc

If so, right-click the midi file, and select "Open With..."

in the resulting box, clcik the little arrow next to "Sound & Video" .. then highlight "VLC media player" .. put a tick in the little box "Set selected application as default action of this type of file" .. click "OK".

midi files should now open in VLC by default.
« Last Edit: December 03, 2013, 10:49:03 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal