ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2026-04-28T17:43:45+02:00 https://www.brainmodular.com/forums/app.php/feed 2026-04-28T17:43:45+02:00 2026-04-28T17:43:45+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7442&p=46289#p46289 <![CDATA[Discussion générale • USINE Hollyhock 7 ➜ du 28 sept au 2 octobre 2026]]>
Olivier SENS ( alias @senso le créateur du logiciel) ) et moi organisons depuis plus de 15 ans une formation au Studio Lakanal à Montpellier.

Elle aura lieu cette année ➜ du 28 sept au 2 octobre 2026.

L'idée est de se former sur le logiciel tout en échangeant avec tous les participants et faire progresser ou émerger son projet avec Usine. Olivier s'adapte au niveau de chacun.

Cette formation est éligible aux OPCO, AFDAS, (Auteur compositeur, technicien, musicien...), plan de formation entreprise, France Travail, Auto-entrepreneur et tarif spéciaux en autofi.

Le nombre de place est limitée à 6 pour pouvoir échanger ensemble efficacement, et possibilité d’hébergement sur place type gite urbain s'il reste des places.

Vous pouvez nous contacter au 0467842989 pour toutes questions sur le financement ou à formation@studiolakanal.com pour toutes autres questions.

Bonne journée & à bientôt !

Pierre ||| Studio Lakanal ||| Montpellier


Formation Avril 2026 REEL USINE PG 1.png

Statistics: Posted by Pierre Lakanal — 28 Apr 2026, 17:43


]]>
2026-04-28T00:26:22+02:00 2026-04-28T00:26:22+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7441&p=46288#p46288 <![CDATA[Patching questions • Re: Midi learn only from rack]]> you can use clusters, global arrays or busses !
do the midi learns once and for all (here they are patched from CC1 to CC8
++
Olivar
see examples :
learns to GA.wkp

learns to busses.wkp

learns to clusters.wkp

Statistics: Posted by oli_lab — 28 Apr 2026, 00:26


]]>
2026-04-27T22:42:58+02:00 2026-04-27T22:42:58+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7441&p=46287#p46287 <![CDATA[Patching questions • Re: Midi learn only from rack]]> Statistics: Posted by sm_jamieson — 27 Apr 2026, 22:42


]]>
2026-04-27T16:22:26+02:00 2026-04-27T16:22:26+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7440&p=46286#p46286 <![CDATA[Patching questions • Re: sampler et MAJ dynamique des fichiers]]> J'avais tenté le file lister, mais il me manquait la clock+refresh et cela m'envoyait des messages d'erreurs aux changements de fichiers.
Je vais essayer tout cela sur mon workspace.
encore merci

Statistics: Posted by rlgsbt — 27 Apr 2026, 16:22


]]>
2026-04-27T12:18:52+02:00 2026-04-27T12:18:52+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7441&p=46285#p46285 <![CDATA[Patching questions • Re: Midi learn only from rack]]>
There is no MIDI Learn function specific to racks.
However, for each MIDI Learn, you can specify the device.

As for using MIDI In/Out modules, this allows you to retrieve data within patches. This enables more precise and potentially complex control than simply mapping a MIDI Learn, but it requires patching.

MIDI Learn allows for quick and flexible setup.
In some cases, it can be difficult to manage—for example, if a device keeps sending data. However, you can simply turn off the corresponding device (in Usine).


Happy patching !
Baptiste

Statistics: Posted by BM2F — 27 Apr 2026, 12:18


]]>
2026-04-27T02:51:18+02:00 2026-04-27T02:51:18+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7441&p=46284#p46284 <![CDATA[Patching questions • Midi learn only from rack]]> I have a midi bus going to each of my racks, (the top patch in each rack has a midi from bus connected to a midi out)
so that all lower patches in the rack get the midi data for that rack.
I want to do midi learn only on the midi data in that rack, but Usine midi learn is global.
Is there any way to have rack specific midi learn ?

If not, this may be something for HH7.

Thanks,
SImon.

Statistics: Posted by sm_jamieson — 27 Apr 2026, 02:51


]]>
2026-04-26T18:02:35+02:00 2026-04-26T18:02:35+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7440&p=46283#p46283 <![CDATA[Patching questions • Re: sampler et MAJ dynamique des fichiers]]>
Image
Capture d'écran 2026-04-26 180052.png

