Open Sound Control, and 14-bit Pitch Bend output

For topics related to using MsPinky inside the Max/MSP graphical programming environment
dlpinkstah
Site Admin
Posts: 1093
Joined: Mon Jun 07, 2004 9:17 pm

Open Sound Control, and 14-bit Pitch Bend output

Postby dlpinkstah » Sun Dec 14, 2008 8:55 pm

A new version (3.7.0) of Maxi-Patch_AO (audio only) for OSX and Windoze is now available for Fan Club Members to download. This new version includes additional MIDI output capabilities, as well as support for Open Sound Control (OSC).

OSC I/O: under a new tabbed view "OSC", you'll find a control panel for setting up Maxi-Patch to send and receive vinyl control information over an IP network. To enable Maxi-Patch to send information to another host, enter the host's IP address, and the port number on which the host should expect to receive data. Then mark the check boxes next to the three data quantities which can currently be sent (velocity, power, and position). Text edits let you modify the OSC "URL"-like prefixes which are attached to each data packet. Turntable velocity, power, and position values are sent over the network as 32-bit floating point quantities. The current version cues up a new data packet approximately every 20 milliseconds.

MIDI Pitch-Bend Output: MIDI outputs have now been divided up between two separate tabs "MIDI Clock out" and "MIDI Pitch out". The "MIDI Clock out" tab allows you to send out MIDI beat clock on a selected MIDI device. In this new version you can also send MIDI "start", "stop", and "continue" messages in order to synch with a sequencer. The "MIDI Pitch out" tab includes controls for sending out turntable pitch values as 7-bit CC's and/or as 14-bit Pitch Bend values. There are two modes in which the turntable pitch information is encoded into MIDI:

linear mode: Turntable velocity values are calculated by Maxi-Patch as a ratio of current turntable rotation rate to the rate at which the disc was cut (33-1/3 rpm or 45 rpm). So if you have pitched the deck up by 8%, the value calculated will be 1.08. If you pitch down by 10%, the value will be 0.90. Positive values of velocity indicate rotation in the normal forward direction. Negative values indicate reverse spinning. In linear MIDI mapping mode, the turntable velocity values are simply scaled and added to 64 (for 7-bit CC's) or 8192 (for 14-bit Pitch Bend). The resulting value is then limited to the range (0..127) (7-bit) or (0...16383) (14-bit). For 7-bit CC's, all values less than 64 indicate turntable reverse spinning. All values greater than 64 indicate forward rotation. Likewise for the 14-bit Pitch Bend, all values 0...8192 indicate reverse spinning. Values 8192....16383 indicate forward rotation. The "invert" switch allows you to invert this mapping.

timer-relative mode: In this mode 7-bit CC's and 14-bit Pitch Bend messages are constructed based on the turntable velocity values in conjunction with timing information. This is our attempt to model the behaviour of certain jog wheels designed for use with DJ apps like MixVibes and Traktor. The values for 7-bit CC's are 64 plus-or-minus the number of "ticks" that transpired since the last message. Likewise the 14-bit pitch bend values are 8192 +/- the number of "ticks" since the last message. Setting the number of ticks per rotation effectively scales the turntable velocity values to fit within an appropriate range for each message type. You will need to experiment with these settings to get the desired effect.
Mudo
Posts: 340
Joined: Tue Jun 08, 2004 9:22 pm
Location: ...Barcelona...

Postby Mudo » Sun Dec 14, 2008 10:37 pm

...
Scott you are the man.

God Bless You!

Verás que contento se pone Ramon!
...
...

Mudo means mute person.


Researching new interface paradigms
...
Zargak
Posts: 15
Joined: Thu Oct 23, 2008 8:43 am

Postby Zargak » Tue Dec 16, 2008 7:41 pm

Hey great news, thanks scott.

Can't wait to try it out!
Mudo
Posts: 340
Joined: Tue Jun 08, 2004 9:22 pm
Location: ...Barcelona...

Postby Mudo » Fri Dec 19, 2008 4:29 pm

...
Scott what is relation between Velocity and Speed?
Between Power an Direction?

Are the same parameters?

Thanks.
Mudo

...
...



Mudo means mute person.





Researching new interface paradigms

...
Mudo
Posts: 340
Joined: Tue Jun 08, 2004 9:22 pm
Location: ...Barcelona...

Postby Mudo » Mon Jul 13, 2009 8:15 pm

...
Scott,

Could you take a look at these and think about add some integration in/out to maxipatch and PinkyVst (and future developments?)

http://www.virtualdj.com/wiki/ControllerDefinition.html

NS7:
http://mybishop.net/ns7midilogs/Left%20 ... ckwise.txt
http://mybishop.net/ns7midilogs/Left%20 ... nyl%29.txt

;)

...
...



Mudo means mute person.





Researching new interface paradigms

...
sec-def
Posts: 83
Joined: Thu Nov 18, 2010 11:43 am

Postby sec-def » Sun Nov 28, 2010 5:00 pm

can i do this while scratching with one instance of the patch?
(for example controlling the fq' of a bandpass filter while scratching a sample)
dlpinkstah
Site Admin
Posts: 1093
Joined: Mon Jun 07, 2004 9:17 pm

Postby dlpinkstah » Sun Nov 28, 2010 5:40 pm

The MIDI output works simultaneously with the audio file scratching. So the answer is yes.
sec-def
Posts: 83
Joined: Thu Nov 18, 2010 11:43 am

Postby sec-def » Sun Nov 28, 2010 6:09 pm

pardon my ignorance but i can't seem to find the tab you're referring to.
sec-def
Posts: 83
Joined: Thu Nov 18, 2010 11:43 am

Postby sec-def » Sun Nov 28, 2010 6:21 pm

allright, so the tab is on the maxi patch, and not the m4l app.
is there anyway of doing this on the m4l app? or am i missing something?
and if not how can i get the system to send midi to ableton?
as a controller?
sec-def
Posts: 83
Joined: Thu Nov 18, 2010 11:43 am

Postby sec-def » Sun Nov 28, 2010 9:21 pm

never mind i found the opropriate thread.

Return to “The Max/MSP + MsPinky = LUV Forum”

Who is online

Users browsing this forum: No registered users and 1 guest