mitxela.com forum
Welcome. Please log in or register.

Next »Pages: [1] 2

code for usb midi out
DAVID Posted: 10 Sep 2017, 02:50 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
hello im currently making v-usb divices
and i am interesed on the attiny usb synth
so can somebody give me a code (.ino,.c or .hex)
to do it.
thanks

-------------
[top]
mit Posted: 10 Sep 2017, 11:06 AM
Avatar
yeah whatever

Admin
Posts: 538
Joined: 4-May 16
Hi, there are a few examples of MIDI using V-USB on the Objective Development website:

https://www.obdev.at/products/vusb/prjall.html

The silly synth was made by using the report descriptors from one of those examples (it was a midi controller I think), enabling the WriteOut functionality in usbconfig.h, and putting my synth code into that function. There are other examples there which already do midi out though, that might be more helpful.

-------------
[top]
DAVID Posted: 16 Sep 2017, 10:38 PM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
thanks


-------------
[top]
DAVID Posted: 17 Sep 2017, 02:00 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
finallly it works!!!!!!!
i decide to use the one tesla usb interrupter and
it is midi compatible.
after 2 hours


-------------
[top]
mit Posted: 17 Sep 2017, 10:12 AM
Avatar
yeah whatever

Admin
Posts: 538
Joined: 4-May 16
Great, congrats! But only 2 hours ?

Sometimes I spent 3 days trying to get things to work...

-------------
[top]
DAVID Posted: 23 Sep 2017, 04:19 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
yeah i always want to do things as fast as possible and i´m only 12 years old

-------------
[top]
DAVID Posted: 23 Sep 2017, 04:23 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
oh and also a great code for you to uptate the firmware on the attiny is use the digispark bootloader.
what it does is enter on boot mode and then enter on the execusion mode


-------------
[top]
DAVID Posted: 23 Sep 2017, 05:49 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
here is my github post
https://github.com/theawsomeavr/attiny85-usb-midi-to-audio

-------------
[top]
mit Posted: 25 Sep 2017, 08:03 PM
Avatar
yeah whatever

Admin
Posts: 538
Joined: 4-May 16
Ha, I like your cardboard box for it.

You might consider putting the source code on github too, along with the hex file. I find it really useful when I go back to an old project to find everything in one place.

Next up, get a piezo buzzer and get it to play some tunes.

-------------
[top]
DAVID Posted: 28 Sep 2017, 02:23 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
well i consider to use this for my musical SSTC for get it playing chiptunes


-------------
[top]
DAVID Posted: 28 Sep 2017, 02:28 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
i use synthesia,VMDK and the one ts program, all of those work fine


-------------
[top]
DAVID Posted: 28 Sep 2017, 02:45 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
but i have another question,
i try to compile the c file and it pop ups an error saying that something onthe makefile of an library that is making the error.
which compiler do you use?
i am using atmel studio 7
it might be the version of atmel studio?


-------------
[top]
DAVID Posted: 28 Sep 2017, 02:49 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
it is on my github post


-------------
[top]
DAVID Posted: 28 Sep 2017, 03:26 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
sorry by the orthographic mistakes i´m mexican

-------------
[top]
mit Posted: 29 Sep 2017, 10:56 PM
Avatar
yeah whatever

Admin
Posts: 538
Joined: 4-May 16
QUOTE (DAVID)
but i have another question,
i try to compile the c file and it pop ups an error saying that something onthe makefile of an library that is making the error.
which compiler do you use?
i am using atmel studio 7
it might be the version of atmel studio?

What does the error say exactly?

I usually use avr-gcc (or WinAVR), Atmel Studio can be a pain.

-------------
[top]

Next »Pages: [1] 2

Sign in to post a reply.