MUFF WIGGLER Forum Index
 FAQ & Terms of UseFAQ & Terms Of Use   Wiggler RadioMW Radio   Muff Wiggler TwitterTwitter   Support the site @ PatreonPatreon 
 SearchSearch   RegisterSign up   Log inLog in 
WIGGLING 'LITE' IN GUEST MODE

NANO - Minipops Arduino Shield
MUFF WIGGLER Forum Index -> Music Tech DIY  
Author NANO - Minipops Arduino Shield
NANO-Jorge
Hello! I have been working in the last week in designing and mounting an Arduino Uno Shield to integrate the Jan Ostman design: (O2 Minipops Machine)

Here you can see its aspect:



And you can hear it right there:



The documentation is in the Github repository: NANO Minipops Repository

The project includes the code by Jan Ostman, the other documents are designed by me, so feel free to ask!

I would appreciate so much a follow in the social networks, as I'm in the starting phase of this project and I will continue developing modules and noisy stuff!

Fb: Facebook Page
Ig: Instagram profile

See you between cables wink
ejr27233
Excellent stuff. I built one in an evening last month and I'm amazed how versatile it is when you start muting the Latin voices.
I fancy building a second with a 16 step sequencer to trigger drums on my modular.
Would it be possible to replace the existing mini pops samples with different samples? Any idea how to go about getting drum samples into the correct format to cut and paste into Jans code?
NANO-Jorge
Yes, it is possible to replace the minipops samples with another pack. As you can see in the image, the drum sounds are large PCM tables.



Convert samples to PCM is easy with Audacity, then you have to adjust its thresholds to fit in the Arduino PWM levels. After that, you have to add the table into the code and change the variables corresponding to the sample table and its length.

ejr27233 wrote:
Excellent stuff. I built one in an evening last month and I'm amazed how versatile it is when you start muting the Latin voices.
I fancy building a second with a 16 step sequencer to trigger drums on my modular.
Would it be possible to replace the existing mini pops samples with different samples? Any idea how to go about getting drum samples into the correct format to cut and paste into Jans code?
ejr27233
I'm afraid thats a bit beyond my abilities in the world of Arduino but I'll have a better look at the sketch when I build the sequencer .
NANO-Jorge
Contact me when you build the sequencer, I want to take a look smile

ejr27233 wrote:
I'm afraid thats a bit beyond my abilities in the world of Arduino but I'll have a better look at the sketch when I build the sequencer .
NANO-Jorge
New Minipops are here! This one and 22 others will be mounted in a workshop at Universitat Politècnica de València UPV. They look very nice!



Also they can synchronize a modular synth with the clock out! It's peanut butter jelly time!
fitzgreyve
for anyone that's interested, attached is a version of the sketch with a working external clock input (pin 2).

attachInterrupt(digitalPinToInterrupt(2), ClockISR, RISING); is used to define an interrupt routine that just sets a flag.

the rhythm seqeuncer part of the code now runs in response to the flag (i.e. the external clock).

(this was the easiest way I could see to do it without a total rewrite)

The internal clock still always outputs on pin 13, so can be routed to pin 2 via the switch contact on a "clock input" jack socket.

You lose the mute function (cymbal?) that was previously on pin 2.

Ideally you need to buffer any external input to pin 2!

If this is an inverting buffer the above code needs to change to :
attachInterrupt(digitalPinToInterrupt(2), ClockISR, FALLING);

I've also amended the sketch so that the rhythm pattern only changes at the start of a new bar.

other thoughts:
- (not in this version) - I've already managed split the instrument outputs onto two separate PWM outputs (pins 11 and 3), so they can be mixed externally.
-add an "accent control" output ?
- Jan's original samples are in essence only 6 bit - I assume to avoid overloads when he sums (generally up to 4) instantaneous instrument samples ready for (8 bit) PWM output. It is easy to change the sketch to use "standard" 8 bit samples (you just divide by 4 between summing and output), but that would need a new set of "8 bit" samples creating (8-bit, mono, unsigned, 20kHz sample rate - not 40kHz as stated in the comment in the sketch)
kaputtpanzer
wow, that is a nice little machine. Thanks for sharing! This is fun!
Houtson
fitzgreyve wrote:
for anyone that's interested, ......
- Jan's original samples are in essence only 6 bit - I assume to avoid overloads when he sums (generally up to 4) instantaneous instrument samples ready for (8 bit) PWM output. It is easy to change the sketch to use "standard" 8 bit samples (you just divide by 4 between summing and output), but that would need a new set of "8 bit" samples creating (8-bit, mono, unsigned, 20kHz sample rate - not 40kHz as stated in the comment in the sketch)