Statistics: Posted by oli_lab — 26 Apr 2026, 18:02


]]>
2026-04-26T17:13:36+02:00 2026-04-26T17:13:36+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7440&p=46282#p46282 <![CDATA[Patching questions • Re: sampler et MAJ dynamique des fichiers]]> Avec le file lister, il suffit de spécifier le dossier (path), et de connecter la sortie comma text vers l'entrée list comma text du sampler. Il faut aussi mettre à jour le file lister avec une clock connectée à refresh.

Statistics: Posted by titl — 26 Apr 2026, 17:13


]]>
2026-04-25T22:32:00+02:00 2026-04-25T22:32:00+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7438&p=46281#p46281 <![CDATA[General discussion • Re: Usine as control surface for Ableton]]>
https://www.youtube.com/watch?v=Hgf7nXyLGJ8

Think wasnt ever hh at the time, prob v5 and older liveosc
But can go pretty deep with osc and scripting, accessing all devices, tracks,sends ect params
Then using virtual midi ports like loopmidi could send all midi stuff

Statistics: Posted by 23fx23 — 25 Apr 2026, 22:32


]]>
2026-04-25T09:45:48+02:00 2026-04-25T09:45:48+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7440&p=46280#p46280 <![CDATA[Patching questions • sampler et MAJ dynamique des fichiers]]> J’ai un problème tout bête sur lequel je bloque. J’aimerais que le sampler joue une liste de sons situés dans un dossier. Et si je change les sons dans le dossier, en gardant les mêmes noms (et donc la même adresse dans l'arborescence), que le sampler se mette à jour.
Actuellement, même avec les sampler configurés en lecture sur disque, Usine garde les samples en mémoire et ne joue pas les nouveaux fichiers.

Une solution ?
merci

Statistics: Posted by rlgsbt — 25 Apr 2026, 09:45


]]>
2026-04-21T19:41:58+02:00 2026-04-21T19:41:58+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7439&p=46279#p46279 <![CDATA[Patching questions • Re: Sample editor in Usine]]>
here is the "NOT working" code :

CODE:

void diywt::writeWavFile(const std::string& filename) {realSize = m_maxWrite;sdkTraceInt(realSize);sdkTraceInt(m_lastMarkerNumber);// Structures pour les en-têtesstruct RiffHeader {char chunkId[4] = { 'R', 'I', 'F', 'F' };uint32_t chunkSize;char format[4] = { 'W', 'A', 'V', 'E' };};struct FmtChunk {char chunkId[4] = { 'f', 'm', 't', ' ' };uint32_t chunkSize = 16;uint16_t audioFormat = 3; // 32-bit floatuint16_t numChannels;uint32_t sampleRate;uint32_t byteRate;uint16_t blockAlign;uint16_t bitsPerSample;};struct DataChunk {char chunkId[4] = { 'd', 'a', 't', 'a' };uint32_t chunkSize;};std::ofstream outFile(filename, std::ios::binary);if (!outFile) {sdkTraceErrorChar("can't open file");return;}// Paramètres audioint numChannels = 1;int bitsPerSample = 32;int numSamples = m_markersStart[m_lastMarkerNumber];//realSize;// Calculer la taille des données audiouint32_t dataSize = numSamples * numChannels * bitsPerSample / 8;// Remplir les en-têtesRiffHeader riffHeader;FmtChunk fmtChunk;fmtChunk.numChannels = numChannels;fmtChunk.sampleRate = sdkGetSampleRate();fmtChunk.byteRate = fmtChunk.sampleRate * numChannels * bitsPerSample / 8;fmtChunk.blockAlign = numChannels * bitsPerSample / 8;fmtChunk.bitsPerSample = bitsPerSample;DataChunk dataChunk;dataChunk.chunkSize = dataSize;// Calculer la taille totale du fichieruint32_t totalFileSize = sizeof(RiffHeader) + sizeof(FmtChunk) + sizeof(DataChunk) + dataSize;// +sizeof(CueChunk) + cueChunkSize + sizeof(AdtlChunk) + adtlChunkSize;riffHeader.chunkSize = totalFileSize - 8; // Soustraire les 8 octets du chunkId et du chunkSize// Écrire les en-têtes dans le fichieroutFile.write(reinterpret_cast<char*>(&riffHeader), sizeof(RiffHeader));outFile.write(reinterpret_cast<char*>(&fmtChunk), sizeof(FmtChunk));outFile.write(reinterpret_cast<char*>(&dataChunk), sizeof(DataChunk));// Écrire les données audiofor (f = 0; f < numSamples; ++f) {outFile.write(reinterpret_cast<const char*>(&m_audioBuffer[f]), sizeof(float));}// Ajouter un padding si nécessaire pour aligner le chunk suivant sur un nombre pair d'octetsif (dataSize % 2 != 0) {outFile.put(0);}outFile.close();/*//mettre à jour la sortie markerOutint tempSize = m_lastMarkerNumber;markersOut.setSize(tempSize);for (int m = 0; m < tempSize; m++) {markersOut.setArrayData(m, float(m_markersStart[m])/float(numSamples));}*/if (!outFile) {sdkTraceErrorChar("Error closing file");return;}std::string s = fdrFileName.getPChar();s = s + " successfully created";sdkTraceChar(s.c_str());m_signalisation = 2;}

Statistics: Posted by oli_lab — 21 Apr 2026, 19:41


]]>
2026-04-21T19:06:07+02:00 2026-04-21T19:06:07+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7439&p=46278#p46278 <![CDATA[Patching questions • Re: Sample editor in Usine]]>
But I think Usine should have read and write sample modules that support wav and aif at least and the metadata for looping
It could be written with the SDK ...

