Just a code sample that allows you to play your midi or mp3 music files with Python and module pygame.

Member Avatar
+4 forum 0

Hey,I've been dabbling in programming for about a year and a half now, and I understand pretty well how to use the basic commands and such, although I still have to refer back to a documentation on some libraries to fix problems, but I have begun to effectively snipe out syntax errors on my own. Now that I understand how to use pointers, despite not using them often yet, I feel that I am ready to start learning how to program some of the UI sprinkles that belong on a good, professional program. What I'd like to know is how …

Member Avatar
+0 forum 0

Hello everybody, I am looking for a good C++ midi API. I have written a program in C++ that needs to be able to export MIDI. So far I had written my own export function, but I feel that the complexities of low level midi coding will become to great for future more complicated (polyphonic, rythm changes, etc) music. So I am looking for a good C++ midi api. Ideally, I am looking for the following features: - eport to a midi file - import/play a midi file (optional) - export/view score (pref pdf), or even better, editable (but I …

Member Avatar
Member Avatar
+0 forum 1

Hi, I have been reading a number of posts about this, but I have not been able to figure it out. I want to write hex to a midi file. The hex code of the midi file looks like this: [CODE]4D 54 68 64 00 00 00 06 00 01 00 01 00 80 4D 54 72 6B 00 00 00 16 80 00 90 3C 60 81 00 3E 60 81 00 40 60 81 00 B0 7B 00 00 FF 2F 00[/CODE] This is confirmed by opening an existing midi file with okteta. So far I tried: [CODE]ofstream …

Member Avatar
Member Avatar
+0 forum 3

Im trying to play a midi file on a glockenspiel using an MSP430 microcontroller. i will have 25 actuators playing the bells. Im having problems converting a midi file to text. does anybody know of a good midi to text converter or of another method of doing this project?

Member Avatar
+0 forum 0

Hello, I build an applet that plays midi files from a server. The problem is when I start playing the file (MidiSystem.getSequencer()).. it gives me this error in the java console and nothing plays: [CODE]SEVERE: null javax.sound.midi.MidiUnavailableException: MIDI OUT transmitter not available at com.sun.media.sound.AbstractMidiDevice.createTransmitter(Unknown Source) at com.sun.media.sound.AbstractMidiDevice.getTransmitter(Unknown Source) at javax.sound.midi.MidiSystem.getSequencer(Unknown Source) at javax.sound.midi.MidiSystem.getSequencer(Unknown Source) at pdcPanel.play(pdcPanel.java:130) at pdcPanel.jButton1ActionPerformed(pdcPanel.java:245) at pdcPanel.access$000(pdcPanel.java:32) at pdcPanel$2.actionPerformed(pdcPanel.java:185) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown …

Member Avatar
Member Avatar
+0 forum 1

The End.