[Csnd] A new piano with MIDI.
Date | 2019-07-06 19:32 |
From | Cacophony7 |
Subject | [Csnd] A new piano with MIDI. |
I got it from the thrift store. Now how do I Csound with it? I need those opcodes so that I can look at it in the manual. I done this before. This piano doesn't have any knobs or sliders but I still want those opcodes. Nor does it have any wheels on the left side. One day I'll get a better one if I live long enough. I almost died from pnemonia cause from smoking stupid cigarettes. It went away but I only got 5, 10 or 20 years left to live because I can't quit yet. I still got the keystation pro 88 by m-audio but it's so heavy. I want a lighter one. -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2019-07-06 19:45 |
From | Forrest Curo |
Subject | Re: [Csnd] A new piano with MIDI. |
What operating system are you doing this with? On Sat, Jul 6, 2019 at 11:32 AM Cacophony7 <michaelsparks37@gmail.com> wrote: I got it from the thrift store. Now how do I Csound with it? |
Date | 2019-07-08 22:38 |
From | Cacophony7 |
Subject | Re: [Csnd] A new piano with MIDI. |
Windows 7, my favourite. I got 7, 8 and 10 and Ubuntu. I want to learn as much as I can but I almost died. I was In a coma... a very very long dream in the hospital. they had to shove a tube down my throat and I survived. Helicopter saved my life. DIED in my sleep; came back to life. -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2019-07-08 23:30 |
From | Forrest Curo |
Subject | Re: [Csnd] A new piano with MIDI. |
Um. I can deal with windows, but if there's any problem with getting csound to recognize incoming midi, someone else would do better. (With ubuntu, aconnectgui helps a lot with that. If you can't find a port going specifically to csound, csound will still pick up any message going from one port to another. ) Not knowing how much of what you want to do, I fear the manual might overwhelm you with detail. Ask here, if that happens; I've found this to be an unusually friendly & helpful list! For a general overview (with examples!) this is an excellent site: For opcodes: I believe this section of the manual remains useful: http://www.csounds.com/manual/html/MidiTop.html midiin and midiout will receive & send whole messages -- but for just dealing with the values of note-on & note-offs, you may want codes that convert note numbers to frequency or 'velocity' to amplitudes. http://www.csounds.com/manual/html/MidiConvert.html release & xtratim if you get clicks at the end of csound-rendered notes. Likeliest need: "Opcodes to output MIDI note on or off messages are: " If you might mix notes from the score with notes from your piano, there are opcodes to make that easier: http://www.csounds.com/manual/html/MidiInterop.html On Mon, Jul 8, 2019 at 2:38 PM Cacophony7 <michaelsparks37@gmail.com> wrote: Windows 7, my favourite. |
Date | 2019-07-10 09:28 |
From | cybilsopsin |
Subject | Re: [Csnd] A new piano with MIDI. |
Were you trying to use it as a controller, with Csound generating the sound? If so, you need to find the hardware that will send the MIDI out from your piano into your computer (sorry Im not a technical user, cant be more specific). This may require both a MIDI cable, and a MIDI-usb converter device, if you are working on a laptop with an old midi piano. Modern midi controllers usually have their own built in Usb output, making things simple. Then you have to figure out the piano's device number, which you can see if you read the output if you run csound from the command line with -M99 flag. Once you know which device number your piano is sending on, you can just use the -Mx flag (-M1 for midi device 1. and so on). Or, just use -Ma to listen to all midi devices on your system simultaneously. Now csound gets midi input from the device. There are 16 channels of midi and different kinds of message types, so the next step is to figure out which channel the device uses, or whether it can switch channels. The manual of the piano is helpful for this, so is the midiin opcode, which will show you the 4 bytes for every Midi message your piano sends (if you set the midi input device flags properly). Run the midiin example from the csound manual while hitting keys on your piano. You will probably see mostly note-on and note-off messages. Maybe some cc messages if you hit the wheels or pedal. This process gives you an exact idea of how your piano sends midi messages, which is the best way to proceed. Now you can use opcodes like massign, noteon, veloc, ctrl7 (these are the best, but you need to use the midi command line flags like i said). You can also use other command line flags to do things like assign velocity (from your piano) to a p-value (of an instrument). The usual method of using midi input to csound is to trigger note events with each note-on message. This is the default behavior. But massign and midiin give you full control if you want some other type of process. Doing csound midi output to play your piano's sounds is done in a sinilar way, but the command line flags and opcodes used are different. Midion and midiout, for example. Also you cna just have csound take a midi file as input, and it respinds the same as if the keys were pressed on a kidi input device. Use ctrl+f on the csound manual "command line flags" page and search for MIDI, to learn more. ----- ***cybilopsin*** "We are all guilty of crime, the great crime of not living life to the full." - Henry Miller -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2019-07-10 15:50 |
From | Mauro Giubileo |
Subject | Re: [Csnd] A new piano with MIDI. |
I think the faster way is to use Cabbage (www.cabbageaudio.com). It's a framework to make VST with the Csound engine. After you have installed it, all you have to do is to select your M-Audio keyboard as MIDI-IN in the Cabbage options and you are done! Now, if you start a Csound program within Cabbage, all the notes you play on your MIDI keyboard will be played by your Csound instrument. There are many examples on the cabbage site too. Regards, --- Il 2019-07-06 20:32 Cacophony7 ha scritto:
|