Statistics: Posted by sm_jamieson — 21 Apr 2026, 19:06


]]>
2026-04-21T17:29:55+02:00 2026-04-21T17:29:55+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7439&p=46277#p46277 <![CDATA[Patching questions • Re: Sample editor in Usine]]> The sampler modules can't save metadata so it is not possible out of th box.
But I did an addon called "player with saved markers" that can save and retrieved markers.
It is not possible to do loops at sample level but.

for this king of thing, I rather use REAPER and make regionss to be render or a specialized sample editor.

Otherwise, I pretty much like the idea of using Usine as a modular studio to produce processed samples (just like with an old school hardware studio)

Image
Capture d'écran 2026-04-21 173317.png

Statistics: Posted by oli_lab — 21 Apr 2026, 17:29


]]>
2026-04-21T10:46:05+02:00 2026-04-21T10:46:05+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7439&p=46276#p46276 <![CDATA[Patching questions • Sample editor in Usine]]> It seems Usine would be a good platform to set sample loop points etc.

Can it or a patch do the following:
1. Set and play a loop
2. Add loop start and end cue points to metadata
3. Snap cue to zero crossing point
4. Modify sample to cross fade across loop points.
5. Save the sample in the same or different format with loop cue points in the metadata that can be used by another sampler ?

Thanks.

Statistics: Posted by sm_jamieson — 21 Apr 2026, 10:46


]]>
2026-04-20T16:40:32+02:00 2026-04-20T16:40:32+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7438&p=46275#p46275 <![CDATA[General discussion • Re: Usine as control surface for Ableton]]> Statistics: Posted by oli_lab — 20 Apr 2026, 16:40


]]>
2026-04-20T16:03:46+02:00 2026-04-20T16:03:46+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7438&p=46274#p46274 <![CDATA[General discussion • Re: Usine as control surface for Ableton]]> Can you create and entirely custom touchscreen UI like a Usine SDK module ?

Statistics: Posted by sm_jamieson — 20 Apr 2026, 16:03


]]>
2026-04-20T14:53:30+02:00 2026-04-20T14:53:30+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7438&p=46273#p46273 <![CDATA[General discussion • Re: Usine as control surface for Ableton]]> a virtual midi port should do : https://www.tobias-erichsen.de/software ... lmidi.html

or VB audio matrix router, that does Audio as well :

https://vb-audio.com/Cable/index.htm

https://vb-audio.com/Matrix/coconut.htm

cheers

