From nobody Wed Feb 2 03:03:01 2022 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 015A119A991D for ; Wed, 2 Feb 2022 03:03:16 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JpRSg1vxdz4lNF for ; Wed, 2 Feb 2022 03:03:15 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x330.google.com with SMTP id e21-20020a9d0195000000b005a3cd7c1e09so11497342ote.6 for ; Tue, 01 Feb 2022 19:03:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DI3V3+CgEtEkeZrNTWwO+ApLInYt+Wj8RK+5/6Uepdk=; b=YqaheSmHznOQs4y1S3tWZRz5AgH/BoR771zaR95dU8vCmoUCtZlaHA6uTfbME1eIW3 fmRdxxNCA/3/LuTKzsW6pmwNHOmD0jyuUtCabQm78REaRtNq3+C70Ox4b+nZXFv0ZoI7 4Sw2XijZpZi5BoeHj4gsJnpGSda3VhC1NudhZTN3e6xyQTxZJ4d+fLcC2WylWCqUcItN hwRDbf0LR2A/l9BUa6I9CP2iQnBTxAamWa0wmAze3o74pwdnrypMRgIyrMO8pTpvhF5S oDUUTz07GCNwv82wVnWBbm0gj9rghc1lX6Jd6fez3mBKYPLY473EtCNp0/OEk8izQqbA lcWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DI3V3+CgEtEkeZrNTWwO+ApLInYt+Wj8RK+5/6Uepdk=; b=yr5wRbtIhD7sUDwuwgzE7AF3cv+Tji3980DDQPTL46RNUgk9mEXWqNHxTshFM3MCV1 mhHdn661ioyaVZXw53ZUPjVKTaPscoyNsiq6RlCgKVHSyHruHvRJ7fuVpWwned9v60Sf 0/RUfPJZJdhAR8McIU+dM6Uf1b057cj3aO5j6Qb3WaY4tz/pnqXS7vUErj4D6Z8wDUfw QKXZmL9++zCA+SBm3CknUWnHNyu7XGSMl+XxITuc9g4eBoTMyw2xHxQytI9krfwXpQQa TPt5DL/El5P6JeNYmHu6cCyDC1EIQxL/g6UM/bZd3n0Cn2oJUHoTlZlDrZq2UMxnvVys RvgA== X-Gm-Message-State: AOAM5309OLceLyOgU9V1i9IEMStbLoskwTYHmnrvpQm9cYqpkkatk66q apKqwo26xVdnuGHbsewe6rRkqdAvIQEq3GjfFhqKq7+1rfg= X-Google-Smtp-Source: ABdhPJxOXj62R6Qch1Rk5MkcgveheKaTs5biNaTkX8YffU0n/spdbYkE1a7sSEyuFV/FxiIOATZqeccc6HAY4sf/JqQ= X-Received: by 2002:a9d:6201:: with SMTP id g1mr16127848otj.359.1643770994338; Tue, 01 Feb 2022 19:03:14 -0800 (PST) List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Tomasz CEDRO Date: Wed, 2 Feb 2022 04:03:01 +0100 Message-ID: Subject: Re: MIDI suggestions? To: Mason Loring Bliss Cc: freebsd-multimedia@freebsd.org Content-Type: multipart/alternative; boundary="00000000000035c31a05d700423e" X-Rspamd-Queue-Id: 4JpRSg1vxdz4lNF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=YqaheSmH; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::330) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-2.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-multimedia@freebsd.org]; DMARC_NA(0.00)[cedro.info]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::330:from]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MLMMJ_DEST(0.00)[freebsd-multimedia]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --00000000000035c31a05d700423e Content-Type: text/plain; charset="UTF-8" I did a MIDI Modullar Controller once myself on 8-bit MCS51 MCU :-) :-) https://www.tomek.cedro.info/midi-mc/ MIDI uses UART frames with some strange bitrate (~23k I dont remember exactly sorry) and current interface unlike voltage one in pc serial port. If you have MIDI-TO-USB adapter it may not be different from UART-TO-USB adapter with some specific settings. There was a specification out there somewhere. MIDI frame contains "events" like key press note strength, knob number value, etc. But I never used MIDI on FreeBSD sorry. I still have the MIDI MC controller but I gave away the MIDI-TO-USB adapter. I am sure that some device will show up after you connect the adapter, then you can read the frames from drvice and write frames to a device. Then you need some software that would allow you to perform your tasks. You may even try to write your own tools in Python for easy experimenting. It should be even possible to use some USB-TO-UART (or better RS485 current loop interface) with specific settings to talk MIDI. -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info --00000000000035c31a05d700423e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I did a MIDI Modullar Controller once myself on 8-bit MCS= 51 MCU :-) :-)




--00000000000035c31a05d700423e--