Jump to content

ssp

Programmer
  • Posts

    659
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by ssp

  1. ssp

    fader info

    yea i got it Zam, i had to go get new batteries for me meter, if anyone had the data sheet it would have saved time. just put the meter over it and all sorted now thanks
  2. ssp

    fader info

    does anyone have the data sheet for the old PANASONIC EVANMKP08B14 faders, looking for the pin info there doesnt seem to be any datasheet on the net. I want to use the old ones on another project so they dont goto waste. Touch isnt important as i have the alps for that. thanks
  3. Finished building the first mb_mf NG and hooked up a fader, all worked first time. Calibration is great through mios studio. Would have been great if it had the ability to have a lcd attached. Just waiting for the other pcbs to arrive now so I can get on with the ngc code learnings and trial!!
  4. The event 0xE0 was a misstype by me sorry about that, this was basically an example sysex string not the actual string As much as i thought i had learned i see there is still a lot more to learn!! man next week is going to be crazy!
  5. Thanks for calling ini TK Im learning a lot in a short time so yep I am making the odd mistake here and there , but i have everything written down as well. Lots of things to try next week when its all assembled and put together. The guys have been just nudging me in the right direction rather than all out doing it for me which is great as it is making me think. here is a screen shot of bome translator capturing the commands from the daw software. lots to try out, but you can see the captured events on the left in the translator on the right
  6. So using bome's midi translator it shows this string # when you move to another channel from the one you are on MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4E 00 MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4F 7F MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4A 00 MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4D 00 MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4B 00 # This is the string to select the channel MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 18 7F ( sysex header= F0 00 01 06 16 ) # This is the string when you deselect MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 18 00 # Now we select a different channel: MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 03 00 MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4E 00 MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4F 7F MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4A 00 MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4D 00 MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4B 00 # This is the select string MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 19 7F # This is the string when you deselect this channel MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 19 00 # And once again when you move to the previous channel MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4E 00 MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4F 7F MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4A 00 MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4D 00 MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 4B 00 # The first channel that was selected MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 18 7F # And deselect as before MIDI IN [Bome MIDI Translator 1 Virtual In]: 90 18 00
  7. I will put an example of the correct full strings here later to show the events. That will make it easier to understand. When you select a different button the daw sends a some sysex out before the full string.
  8. one other thing, on some functions i need to have 4 different sysex coming from one button press, one after the other, could i just expand the sysex string, or would i make a table that it would step through?
  9. let me know if this is correct event_button id=1 fwd_id=sender:1 range=0:127 button_mode=toggle event_sender hw_id=1 id=1000 fwd_id=led:1 type=SysEx stream="0xf0 0x00 0x01 0x16 0xE0 0x18 0x10 0xf7" if_equal=0 event_sender hw_id=1 id=1001 fwd_id=led:1 type=SysEx stream="0xf0 0x00 0x01 0x16 0xE0 0x18 0x01 0xf7" if_equal=127 ok so looking at this event_button id=1 #This is the event (button press) id=1 this is the first button on shift register 1=D0 fwd_id=sender:1 #this forwards the event_button id range=0:127 #midi value range button_mode=toggle #button type event_sender hw_id=1 #this is the event id that was forwarded to the sender id=1001 #this gives the event an id (could this be a number say 01 then the second 02?) fwd_id=led:1 this turns on the dout led 1 on shift register pin 1 type=SysEx stream="0xf0 0x00 0x01 0x16 0xE0 0x18 0x01 0xf7" # this is the transmitted sysex stream if_equal=127 # this is the on off state of the toggle button either off=0 or on=127
  10. Hey many thanks Zam, I hadn't got the the event_sender section yet, I will go through it now and get some lines down to try this week. I am still hoping thorsten come in to let me know about the sysex from my daw to the oled, The code is amazing and I understand a lot of it, for me its just a couple of functions that have been asked about before but have never been answered or havent been followed up on. The code above is really clear in its function for me and i can apply this method for other things as i go and make changes. By the way I really liked thy automation system you made for your console, really good.
  11. Planning on spending the day reading through the rest of code info i printed out to see if there is anything in there to explain a dual sysex stream feature on a button event.
  12. It's getting late now but... Can I apply two different sysex strings to a toggle switch? For example Select track 1= F0 00 01 06 16 E0 18 10 F7 Deselect track 1= F0 00 01 06 16 E0 18 01 F7 The switch is in the last 10/01 at the end of the string. Having a look through the info in the morning. If I find what I need I will share how to apply it (EDIT) just found this in "First steps" Surprise me! Our last experiment with a single button ends with a small surprise: change the EVENT_BUTTON statement to: EVENT_BUTTON id=1 fwd_id=LED:1 button_mode=OnOnly \ type=SysEx stream="0xf0 0x00 0x00 0x7e 0x32 0x00 0x0d 0x40 0x57 0x6F 0x77 0x21 0xf7" \ lcd_pos=1:1:1 label="Button #%3i: %3d" ...and have a look at the MIOS Terminal while pressing the button... ;-) Ok, this demonstration should also show you, that it's possible to send SysEx streams, and that multiple lines in the configuration file can be concatenated to a single command with the backslash (\) character. This needs to be expanded for a dual function toggle switch so it needs an on & off string. I would use it in this aspec to send my string: EVENT_BUTTON id=1 fwd_id=LED:1 button_mode=Toggle \ type=SysEx stream="0xf0 0x00 0x01 0x16 0xE0 0x18 0x10 0xf7" I need to apply a "Toggle On/Off" state to the string so it has an on and off event stream.
  13. I have managed to set up bome's midi translator tonight and try a few things out as I built my mb_mf but the 10mhz crystal wont be here until next week. The correct sysex string for the oled coming from my daw software is this F0 00 01 06 16 12 00 00 00 73 74 72 69 6E 67 73 F7 this hex is ascii for strings: 73 74 72 69 6E 67 73 the header is different to what the pdf told me, however I will try this out next week as a command from mios studio. I did see there was another thread asking TK if it was possible to map these sysex commands to individual oled displays but there was no follow up on this and I did post on that particular thread the other day to see if it had been resolved. As i know the strings involved in generating the "track name" on the display it will allow me to use this on each new track. i am hoping that when TK pops in again this weekend he may take 5 mins just to answer on this. I have most of the .ngc code down now and have been busy writing things ready to test next week. Most of the casework has been designed and i will cut it on the cnc machine and laser cutting system in work next week as well. only a few holdups now!! Thorsten you crazy german genuis dude. what do you say??? sysex strings of track names to the displays...?? thanks
  14. thanks thomas, i ordered the correct ones in the beginning, i got sent totally different things. I found some on ebay after got them coming tomorrow.
  15. Hey latigid, i did order the alientek ones but this is what arrived, not a happy bunny. Now i have to re-find the correct ones again.
  16. My ssd displays turned up today. Looks like I got messed with. These are not the ssd1306 glcds I needed. These have only 4 pins on, I'm guessing they are not compatible with the stm32f4. Anyone know if these will work or if I need to try and get the 16 pin parallel ssd displays?
  17. Hey flex, nice to see you back around again, long time!!! yep I am finding it kinda wierd, its far too quiet and theres no-one in chat anymore. I know we have all aged slightly and have families and work etc.. but damn.. my local morgue has more movement than this place these days lol!!!
  18. Just got my 2x40 link pcbs that I had made. These allow me to connect the two lcds I got to the one board and link via ribbon. E2 has a jumper to allow the second enable line to link through or be separated.
  19. Hi Thorsten, was there a resolution to this? as I am looking to display the channel/track info on a glcd over each fader. i saw john finsters mackie clone and he was aable to have track info on his displays, I have messaged him hoping he will pop in at some time and i can discuss it with him, but i think he just used the mb_lc setup. I've no solution for this yet, but to ensure that this won't be forgotten I just have added this topic to the MBLC page. It will probably work in conjunction with a EVENT_RECEIVER which listens to multiple bytes instead only one - but this would blow up the memory storage format, because each EVENT would need to store the byte range. Once a solution has been found, the label could be inserted into outgoing SysEx, but also displayed on LCD with a special formatting directive (such as %t)
  20. That is stunning hawkeye, simply stunning.
  21. How do i set the software up so that this sysex string is sent to the glcd: so the software sends this string F0 00 01 06 02 01 01 02 01 115 116 114 105 110 103 115 F7 which is to the first glcd scribble display and the ascii text is "strings" and is centred sysex header= F0 00 01 06 02 scribble number 1= 01 line number 1= 01 alignment flag centred = 00 ascii text 115 116 114 105 110 103 115 = strings sysex close = F7 would i use fwd_to_lcd=<1|0> I am making a test interface with one motor fader, one glcd and a couple of buttons encoders and led's so that i can get to grips with the code and using mios studio i want to test this by sending the string to the test box. can anyone help me on this please?
  22. Oh...( zz) . Convert binary to hex.. Lol sorry head fudge. So, 0000/0110, the first 1 being Invert 0=normal, 1=inverted 0000=center not inverted hex 00 0001=left not inverted hex 01 0010=right not inverted hex 02 Ok if I want a single glcd to show this how do I map this sysex string to the glcd when the software outputs it?
  23. Here is a string, I am not sure on the alignment flags (zz) can anyone explain the alignment flags to me? I am looking it up online also. F0 00 01 06 02 xx = scribble strip id 0-7 yy = line number 0-3 zz = alignment flag and normal/inverted • flag bits xxxxiaa (0000000 = centered normal) • aa = alignment (center: 0, left: 1, right: 2) • i = inverted • x = not used tx = text in ASCII format This is to the first glcd F0 00 01 06 02 01 01 (zz) 01 115 116 114 105 110 103 115 F7 This is the first GLCD line 1 (i am learning about the flag bits) not inverted and the asci text "strings" closed with F7
  24. Its weird looking a this all these years later and understanding what i didnt back then. Also the issue with the shuttle was solved i missed the full string.. Forward: F0 7F device_ID 06 47 03 sh sm sl F7 -> 21 13 n Reverse: F0 7F device_ID 06 47 03 sh sm sl F7 -> 21 23 n Also the movlw function, which means 'Move Literal Value Into W', or put the value that follows directly into the W register. I found a pdf a while ago that explainied pic programming here is the link incase anyone wants it: http://groups.csail.mit.edu/lbr/stack/pic/pic-prog-assembly.pdf I just got a couple of core8 from modular addict as i like the old pic mb64e and its also a good build with my son who is getting into music and midi and electronics, he is 13 and enjoying it.
  25. How would you use fwd_to_lcd=<1|0> to forward the incoming sysex to a glcd? If using the above sysex sent out from the software. As the label of the track is defined in the software daw, would you no longer use a "label" for this.?
×
×
  • Create New...