Statistics: Posted by oli_lab — 20 Apr 2026, 14:53


]]>
2026-04-20T14:19:42+02:00 2026-04-20T14:19:42+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7438&p=46272#p46272 <![CDATA[General discussion • Usine as control surface for Ableton]]> Resampling to another VST supported format would be a nightmare,

But I cannot manage without my Usine SDK User midi control module (sliders, knobs etc.) This mainly sends midi to Usine hosted VSTs (but also a few wires to effects).

If I was to run the VSTs in Ableton, how could I send midi (and OSC ?) messages to control
the VSTs in Ableton ? (Note I have Ableton Live standard so Max for Live is not available (and too expensive)).

Ideally 16 midi channels to each channel strip in Ableton.

Can I run Usine with No Audio (to reduce CPU hit) and still process midi ?

I've also seen this https://github.com/ideoforms/AbletonOSC but I suspect you would need Max for Live to do anything with it.

Has anyone done something like this who can offer advice / ideas ?


Thanks,
Simon.

Statistics: Posted by sm_jamieson — 20 Apr 2026, 14:19


]]>
2026-04-16T20:30:34+02:00 2026-04-16T20:30:34+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7435&p=46271#p46271 <![CDATA[Discussion générale • Re: Périphérique agrégé windows]]> Je viens de faire un essai avec trois cartes sons et avec la version Coconut on peut en connecter jusqu'à 7 sans compter toutes les possibilités en réseau.

Statistics: Posted by titl — 16 Apr 2026, 20:30


]]>
2026-04-15T19:15:02+02:00 2026-04-15T19:15:02+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7435&p=46270#p46270 <![CDATA[Discussion générale • Re: Périphérique agrégé windows]]> Ça boom?
Peut-être que VB Audio matrix peut faire ça.
https://vb-audio.com/Matrix/
Bise

Statistics: Posted by SylvainT — 15 Apr 2026, 19:15


]]>
2026-04-15T01:39:01+02:00 2026-04-15T01:39:01+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7436&p=46269#p46269 <![CDATA[Discussion générale • Re: Aide débutant]]> As tu regardé dans le manuel ?
https://www.brainmodular.com/manuals/hh ... te-control

Il y a quelques trucs à régler dans le router internet pour que cela fonctionne

Olivar

Statistics: Posted by oli_lab — 15 Apr 2026, 01:39


]]>
2026-04-11T15:45:53+02:00 2026-04-11T15:45:53+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7437&p=46268#p46268 <![CDATA[Suggestions & improvements • VST gui speed in Usine]]>
But I would like a button that can be pressed to give high priority to that VST so snappy interaction is possible e.g. when editing patches etc.

Statistics: Posted by sm_jamieson — 11 Apr 2026, 15:45


]]>
2026-04-11T08:12:24+02:00 2026-04-11T08:12:24+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7436&p=46267#p46267 <![CDATA[Discussion générale • Aide débutant]]> Je teste pleins de choses mais je n'arrive pas à faire fonctionner le remote control sur tablette ? Quand je rendre l'adresse http://remote.brainmodular.com/ j'arrive sur une page vide avec juste "OK"

Est-ce que c'est normal ??


Merci d'avance pour votre aide

Statistics: Posted by 3tiN3 — 11 Apr 2026, 08:12


]]>
2026-04-10T11:00:52+02:00 2026-04-10T11:00:52+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7363&p=46266#p46266 <![CDATA[Patching questions • Re: how to get value for global array string]]>
set and get GA string.wkp
what should be remember is :
- declare the GA with a unique name
- populate the GA with "set" modules
- get values with "get" modules
- be aware of the "pass if changed" switch inside the "get" modules
- avoid connecting anything to the GA declaration module, just leave it alone.

Usually, I put all the GA declaration modules in one same patch for code cleanliness

If you need multi-dimension arrays, you can explore putting an array inside a polyphonic subpatch
or use Json

Olivar

