Jump to content

dubphil

Members
  • Posts

    76
  • Joined

  • Last visited

Posts posted by dubphil

  1. Thanks julienvoirin it remains a starnge bug,

    look at this sequence :

    I press the button of DIN pin 19 :

    20:0 Note off 0, note 19

    20:0 Note on 0, note 19, velocity 127 => the DOUT pin 19 stay light on OK

    then I press the button of DIN pin 20 :

    20:0 Note on 0, note 20, velocity 127 => the DOUT pin 20 light on

    20:0 Note off 0, note 20 => the DOUT pin 20 light off

    I would expect that the DOUT pin 20 stay light on of course.

    perhaps the toggle mode is not what I need, I have see a "Note on mode" is it this what I need in fact ?

    Best regards

    Philippe

  2. I think I have understand how to make the cahnges you suggest, but when I type "make"

    I have this error :

    sh ./bin/mios-gpasm -c -p p18f452 -I./src -I ./include/asm -I ./include/share -I ./modules/app_lcd/dummy -DDEBUG_MODE=0 -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -I ./modules/mios_wrapper modules/mios_wrapper/mios_wrapper.asm -o _output/mios_wrapper.o

    ./bin/mios-gpasm: 24: declare: not found

    ./bin/mios-gpasm: 27: declare: not found

    ./bin/mios-gpasm: 37: Syntax error: "(" unexpected (expecting "fi")

    make: *** [_output/mios_wrapper.o] Erreur 2

    I have sdcc and gputils installed (ubuntu oneiric)

    About the LCD with pin A7 A6 and A5 it would be great to have the same event that I have with midi out.

    Best

    Philippe

  3. Hi Julienvoirin,

    it looks better but things are not going as expected and after trying to understand why, no success

    1 - the buttons are no longer in toggle mode (20:0 Note on 0, note 17, velocity 8 | 20:0 Note off 0, note 17)

    2 - A5 of J5B sends CC #40 but display #40 to #47 on the LCD

    3 - A6 of J5B sends CC #48 but display #48 to #55 on the LCD

    4 - A7 of J5B sends CC #56 but display #56 to #63 on the LCD

    5 - DOUT part of the LCD is not showing events (not very important)

    Hope this is easily correctible.

    Best regards

    Philippe

    in fact for A5 A6 and A7 the LCD looks buggy, at certain position values are changing alone but midi CC is ok

  4. yeah thanks julienvoirin !

    it is nearly perfect, but 3 thins are not working as expected :

    1 - pins CC

    the pin A7 of j5B gives nothing (it should expect 48 isn't it ?)

    the pin A6 of j5B gives 48 (it should expect 40 isn't it ?)

    the pin A5 of j5B gives 40 (it should expect 32 isn't it )?

    2 - Leds are light on when the button is pressed on but light off when pressed off. the led should stay lighted on until I press a second time on the button.

    3 - the LCD don't show events anymore when pots ore sliders are moved it only show events when buttons are pressed and only the DIN part, the DOUT part doesn't show any events (thats not very important indeed)

    Best regards and thousand thanks for your assistance !

    PS: I remember that you've already help me before with my Core ;)

  5. Thorsten,

    the simple way for me is the best one, what is your advice about modfying ain64din128dout128 app ? this app is fitting my needs, I don't need at all the MB64 app if it is too difficult to modify it.

    Do you think that it would be simple for me to use a spare 4051 ? I'm not enough skilled in electronic to build something not documented by schematics or pcb.

    Best

    Philippe

  6. lets go for using ain64din128dout128 app then, but please put me on the rails ;)

    I have see that ain64din128dout128 app have only one main.c does everything goes here ?

    to enumarate my needs :

    1 - pin A5 to A7 each should gives only one CC : I don't guess where to put the switch/cases you suggest julienvoirin

    2 - Buttons set to the toogle mode : is there a solution to set this directly in the app code ?

    3 - associate DIN pins 17 to 24 to the DOUT pins 17 to 24 : I admit that

    easy ! use an array if neccessary for cpxe routines
    is far far not easy for my understanding.

    I'm damn lost how to achieve this.

    Best

    Philippe

  7. Thanks for the replies

    Do you have a spare 4051? It would be the most efficient solution just to use a multiplexer (costs 0.30 EUR!)

    Yes I do, but I have no much place left in my board to put a second AINx4

    do you have assembly programming skills, so that you could program this special variant by yourself?

    unfortunately not :(

    And of course I could use ain64din128dout128 app, but I would need also to associate the DIN and DOUT pins to light up the leds when I press the buttons.

    Best

    Philippe

  8. Hello,

    I wanted to add 3 additionnals pots but directly connected to the unused J5B pins of the CORE.

    Now when I move those pots I have 8 CC events for each. How can I manage to have only 1 CC per pot ?

    Another thing, by playing with setup_midibox64.asm to test things, I have lost the ability for my buttons

    to be in the toggle mode, now if I press a button the led light on, but if I released the button the led light off.

    I would like to light off the led if I pressed the button a second time (this was the behavior of my buttons/leds before I upload a new mb64 app).

    I can't find my original mb64 app (it was in 2009) I have search the forum for an answer, but I didn't found the best solution.

    Hope you can help me.

    Best regards

    Philippe

  9. Bonjour,

    Est-il possible de connecter des potards directement sur J5B, il est inutilisé et j'ai juste besoin de 3 potards supplémentaire. Ce serait inutile de refaire un AIN supplémentaire.

    Merci pour vos lumières

    Philippe

    en relisant les spécifs du core :

    J5 10 Analog sources (like pots) can be connected to this port (8 pots maximum). If multiplexed via AIN module, up to 64 pots can be scanned. Remember that All unused analog inputs must be conncted to ground. There are also some application which use this pin as digital in- or output (mostly described in REAMDE.txt or setup_*.asm file)

    Donc c'est oui ;)

    Bonne soirée !

    Philippe

  10. ok I finaly found the trick :

    using mk_syx tool I add the second byte to 3C, 3D, 3E...etc

    and put this in the .seq24rc file :

    0 [1 0 176 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    1 [1 0 177 61 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    2 [1 0 178 62 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    3 [1 0 179 63 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    4 [1 0 180 64 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    5 [1 0 181 65 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    6 [1 0 182 66 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    7 [1 0 183 67 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    and all goes fine :)

    Best.

    Philippe

  11. Hello,

    I want to control seq24 http://www.filter24.org/seq24/index.html

    here is the documention part that explain how to proceed :

    *** SNIP ****

    * [midi-control]

    For each sequence, we can set up midi events to turn a

    sequence on, off, or toggle it. We see the following

    lines in the [midi-control] section:

    0 [0 0 0 0 0 0] [0 0 0 0 0 0] [0 0 0 0 0 0]

    1 [0 0 0 0 0 0] [0 0 0 0 0 0] [0 0 0 0 0 0]

    2 [0 0 0 0 0 0] [0 0 0 0 0 0] [0 0 0 0 0 0]

    ...

    The first number is the sequence in the main window. Each set

    of brackets corresponds to a midi filter. If the incoming midi

    event matches the filter, it will either [toggle],[on],or[off]

    the sequence respectivaly.

    The layout of each filter inside the bracket is as follows:

    [(on/off) (inverse) (midi status byte (channel ignored))

    (data1) (data2 min) (data2 max)]

    If the on/off is set to 1, it will match the incoming midi

    to the pattern and perfrom the action (on/off/toggle)

    if the data falls in the range specified. All values

    are in decimal.

    The last three is the range of data that will match.

    The following is an example of responding to note on events,

    note 0, with any velocity to turn the sequence on, and note

    off events, note 0, and any velocity to turn the sequence off.

    Toggle On Off

    1 [0 0 0 0 0 0] [1 0 144 0 0 127] [1 0 128 0 0 127]

    the inverse field will make the sequence perform the opposite

    action (off for on, on for off) if the data falls outside the

    specified range. This is cool because you can map several

    sequences to a knob or fader.

    The following example would map a row of sequences to one knob

    sending out changes for Control Code 1:

    Toggle On Off

    0 [0 0 0 0 0 0] [1 1 176 1 0 15] [0 0 0 0 0 0]

    1 [0 0 0 0 0 0] [1 1 176 1 16 31] [0 0 0 0 0 0]

    2 [0 0 0 0 0 0] [1 1 176 1 32 47] [0 0 0 0 0 0]

    3 [0 0 0 0 0 0] [1 1 176 1 48 63] [0 0 0 0 0 0]

    4 [0 0 0 0 0 0] [1 1 176 1 64 79] [0 0 0 0 0 0]

    5 [0 0 0 0 0 0] [1 1 176 1 80 95] [0 0 0 0 0 0]

    6 [0 0 0 0 0 0] [1 1 176 1 96 111] [0 0 0 0 0 0]

    7 [0 0 0 0 0 0] [1 1 176 1 112 127] [0 0 0 0 0 0]

    *** SNIP ***

    here is the message sending by my DIN buttons :

    00000000017056 ms | [b0 3C 7F] Channel 1: CC LSB 28 (Undefined) value: 127

    00000000017933 ms | [b0 3C 00] Channel 1: CC LSB 28 (Undefined) value: 0

    00000000018601 ms | [b1 3C 7F] Channel 2: CC LSB 28 (Undefined) value: 127

    00000000018893 ms | [b1 3C 00] Channel 2: CC LSB 28 (Undefined) value: 0

    00000000019314 ms | [b2 3C 7F] Channel 3: CC LSB 28 (Undefined) value: 127

    00000000019547 ms | [b2 3C 00] Channel 3: CC LSB 28 (Undefined) value: 0

    00000000019935 ms | [b3 3C 7F] Channel 4: CC LSB 28 (Undefined) value: 127

    00000000020158 ms | [b3 3C 00] Channel 4: CC LSB 28 (Undefined) value: 0

    00000000020552 ms | [b4 3C 7F] Channel 5: CC LSB 28 (Undefined) value: 127

    00000000020786 ms | [b4 3C 00] Channel 5: CC LSB 28 (Undefined) value: 0

    00000000021396 ms | [b5 3C 7F] Channel 6: CC LSB 28 (Undefined) value: 127

    00000000021635 ms | [b5 3C 00] Channel 6: CC LSB 28 (Undefined) value: 0

    00000000022186 ms | [b6 3C 7F] Channel 7: CC LSB 28 (Undefined) value: 127

    00000000022472 ms | [b6 3C 00] Channel 7: CC LSB 28 (Undefined) value: 0

    00000000022838 ms | [b7 3C 7F] Channel 8: CC LSB 28 (Undefined) value: 127

    00000000023079 ms | [b7 3C 00] Channel 8: CC LSB 28 (Undefined) value: 0

    Here is what I have already try :

    based on this chart : http://www.harmony-central.com/MIDI/Doc/table1.html

    0 [1 0 176 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    1 [1 0 177 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    2 [1 0 178 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    3 [1 0 179 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    4 [1 0 180 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    5 [1 0 181 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    6 [1 0 182 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    7 [1 0 183 60 0 127] [0 0 0 0 0 0] [0 0 0 0 0 0]

    in this case when I press each of my 8 buttons, only the first sequence is toggled

    I miss something in my understanding to avhieve my goal.

    any help please ?

    Best.

    Philippe

  12. Apres tout se passe par midi tu envoie les données au core par l'intermediaire de ta connection midi sur le PC.(Midi IN et OUT du CORE reliées au midi IN et OUT de ton PC)

    ok henri, ça je savais déjà, quand je parle de reprogrammer c'est coder un .asm qui réponde à mon besoin ;)

    dis moi, me vendrais tu le core que tu m'as envoyé ?

    Je te le vend pas, je te le donne, par contre si tu as des boutons en rab (10) qui lorsqu'on presse une fois envoi 0 et lorsqu'on presse une seconde fois envoi 127 je suis preneur ou alors un bouton qui reste enfoncé le courant passe et lorsqu'on re appuie dessus il remonte et le courant ne passe plus.

    Pour l'instant je n'ai que des bouttons qu'il faut garder pressé pour que le courant passe.

    En fait j'ai l'impression que la fonction mute qui parait évidente pour un contrôleur midi n'est pas implémenté dans une appli et que c'est pas évident à faire

    exemple de ce que je veux : lorsque j'appuie 1 fois sur le bouton 1 la led 1 s'éteint le son s'arrête. Et d'une part si je re appuie sur le bouton le son reprend mais pas à fond; au niveau définit par le slider, la led se rallume. Et d'autre part si je bouge le slider la piste se "démute" et la led se rallume. Dans l'idéal ce deuxième comportement ne devrait pas se produire, je devrai pouvoir bouger le slider sans réactiver le son, pour le placer à un certain niveau puis seulement appuyer sur le bouton pour réactiver le son au nouveau niveau défini par la nouvelle position du slider. Mais je me doute un peu que ce n'est pas réalisable mais si oui alors comment ?

    O LED 1

    [_] bouton 1

    |

    |

    |

    [_] slider 1

    |

    |

    |

  13. ça maaaaaarche!!!!!!!!!

    vous allez me tuer : en fait sur le PCB du DINX4 de SmashTV, il a ajouté une petite astuce qui m'a complètement embrouillé, il a reporté les pins du J8 du CORE RC-SC-S0-Vdd-Vs pour permettre de connecter un DOUTX4 directement sur le DINX4 et moi comme un con je n'avais pas compris ça et connectait mon CORE J9 à ces pins, c'était les seuls ayant une légende faut dire, je pensais que les autres pins servait juste au connecteur. Cette partie là n'était pas très claire tout de même et cette histoire de ~4v mesuré m'a détourné du vrai problème. Merci beaucoup Julien la confirmation que le CORE n'y était pour rien m'a certainement donné le déclic pour trouver l'erreur.

    Bon voilà finalement cette histoire de ~4V restera un mystère que je mettrai sur le compte de mon multimètre.

    Maintenant un gros morceau m'attend, reprogrammer l'appli MB64 pour que mes 8 boutons lorsqu'ils sont appuyés mutent la piste controlée par le slider correspondant et éteint la LED correspondante.

    Je ne manquerai pas de refaire un post si je n'y arrive pas tout seul :)

    Merci encore !

    Philippe

  14. Salut Henri,

    as tu vérifié toutes tes soudures sur les modules DIN ? As tu mis les resistances et condos en bout de chaine du module DIN?

    oui, j'ai fait le rapport de toutes les mesures 10 posts plus haut

    As tu mesuré la sortie de ton alim une fois tout connecté dessus hustoire de voir si cette derniere se "casse pas la gueule"

    Si je retrouve 5V avant R9, une fois tout connecté, ça peut quand-même dire que l'alim s'effondre ? ou ça veut dire que c'est ok ?

    Sinon, à quels points doivent mesurer exactement ? avant le régulateur ?

    Pour infos je fais un tuto sur:

    My link

    impressionnant ta machine, tu as usiné toit même le coffrage en bois ?

    Merci

    Philippe

  15. en fait lorsque le CORE est nu (sans PIC et optocoupleur) connecté ni au DIN ni au DOUT ni au AIN j'ai J9:SI à ~4V.

    Lorsque je rajoute PIC et optocoupleur et si je relie le J9:SI à la masse j'ai bien les 128 événements midi qui sont envoyés par le CORE.

    Lorsque je branche le DIN (sans le DOUT) et que je relie n'importe quel pin de J3, de J4, de J5 ou de J6 à la masse aucun signal n'est émis par le PIC.

    J'ai testé les courants sur le module DIN par dessous :

    - j'ai bien 5V au Vdd

    - si je relie J1:S0 (SI ? c'est écrit S0 sur le module DIN de SmashTV) ) à la masse j'ai bien les 128 évènements envoyés par le PIC

    - si je mesure la tension à J1:S0 je retrouve bien mes 4V

    - chose incroyable si je mesure les tensions aux pins QH des 74HC165N (dont le premier est relié à J1:S0) je mesure 5V

    - par contre voilà ce que je trouve au niveau des bancs de résistances directement "collés" aux 74CH165N :

    _________________

    |-----|-----|-----|-----|-----|

    ^

    5V 5V 4V 4V 4V 4V

    - et pour les 4 autres connectés aux Jn :

    _________________

    |-----|-----|-----|-----|-----|

    ^

    5V 4V 4V 4V 4V 4V

    voilà, en fait j'ai t'on adresse dans un email, je t'envoie ça dès que je peux.

    Merci encore !

    Philippe

  16. envoie le moi que je le teste

    au fait une personne m'a proposé de me fabriquer un CORE donc j'ai accepté, mais je t'envoie quand même un des CORE de SmashTV car j'aimerai savoir ce qu'il en retourne au final. je te contacte par email pour tes coordonnées...

    à mon avis, tu a dû monter un truc à l'envers.

    ta chaine DIN/DOUT est elle ok ?

    ah peut-être un truc que j'ai pas encore testé, n'oublie pas que tu t'adresses à un néophyte, alors je ne comprend pas trop ce que tu me demandes là.

    Merci Julien !

    Philippe

  17. This just means you'll have to keep one eye on the multimeter display when doing continuity checks.

    My cheap multimeter has an ohmmeter scaled to 1K, do I need to use this to test the continuity ? If yes, measuring the resistance at each point against the ground is the correct checks to do ?

    Best regards

    Philippe

  18. Salut à tous,

    Je recherche un CORE V3 assemblé et fonctionnel, ça fait depuis 2005 que j'essaye d'en fabriquer un, j'ai essayé avec 2 CORE de SmashTV et 1 CORE de Mike, même erreur :

    je mesure 5V en amont de la résistance R9 et 3.8V juste en aval, j'ai bien tenté de débugger le truc avec un beep beep mais ça sonne de partout par exemple en faisant ce schéma : http://migratis.net/find_short.png (les traces noires sont reliées directement à la masse et les traces marrons sont reliées à la masse par l'intermédiaire d'un composant ça me parait logique que ça beep de partout (sauf les traces bleues mai là il y en a pas beaucoup) donc je ne vois pas du tout comment trouver un court circuit avec la méthode beep beep...

    Bref pour ne pas avoir à tout jeter à la poubelle (potard, slider etc) vendez moi un CORE siouplait...

    Merci d'avance

    Philippe

  19. Hello,

    I don't own a sophisticated multimeter with the beep beep feature to detect shorts, so I have stolen in my kids bedroom an awful toy that gives an horrible sound when you press a button, yeah that will do the trick ;)

    After having replaced the toy's button by two wires, I decided to try it on my finally buggy CORE (you can read the story here : ) . So I clamped the anode wire to the ground and used the cathode wire to make the contact on the solder joints; the result was a hurly-burly nearly everytime I made the contact to a joint. So I opened the .brd file of the CORE and drawn "in black" all the tracks and joints that are directly connected to the ground then I drawn all the tracks and joints that are connected to the ground with a composant (capacitor, resistor, etc). So finally it remains few joints and tracks to check.

    here is the scheme : http://migratis.net/find_short.png

    knowing that my problem is that I measure +5V before the R9 resistor and just after I measure 3,8V, the beep beep trick doesn't help much : around this place, everything beeps...

    pfiouuuuuuu electronic is the most hard discipline to learn by myself.

    Thanks to teach me what I can't find by myself.

    Best regards

    Philippe

×
×
  • Create New...