r/DSP

Trying to generate Sine waves but almost there
▲ 164 r/DSP+1 crossposts

Trying to generate Sine waves but almost there

I tried to create sine waves using DDS and 8 bit R-2R DAC. The output waveform is like this instead of a sine wave is there anything I'm missing here?

u/Comfortable-Arm-8337 — 13 days ago
▲ 17 r/DSP+2 crossposts

Is grad school for EE worth it?

Hey everyone

I graduated with a B.S. in Electrical Engineering this past August and recently started a full-time engineering role through a rotational program. Since starting, I've realized that the areas I'm most interested in are the hardware side of RF, communications, and also DSP. I took an RF course in undergrad and was exposed to communications and DSP through my senior capstone project, but I don't have much formal coursework in those areas.

Looking back, if I had taken some of my senior-level EE electives before accepting my job offer, I probably would have pursued a different path. My current role is in a different area of EE, and I'm concerned that the longer I stay away from RF/communications, the harder it may be to transition into those fields later.

I've been considering pursuing a part-time research-based M.S. in EE while continuing to work full-time. My employer offers tuition assistance, and I've found several professors whose research aligns closely with my interests in RF, communications, radar, and related areas.

For those working in RF, communications, DSP, or defense:

  1. Is an M.S. necessary to break into these fields, or is a B.S. typically sufficient?
  2. Would self-study, projects, and work experience be enough to transition, or does a master's significantly improve career opportunities?
  3. For those who completed an M.S. in EE, was it worth it? How valuable was a research-based master's if your goal was industry rather than academia?

I'd appreciate any advice from people who have been in a similar situation.

reddit.com
u/Maximum-Capital3655 — 14 days ago
▲ 4 r/DSP+1 crossposts

Help on designing a tuner against noise

I am trying to create a tuner by doing FT on the signal then doing a weighed sum of the amplitudes to find the dominant frequency and well it gets the clean notes but if i add enough background noise it starts not rly working anymore. I am new to all this so pls bare with me as I have a few questions:

  1. Applying pass filters would rly help since its the same as after doing the FT just not looking at those unwanted freqs

  2. Would it help if i did a matched filtering? since that should tell me how strongly the signal i get is correlated to some note and it also accounts for the fact that the note is not played continuosly. What im having srs trouble is understanding how these compares to the FT in the way u analyse things. Cause FT also kinda shows how well a freq corelates to the signal u have which makes me wonder what difference in information do these two give?

  3. Any other ideas if I have random noise in the 200-20kHz range?

reddit.com
u/RV_Flikk — 12 days ago
▲ 12 r/DSP+8 crossposts

"Channeling Frequency"

This concept album was an opportunity to use almost at random 10 chosen soft synths in different combinations, no less than 2 at once, no more than 5.

"Musicalions" is another term for the unknown entities at work when in specific conditions, the power of 2 or more synthesizers are harnessed together.

Their presence is usually detected by sudden, rapid burts or pauses, sheer intensity, unusual beauty and experimental musical arrangments.

This late night musical "channelinning" procured the raw material for the album. Each track was performed, edited and produced by myself in FL Studio 20.

The soft synths used were:

Sugar Bytes Aparillo

Sugar Bytes Unique

Roland XV-5080

Roland Pro Mars

Roland System 100

Spectrasonics Omnisphere2

Spectrasonics Trilian

Traktion F'EM

Image Line Harmor

most tracks were tweaked extensively on the go during recordings to keep the sound unpredictable.

A big thumbs up to the developpers of these incredible instruments!!!

I hope this is but a start in the production of such tools, without you, there would be no "Musicalions" tonight:)

https://youtu.be/cakuN2yPWFg?feature=shared

u/783412 — 10 days ago
▲ 0 r/DSP

Genuine very weird question, Why does rapidly replaying the same Sound in Roblox produce a fixed F#/tonal artifact after a certain rate?

I've noticed a strange audio artifact in Roblox, especially in older games/weapons that rapidly retrigger short sound effects.

At lower rates, I hear the individual sound events normally. But once the sound is retriggered rapidly enough, a separate continuous tonal/harmonic sound appears underneath the SFX. It sounds roughly F#, and it behaves almost like a background hum or ringing generated by the audio system.