Statistics: Posted by oli_lab — 10 Apr 2026, 11:00


]]>
2026-04-10T00:02:40+02:00 2026-04-10T00:02:40+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7427&p=46265#p46265 <![CDATA[General discussion • Re: Moving to HH6]]> Statistics: Posted by oli_lab — 10 Apr 2026, 00:02


]]>
BrainModular BrainModular Users Forum 2026-04-28T17:43:45+02:00 https://www.brainmodular.com/forums/app.php/feed 2026-04-28T17:43:45+02:00 2026-04-28T17:43:45+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7442&p=46289#p46289 <![CDATA[Discussion générale • USINE Hollyhock 7 ➜ du 28 sept au 2 octobre 2026]]>
Olivier SENS ( alias @senso le créateur du logiciel) ) et moi organisons depuis plus de 15 ans une formation au Studio Lakanal à Montpellier.

Elle aura lieu cette année ➜ du 28 sept au 2 octobre 2026.

L'idée est de se former sur le logiciel tout en échangeant avec tous les participants et faire progresser ou émerger son projet avec Usine. Olivier s'adapte au niveau de chacun.

Cette formation est éligible aux OPCO, AFDAS, (Auteur compositeur, technicien, musicien...), plan de formation entreprise, France Travail, Auto-entrepreneur et tarif spéciaux en autofi.

Le nombre de place est limitée à 6 pour pouvoir échanger ensemble efficacement, et possibilité d’hébergement sur place type gite urbain s'il reste des places.

Vous pouvez nous contacter au 0467842989 pour toutes questions sur le financement ou à formation@studiolakanal.com pour toutes autres questions.

Bonne journée & à bientôt !

Pierre ||| Studio Lakanal ||| Montpellier


Formation Avril 2026 REEL USINE PG 1.png

Statistics: Posted by Pierre Lakanal — 28 Apr 2026, 17:43


]]>
2026-04-28T00:26:22+02:00 2026-04-28T00:26:22+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7441&p=46288#p46288 <![CDATA[Patching questions • Re: Midi learn only from rack]]> you can use clusters, global arrays or busses !
do the midi learns once and for all (here they are patched from CC1 to CC8
++
Olivar
see examples :
learns to GA.wkp

learns to busses.wkp

learns to clusters.wkp

Statistics: Posted by oli_lab — 28 Apr 2026, 00:26


]]>
2026-04-27T22:42:58+02:00 2026-04-27T22:42:58+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7441&p=46287#p46287 <![CDATA[Patching questions • Re: Midi learn only from rack]]> Statistics: Posted by sm_jamieson — 27 Apr 2026, 22:42


]]>
2026-04-27T16:22:26+02:00 2026-04-27T16:22:26+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7440&p=46286#p46286 <![CDATA[Patching questions • Re: sampler et MAJ dynamique des fichiers]]> J'avais tenté le file lister, mais il me manquait la clock+refresh et cela m'envoyait des messages d'erreurs aux changements de fichiers.
Je vais essayer tout cela sur mon workspace.
encore merci

Statistics: Posted by rlgsbt — 27 Apr 2026, 16:22


]]>
2026-04-27T12:18:52+02:00 2026-04-27T12:18:52+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7441&p=46285#p46285 <![CDATA[Patching questions • Re: Midi learn only from rack]]>
There is no MIDI Learn function specific to racks.
However, for each MIDI Learn, you can specify the device.

As for using MIDI In/Out modules, this allows you to retrieve data within patches. This enables more precise and potentially complex control than simply mapping a MIDI Learn, but it requires patching.

MIDI Learn allows for quick and flexible setup.
In some cases, it can be difficult to manage—for example, if a device keeps sending data. However, you can simply turn off the corresponding device (in Usine).


Happy patching !
Baptiste

Statistics: Posted by BM2F — 27 Apr 2026, 12:18


]]>
2026-04-27T02:51:18+02:00 2026-04-27T02:51:18+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7441&p=46284#p46284 <![CDATA[Patching questions • Midi learn only from rack]]> I have a midi bus going to each of my racks, (the top patch in each rack has a midi from bus connected to a midi out)
so that all lower patches in the rack get the midi data for that rack.
I want to do midi learn only on the midi data in that rack, but Usine midi learn is global.
Is there any way to have rack specific midi learn ?

If not, this may be something for HH7.

Thanks,
SImon.

Statistics: Posted by sm_jamieson — 27 Apr 2026, 02:51


]]>
2026-04-26T18:02:35+02:00 2026-04-26T18:02:35+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7440&p=46283#p46283 <![CDATA[Patching questions • Re: sampler et MAJ dynamique des fichiers]]>
Image
Capture d'écran 2026-04-26 180052.png