fitzgreyve, thanks for sharing, I love the mini pop and I've a plan to build something but I'd like it sync'd so this is really interesting - I've got a set of higher res minipop samples that I could downsample in audacity - let me know if the would help
fitzgreyve
Houtson wrote:
fitzgreyve wrote:
for anyone that's interested, ......
- Jan's original samples are in essence only 6 bit - I assume to avoid overloads when he sums (generally up to 4) instantaneous instrument samples ready for (8 bit) PWM output. It is easy to change the sketch to use "standard" 8 bit samples (you just divide by 4 between summing and output), but that would need a new set of "8 bit" samples creating (8-bit, mono, unsigned, 20kHz sample rate - not 40kHz as stated in the comment in the sketch)


fitzgreyve, thanks for sharing, I love the mini pop and I've a plan to build something but I'd like it sync'd so this is really interesting - I've got a set of higher res minipop samples that I could downsample in audacity - let me know if the would help


THanks, I now have a set that are downsampled and installed. I also have a basic set of CR-68/78 samples working, but need to add in the rhythms plus some additional controls.
djthopa
enhorabuena por el diseño SlayerBadger!
yoho
fitzgreyve wrote:
THanks, I now have a set that are downsampled and installed. I also have a basic set of CR-68/78 samples working, but need to add in the rhythms plus some additional controls.


I certainly am interested in having a CR78 variant. Do you have beta code we can see?

And perhaps look into Mozzi for a better quality sound in Hifi mode?
Monkizzle
Very cool. Months ago I build one running with Jan's code, added custom patterns and now I'm seriously involved in custom sound samples, I'll follow this thread with interest. It's peanut butter jelly time!
yoho
Here a port to Ginko Grains. Still under construction

https://github.com/emast42/Grains-Minipops-O2
NANO-Jorge
yoho wrote:
Here a port to Ginko Grains. Still under construction

https://github.com/emast42/Grains-Minipops-O2


Thank you very much the credit! It looks interesting, keep us updated applause
NANO-Jorge
fitzgreyve wrote:
for anyone that's interested, attached is a version of the sketch with a working external clock input (pin 2).

attachInterrupt(digitalPinToInterrupt(2), ClockISR, RISING); is used to define an interrupt routine that just sets a flag.

the rhythm seqeuncer part of the code now runs in response to the flag (i.e. the external clock).

(this was the easiest way I could see to do it without a total rewrite)

The internal clock still always outputs on pin 13, so can be routed to pin 2 via the switch contact on a "clock input" jack socket.

You lose the mute function (cymbal?) that was previously on pin 2.

Ideally you need to buffer any external input to pin 2!

If this is an inverting buffer the above code needs to change to :
attachInterrupt(digitalPinToInterrupt(2), ClockISR, FALLING);

I've also amended the sketch so that the rhythm pattern only changes at the start of a new bar.

other thoughts:
- (not in this version) - I've already managed split the instrument outputs onto two separate PWM outputs (pins 11 and 3), so they can be mixed externally.
-add an "accent control" output ?
- Jan's original samples are in essence only 6 bit - I assume to avoid overloads when he sums (generally up to 4) instantaneous instrument samples ready for (8 bit) PWM output. It is easy to change the sketch to use "standard" 8 bit samples (you just divide by 4 between summing and output), but that would need a new set of "8 bit" samples creating (8-bit, mono, unsigned, 20kHz sample rate - not 40kHz as stated in the comment in the sketch)


Excellent work! It's peanut butter jelly time!
MUFF WIGGLER Forum Index -> Music Tech DIY  
Page 1 of 1
Powered by phpBB © phpBB Group