The strange part is that it doesn't seem to behave like ordinary repetition pitch. Increasing the firing/retriggering rate further doesn't simply make the tone continue rising in pitch. After crossing a certain density, the underlying tone remains approximately stationary while the individual sounds continue being retriggered.

I've reproduced it with very different Roblox sounds: rapid gun SFX (including a modded gun using different samples) and an unrelated rapidly repeated punch/impact SFX. The same kind of underlying tone is audible in both.

48,000 / 1024 = 46.875 Hz, but I don't know whether that's actually related to Roblox's audio processing or is just a property/artifact of my recording chain.

Does anyone familiar with Roblox's audio engine know what could cause this? Is there some voice scheduling, mixing, block processing, quantization, clipping/limiting, or other DSP behavior that becomes audible when Sounds are retriggered extremely rapidly?

u/AviBledsoe — 12 days ago
▲ 17 r/DSP

Multi scan radar point cloud object classification

Hello all,

I built a radar object classifier on RadarScenes, extending a prior single-scan classifier to accumulate observations over a tracked object's history instead of classifying each scan in isolation.

A single RadarScenes object instance contains only about 2.9 radar points on average, very sparse. A single scan also can't capture temporal characteristics: RCS and micro-Doppler both vary continuously as an object moves. Pedestrians produce characteristic micro-Doppler from limb motion; different object classes show different RCS fluctuation patterns as aspect angle and scattering geometry change scan to scan. Accumulating observations gives both higher point density and provides temporal dynamics.

Multi-scan baseline

DeepReflecs encoder (Ulrich, Glaser & Timm, RadarConf 2021), PointNet style, per point shared weights, on single scans across car, large_vehicle, two_wheeler, pedestrian, pedestrian_group: 0.7370 macro F1.

Using RadarScenes' persistent `track_id`, I build a causal, N=20, per track sliding-window buffer:

- x_seq/y_seq: Global, odometry-corrected coordinates recentered per scan on the object centroid. Unlike x_cc/y_cc (car-frame coordinates that accumulate over time to form a trajectory).

- Cross sensor buffer: whichever of the 4 sensors currently observe the track push to the same buffer.

- Stride 1, causal: every new scan updates the buffer and produces a prediction. No future context, real time streaming compatible.

- Each scan is encoded once by a frozen per scan encoder and cached

- Fusion concatenates the causal GRU's hidden state (order aware) with an order-invariant pooled embedding (all N scans' points as one set, no sequence structure) through a small trained mlp head.

Results

Model Macro F1 Delta
Single scan 0.7370 (baseline)
20 scan point pooling 0.8613 +0.1243
Causal GRU 0.8895 +0.0282 over pooling
GRU + pooled embedding (fusion) 0.8897 +0.0002 over GRU, noise

Pooling alone, no sequence model, no notion of scan order at all, recovers +0.1243 macro F1. The GRU adds a real but much smaller +0.0282 on top. Fusion adds nothing measurable beyond the GRU.

Ablation

Llarger GRUs, a Transformer, a state space model, point level self attention, all trained on the exact same frozen per scan embeddings, land inside a 0.86 to 0.89 band, a 0.03 spread. End to end fine tuning of the frozen encoder makes things slightly worse (about -0.002 to -0.003), not better.

Conclusion

In this setup, the largest gain comes from giving the model more observations of the same tracked object: 20-scan point pooling improves macro F1 from 0.7370 to 0.8613 without using scan order at all.

Temporal modelling then provides a further, meaningful improvement. The causal GRU reaches 0.8895, adding +0.0282 over the pooled representation. So temporal ordering clearly contributes useful information; it just accounts for a smaller portion of the overall gain than observation accumulation.

With the per-scan encoder frozen, the different sequence architectures tested, suggests that the quality of the per-scan representation is the bottleneck than the particular mechanism used to aggregate the sequence.

Full report, every ablation, confusion matrix, coordinate frame reasoning: https://github.com/brunopinto900/radar-ml-autonomous-driving/blob/main/final_report.md

Thank you.

u/bruno_pinto90 — 13 days ago
▲ 3 r/DSP

AD9361 Verilog Coding

Has anyone ever written a custom FPGA SPI master state machine to completely initialize the AD9361 by doing register level writes? I want to get in contact with somebody who has done before this hardware level control of AD9361.

reddit.com
u/SuccessfulStreet2321 — 13 days ago