Statistics: Posted by oli_lab — 26 Apr 2026, 18:02


]]>
2026-04-26T17:13:36+02:00 2026-04-26T17:13:36+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7440&p=46282#p46282 <![CDATA[Patching questions • Re: sampler et MAJ dynamique des fichiers]]> Avec le file lister, il suffit de spécifier le dossier (path), et de connecter la sortie comma text vers l'entrée list comma text du sampler. Il faut aussi mettre à jour le file lister avec une clock connectée à refresh.

Statistics: Posted by titl — 26 Apr 2026, 17:13


]]>
2026-04-25T22:32:00+02:00 2026-04-25T22:32:00+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7438&p=46281#p46281 <![CDATA[General discussion • Re: Usine as control surface for Ableton]]>
https://www.youtube.com/watch?v=Hgf7nXyLGJ8

Think wasnt ever hh at the time, prob v5 and older liveosc
But can go pretty deep with osc and scripting, accessing all devices, tracks,sends ect params
Then using virtual midi ports like loopmidi could send all midi stuff

Statistics: Posted by 23fx23 — 25 Apr 2026, 22:32


]]>
2026-04-25T09:45:48+02:00 2026-04-25T09:45:48+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7440&p=46280#p46280 <![CDATA[Patching questions • sampler et MAJ dynamique des fichiers]]> J’ai un problème tout bête sur lequel je bloque. J’aimerais que le sampler joue une liste de sons situés dans un dossier. Et si je change les sons dans le dossier, en gardant les mêmes noms (et donc la même adresse dans l'arborescence), que le sampler se mette à jour.
Actuellement, même avec les sampler configurés en lecture sur disque, Usine garde les samples en mémoire et ne joue pas les nouveaux fichiers.

Une solution ?
merci

Statistics: Posted by rlgsbt — 25 Apr 2026, 09:45


]]>
2026-04-21T19:41:58+02:00 2026-04-21T19:41:58+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7439&p=46279#p46279 <![CDATA[Patching questions • Re: Sample editor in Usine]]>
here is the "NOT working" code :

CODE:

void diywt::writeWavFile(const std::string& filename) {realSize = m_maxWrite;sdkTraceInt(realSize);sdkTraceInt(m_lastMarkerNumber);// Structures pour les en-têtesstruct RiffHeader {char chunkId[4] = { 'R', 'I', 'F', 'F' };uint32_t chunkSize;char format[4] = { 'W', 'A', 'V', 'E' };};struct FmtChunk {char chunkId[4] = { 'f', 'm', 't', ' ' };uint32_t chunkSize = 16;uint16_t audioFormat = 3; // 32-bit floatuint16_t numChannels;uint32_t sampleRate;uint32_t byteRate;uint16_t blockAlign;uint16_t bitsPerSample;};struct DataChunk {char chunkId[4] = { 'd', 'a', 't', 'a' };uint32_t chunkSize;};std::ofstream outFile(filename, std::ios::binary);if (!outFile) {sdkTraceErrorChar("can't open file");return;}// Paramètres audioint numChannels = 1;int bitsPerSample = 32;int numSamples = m_markersStart[m_lastMarkerNumber];//realSize;// Calculer la taille des données audiouint32_t dataSize = numSamples * numChannels * bitsPerSample / 8;// Remplir les en-têtesRiffHeader riffHeader;FmtChunk fmtChunk;fmtChunk.numChannels = numChannels;fmtChunk.sampleRate = sdkGetSampleRate();fmtChunk.byteRate = fmtChunk.sampleRate * numChannels * bitsPerSample / 8;fmtChunk.blockAlign = numChannels * bitsPerSample / 8;fmtChunk.bitsPerSample = bitsPerSample;DataChunk dataChunk;dataChunk.chunkSize = dataSize;// Calculer la taille totale du fichieruint32_t totalFileSize = sizeof(RiffHeader) + sizeof(FmtChunk) + sizeof(DataChunk) + dataSize;// +sizeof(CueChunk) + cueChunkSize + sizeof(AdtlChunk) + adtlChunkSize;riffHeader.chunkSize = totalFileSize - 8; // Soustraire les 8 octets du chunkId et du chunkSize// Écrire les en-têtes dans le fichieroutFile.write(reinterpret_cast<char*>(&riffHeader), sizeof(RiffHeader));outFile.write(reinterpret_cast<char*>(&fmtChunk), sizeof(FmtChunk));outFile.write(reinterpret_cast<char*>(&dataChunk), sizeof(DataChunk));// Écrire les données audiofor (f = 0; f < numSamples; ++f) {outFile.write(reinterpret_cast<const char*>(&m_audioBuffer[f]), sizeof(float));}// Ajouter un padding si nécessaire pour aligner le chunk suivant sur un nombre pair d'octetsif (dataSize % 2 != 0) {outFile.put(0);}outFile.close();/*//mettre à jour la sortie markerOutint tempSize = m_lastMarkerNumber;markersOut.setSize(tempSize);for (int m = 0; m < tempSize; m++) {markersOut.setArrayData(m, float(m_markersStart[m])/float(numSamples));}*/if (!outFile) {sdkTraceErrorChar("Error closing file");return;}std::string s = fdrFileName.getPChar();s = s + " successfully created";sdkTraceChar(s.c_str());m_signalisation = 2;}

Statistics: Posted by oli_lab — 21 Apr 2026, 19:41


]]>
2026-04-21T19:06:07+02:00 2026-04-21T19:06:07+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7439&p=46278#p46278 <![CDATA[Patching questions • Re: Sample editor in Usine]]>
But I think Usine should have read and write sample modules that support wav and aif at least and the metadata for looping
It could be written with the SDK ...

