Page 1 of 1

Send system messages to MIDI

Posted: Fri Jul 01, 2016 7:08 am
by Tamh
Hello everyone.

I'm new to the forum, but have been experimenting with SunVox for one month or so.
I got this sweet little device named Pocket C.H.I.P. that comes bundled with a setup of SunVox included by default.
I'm enjoying the software, and I find it fascinating.

I also have this other little device named Pocket Miku, which is basically a voice synth with an embedded voice in the chip, made by Yamaha and containing the voice samples of the virtual idol Hatsune Miku.
It works as a USB MIDI Controller and it is detected properly by the Pocket CHIP and SunVox.

In this tweet I pictured both devices: https://t.co/nHomDTSwGe and out of the box: https://t.co/JLwqCNE7RN

As mentioned, Pocket Miku contains a lot of samples, including one for each of the syllables of Japanese language.
However, the only way to change the syllable used is with a system command of this particular data:
0xF0, 0x43, 0x79, 0x09, 0x11, 0x0A, 0x00, <an identifier for the syllable to use>, 0xF7

Using other software I've been able to send the command, including a sample page in NSX39 official website.
But I havent found the option to send a sysmsg in SunVox.
Is there a way? Because I love how the tracker works in this software!

Keep up the good work, and hope there are good news!

Re: Send system messages to MIDI

Posted: Sun Jul 03, 2016 9:55 pm
by cube48
Hi Tamh,
Welcome to the forum. AFAIK SunVox can't send SySex messages (yet). One way I can imagine to achieve that is to send regular MIDI note events from SunVox, route them to Pure Data (with aconnect or qJackCtl), translate them into SySex there and then send them to your Pocket Miku. All could be automated so PD runs in the background and routing is handled by acconect.
I'm waiting for my Pocket CHIP too. How is the sound output of CHIP? Isn't it noisy?

Re: Send system messages to MIDI

Posted: Mon Jul 04, 2016 3:08 am
by Tamh
Hello, thanks for your reply.
You might be into something there. I'm going to try it, because it sounds quite interesting.
The deal now is to choose the vocal range that I'm going to overwrite (or the channel to ignore completely).

The sound output of Pocket Chip is very noisy, but according to some guys over the Next Thing Co. forum, if you remove the composite video output by removing a jumper in the board, it becomes good enough. So, if you're never gonna use your CHIP over composite, then you could be fine.
I'm for sure making that little surgery, because I bought the HDMI breakout board.
Other than that, I'm loving that little thing, works wonders. My only chagrin is the super clicky keyboard is sometimes really SUPER clicky and noisy.

Re: Send system messages to MIDI

Posted: Tue Jul 05, 2016 6:08 pm
by cube48
Capturing MIDI notes into PD should be easy from 'midiin' object.

Concerning the system messages, this is a bit of info I found somewhere and saved for later use. That's how sysex should be sent from Pure Data:

Code: Select all

On linux with alsa midi, sysex output works this way:

bang
|
[t    b     b    b    b]
|     |     |    |
[247( [123( [88( [240(
|_____|_____|____|
|
|
[midiout]

That is, banging all the values separately into [midiout] during one message time slot.
(Note the message is written backwards since the first byte to transmit is the sysex status byte, 240)
Banging them in one at a time manually only sends one byte, banging them in as a list stops [midiout] from working until you reopen the patch.

Martin


this is the same than :
[240, 88, 123, 247(
(with coma)

Re: Send system messages to MIDI

Posted: Fri Jul 08, 2016 7:29 pm
by Tamh
I finally attempted to work around your suggestion, but it seems that Pure Data is not sending the messages correctly.
Also, it seems to have when I use channel 1. I have to research more about it.

Re: Send system messages to MIDI

Posted: Fri Jul 08, 2016 11:03 pm
by NightRadio
I confirm this, sorry. SysEx messages are not supported in SunVox now. But it will be added in the new updates, of course :)

Re: Send system messages to MIDI

Posted: Mon Jul 11, 2016 9:46 pm
by Tamh
Thanks for your reply, NightRadio.
Should I add a feature suggestion to the correct forum?

Re: Send system messages to MIDI

Posted: Sat Jul 16, 2016 7:39 pm
by NightRadio
Yes please write about it here: http://warmplace.ru/forum/viewforum.php?f=17