Statistics: Posted by sm_jamieson — 21 Apr 2026, 19:06


]]>
2026-04-21T17:29:55+02:00 2026-04-21T17:29:55+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7439&p=46277#p46277 <![CDATA[Patching questions • Re: Sample editor in Usine]]> The sampler modules can't save metadata so it is not possible out of th box.
But I did an addon called "player with saved markers" that can save and retrieved markers.
It is not possible to do loops at sample level but.

for this king of thing, I rather use REAPER and make regionss to be render or a specialized sample editor.

Otherwise, I pretty much like the idea of using Usine as a modular studio to produce processed samples (just like with an old school hardware studio)

Image
Capture d'écran 2026-04-21 173317.png

Statistics: Posted by oli_lab — 21 Apr 2026, 17:29


]]>
2026-04-21T10:46:05+02:00 2026-04-21T10:46:05+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7439&p=46276#p46276 <![CDATA[Patching questions • Sample editor in Usine]]> It seems Usine would be a good platform to set sample loop points etc.

Can it or a patch do the following:
1. Set and play a loop
2. Add loop start and end cue points to metadata
3. Snap cue to zero crossing point
4. Modify sample to cross fade across loop points.
5. Save the sample in the same or different format with loop cue points in the metadata that can be used by another sampler ?

Thanks.

Statistics: Posted by sm_jamieson — 21 Apr 2026, 10:46


]]>
2026-04-20T16:40:32+02:00 2026-04-20T16:40:32+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7438&p=46275#p46275 <![CDATA[General discussion • Re: Usine as control surface for Ableton]]> Statistics: Posted by oli_lab — 20 Apr 2026, 16:40


]]>
2026-04-20T16:03:46+02:00 2026-04-20T16:03:46+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7438&p=46274#p46274 <![CDATA[General discussion • Re: Usine as control surface for Ableton]]> Can you create and entirely custom touchscreen UI like a Usine SDK module ?

Statistics: Posted by sm_jamieson — 20 Apr 2026, 16:03


]]>
2026-04-20T14:53:30+02:00 2026-04-20T14:53:30+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7438&p=46273#p46273 <![CDATA[General discussion • Re: Usine as control surface for Ableton]]> a virtual midi port should do : https://www.tobias-erichsen.de/software ... lmidi.html

or VB audio matrix router, that does Audio as well :

https://vb-audio.com/Cable/index.htm

https://vb-audio.com/Matrix/coconut.htm

cheers

Statistics: Posted by oli_lab — 20 Apr 2026, 14:53


]]>
2026-04-20T14:19:42+02:00 2026-04-20T14:19:42+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7438&p=46272#p46272 <![CDATA[General discussion • Usine as control surface for Ableton]]> Resampling to another VST supported format would be a nightmare,

But I cannot manage without my Usine SDK User midi control module (sliders, knobs etc.) This mainly sends midi to Usine hosted VSTs (but also a few wires to effects).

If I was to run the VSTs in Ableton, how could I send midi (and OSC ?) messages to control
the VSTs in Ableton ? (Note I have Ableton Live standard so Max for Live is not available (and too expensive)).

Ideally 16 midi channels to each channel strip in Ableton.

Can I run Usine with No Audio (to reduce CPU hit) and still process midi ?

I've also seen this https://github.com/ideoforms/AbletonOSC but I suspect you would need Max for Live to do anything with it.

Has anyone done something like this who can offer advice / ideas ?


Thanks,
Simon.

Statistics: Posted by sm_jamieson — 20 Apr 2026, 14:19


]]>
2026-04-16T20:30:34+02:00 2026-04-16T20:30:34+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7435&p=46271#p46271 <![CDATA[Discussion générale • Re: Périphérique agrégé windows]]> Je viens de faire un essai avec trois cartes sons et avec la version Coconut on peut en connecter jusqu'à 7 sans compter toutes les possibilités en réseau.

Statistics: Posted by titl — 16 Apr 2026, 20:30


]]>
2026-04-15T19:15:02+02:00 2026-04-15T19:15:02+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7435&p=46270#p46270 <![CDATA[Discussion générale • Re: Périphérique agrégé windows]]> Ça boom?
Peut-être que VB Audio matrix peut faire ça.
https://vb-audio.com/Matrix/
Bise

Statistics: Posted by SylvainT — 15 Apr 2026, 19:15


]]>
2026-04-15T01:39:01+02:00 2026-04-15T01:39:01+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7436&p=46269#p46269 <![CDATA[Discussion générale • Re: Aide débutant]]> As tu regardé dans le manuel ?
https://www.brainmodular.com/manuals/hh ... te-control

Il y a quelques trucs à régler dans le router internet pour que cela fonctionne

Olivar

Statistics: Posted by oli_lab — 15 Apr 2026, 01:39


]]>
2026-04-11T15:45:53+02:00 2026-04-11T15:45:53+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7437&p=46268#p46268 <![CDATA[Suggestions & improvements • VST gui speed in Usine]]>
But I would like a button that can be pressed to give high priority to that VST so snappy interaction is possible e.g. when editing patches etc.

Statistics: Posted by sm_jamieson — 11 Apr 2026, 15:45


]]>
2026-04-11T08:12:24+02:00 2026-04-11T08:12:24+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7436&p=46267#p46267 <![CDATA[Discussion générale • Aide débutant]]> Je teste pleins de choses mais je n'arrive pas à faire fonctionner le remote control sur tablette ? Quand je rendre l'adresse http://remote.brainmodular.com/ j'arrive sur une page vide avec juste "OK"

Est-ce que c'est normal ??


Merci d'avance pour votre aide

Statistics: Posted by 3tiN3 — 11 Apr 2026, 08:12


]]>
2026-04-10T11:00:52+02:00 2026-04-10T11:00:52+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7363&p=46266#p46266 <![CDATA[Patching questions • Re: how to get value for global array string]]>
set and get GA string.wkp
what should be remember is :
- declare the GA with a unique name
- populate the GA with "set" modules
- get values with "get" modules
- be aware of the "pass if changed" switch inside the "get" modules
- avoid connecting anything to the GA declaration module, just leave it alone.

Usually, I put all the GA declaration modules in one same patch for code cleanliness

If you need multi-dimension arrays, you can explore putting an array inside a polyphonic subpatch
or use Json

Olivar

Statistics: Posted by oli_lab — 10 Apr 2026, 11:00


]]>
2026-04-10T00:02:40+02:00 2026-04-10T00:02:40+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7427&p=46265#p46265 <![CDATA[General discussion • Re: Moving to HH6]]> Statistics: Posted by oli_lab — 10 Apr 2026, 00:02


]]>